AploSec / Disclosures / CVE-2026-142233
@browserbasehq/eve 0.2.0 before 0.2.3 Arbitrary File Write via run Tool Artifacts
CVE-2026-142233 · published 2026-12-02
In plain words: this type of bug lets someone read or write files outside the folder they should be limited to (path traversal). A fixed release is listed.
Summary
CVE-2026-142233 affects Stagehand Eve integration (@browserbasehq/eve) (npm) >= 0.2.0, < 0.2.3: Arbitrary File Write via run Tool Artifacts (CWE-73). Fixed in 0.2.3. CVSS 4.0 base score 6.1 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).
@browserbasehq/eve 0.2.0 before 0.2.3 contains an arbitrary file write vulnerability that allows attackers to overwrite files in the host working directory by replacing the run tool's artifacts list. Attackers controlling browsed web content can use prompt injection to make the model write attacker-chosen bytes to package.json, node_modules, or .git/hooks, achieving code execution when developers run npm or git.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
Upgrade Stagehand Eve integration (@browserbasehq/eve) to 0.2.3 or later. Releases in the affected range (>= 0.2.0, < 0.2.3) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-12-02 CVE published
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/browserbasehq-eve-0.2.0-before-0.2.3-arbitrary-file-write-via-run-tool-artifacts
- Fix pull requesthttps://github.com/browserbase/stagehand/pull/3350
- Vulnerable codehttps://github.com/browserbase/stagehand/blob/621c120639a230dbf401965cb250f7c47da96b9c/packages/integrations/core/src/facade/tools.ts#L389-L428
- Vulnerable codehttps://github.com/browserbase/stagehand/blob/621c120639a230dbf401965cb250f7c47da96b9c/packages/integrations/core/src/facade/tools.ts#L165-L175
- Fix commithttps://github.com/browserbase/stagehand/commit/b7a4b899079f198a0ee78a6dcb62ad02f545cf49
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142233
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-142233
- Severity
- Medium 6.1CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- Stagehand Eve integration (@browserbasehq/eve)
- Ecosystem
- npm
- Affected
- >= 0.2.0, < 0.2.3
- Fixed
- 0.2.3
- Weakness
- CWE-73
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder