mcp-cve-project

CVE-2026-55557 | browse-mcp is a Playwright-based headless-browser MCP server for MCP-capable agents. | High / 8.6

CVE Information

Field Value
CVE / NVD CVE-2026-55557
Date (index) 2026-08-25
Affected product (index) browse-mcp is a Playwright-based headless-browser MCP server for MCP-capable agents.
GHSA ID GHSA-m9mq-7m7q-xc6p
OWASP MCP Top 10 (2025) MCP06 - Prompt Injection via Contextual Payloads
Published / disclosed 2026-08-25
Ecosystem Application / upstream project
Component browse-mcp is a Playwright-based headless-browser MCP server for MCP-capable agents.
EPSS score 0.002380000 (FIRST EPSS, 2026-09-26)
CVSS score High / 8.6
CWE CWE-22
Affected versions v0.8.1, v0.8.0, v0.7.0, v0.6.0, v0.5.0, v0.4.1, v0.4.0, v0.3.0, v0.2.1
Fixed versions 0.8.2
Fix status Patched
Exploit status Public advisory / public CVE record
Notes Added during 2026-09-07 gap review against NVD, GitHub Advisory Database, OSV, OpenCVE, and related MCP advisory searches.

CVE Breakdown

What is the vulnerability?

browse-mcp is a Playwright-based headless-browser MCP server for MCP-capable agents. Prior to 0.8.2, browser_download writes a fetched response body to join(save_dir, filename) without validating the caller-controlled save_dir, while browser_save_state and browser_load_state honor a caller-controlled path unchanged. A malicious MCP client, or an autonomous agent steered by indirect prompt injection on a visited page, can choose an arbitrary save_dir or state path and a URL whose response body becomes attacker-controlled file contents, allowing writes to any path the process can reach, including ~/.bashrc, autostart entries, or cron files, and potentially leading to host code execution. The force_fetch fallback also uses a raw fetch() that bypasses the BROWSE_MCP_ALLOWED_ORIGINS origin fence. This issue is fixed in version 0.8.2.

Attack prerequisites / exposure

Exposure depends on deployment: reachable MCP transports, enabled MCP tools, local listeners without robust Host/Origin/authentication checks, or trusted workspace/project MCP configuration treated as safe input.

CVE is because of what bug?

The issue maps to CWE-22; review the upstream advisory for the exact vulnerable code path and patched implementation.

MCP-specific impact / why it matters

This issue affects an MCP server, SDK, gateway, client, integration, or MCP-enabled workflow where tool execution, transport exposure, secrets, files, or authorization boundaries are part of the risk surface.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory.

Fix / Remediation

Upgrade to the vendor-fixed version where available. Restrict MCP listeners to trusted networks, require authentication for HTTP/SSE/Streamable HTTP transports, validate Host and Origin headers, constrain filesystem and command-execution tools, and treat project/workspace MCP configuration as untrusted input.

Exploit / PoC

Prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.

Detection / verification