Vulnerability  ·  2026-12-03

@browserbasehq/eve arbitrary file write via prompt injection → code exec when devs run npm/git (CVSS 6.4)

VulnerabilityMedium impactGlobalCVE-2026-142233
Published 2026-12-02, CVSS 6.4 (CWE-73 arbitrary file write). The browser-use agent's run tool allows overwriting files in the host working directory, and prompt injection from controlled web content can redirect writes to trusted developer files. Fixed in 0.2.3.
This is a browser-use agent chain: poisoned web content → prompt injection → arbitrary file write into a developer's repo → code execution at the next npm/git operation. It shows how an agent's own file-write capability becomes a supply-chain infection vector.
The run tool's artifacts list is not validated against the working directory, so prompt-injected browsed content can make the model write attacker-chosen bytes to package.json, node_modules, or .git/hooks — achieving code execution when the developer later runs npm or git.
@browserbasehq/eve (Stagehand Eve integration) 0.2.0 before 0.2.3
Upgrade @browserbasehq/eve to 0.2.3 (Stagehand PR 3350 / commit b7a4b89); constrain the run tool's artifact writes to a sandboxed directory.
VulnCheck advisory — @browserbasehq/eve arbitrary file write via run tool artifactsNVD record CVE-2026-142233
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →