Impact
browse-mcp is a headless-browser (MCP – the abbreviation is inferred to mean Micro Content Provisioning) server that writes output files to caller-provided paths without validating them. An attacker who can control the save_dir or state path and supply a URL that returns attacker-controlled data can cause the server to write arbitrary files to any location reachable by the server process, including user configuration files, autostart entries, or cron jobs. This flaw, classified as CWE‑22, enables potential host code execution if critical system files are overwritten. The vulnerability allows an attacker to inject malicious content via a remote MCP client or via indirect prompt injection on a visited page, resulting in uncontrolled file writes and possible escalation of privileges.
Affected Systems
The affected product is browse-mcp from That1Drifter. Versions prior to v0.8.2 are vulnerable, with the issue fixed in v0.8.2 and later releases.
Risk and Exploitability
The vulnerability carries a high CVSS score of 8.6, with no EPSS data available and it currently does not appear in the CISA KEV catalog. Attackers can exploit the flaw by connecting as an MCP client over the network or by steering an autonomous agent through indirect prompt injection. Because the server writes to arbitrary paths, the impact is determined by the account under which the server runs; a user-level process can modify hidden user files, while a system-level process can alter critical system files, potentially leading to remote code execution.
OpenCVE Enrichment
Github GHSA