{"answers":{"affected":"2 open source packages ship an affected version, including browse-mcp.","exploited":"There is no known exploitation of CVE-2026-55557 in the wild and no public exploit code.","fix":"Upgrade browse-mcp to 0.8.2 or later.","what":"CVE-2026-55557 is a high-severity path traversal vulnerability in That1Drifter browse-mcp, published on 25 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-55557 and fix it if it is affected.\n\nWhat it is: CVE-2026-55557 is a high-severity path traversal vulnerability in That1Drifter browse-mcp, published on 25 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-55557 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- browse-mcp (npm): affected all versions; fixed in 0.8.2\n- browse-mcp (npm): affected all versions; fixed in 0.8.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-55557/ (Markdown: https://insights.sbomify.com/CVE-2026-55557/index.md)","id":"CVE-2026-55557","markdown":"https://insights.sbomify.com/CVE-2026-55557/index.md","name":"CVE-2026-55557","record":{"aliases":["GHSA-m9mq-7m7q-xc6p"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"MCP browser server","requires_auth":"none","summary":"A malicious MCP client or prompt-injected agent can write arbitrary files to sensitive system paths, potentially leading to host code execution.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"browse-mcp: Arbitrary file write via unconfined download and state paths","id":"CVE-2026-55557","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":5,"next":{"headline":"aiosmtplib: STARTTLS response injection","id":"CVE-2026-55558"},"packages":[{"ecosystem":"npm","fixed":["0.8.2"],"introduced":["0"],"last_affected":[],"package":"browse-mcp","purl":null,"source":"GHSA-m9mq-7m7q-xc6p"},{"ecosystem":"npm","fixed":["0.8.2"],"introduced":["0"],"last_affected":[],"package":"browse-mcp","purl":"pkg:npm/browse-mcp","source":"GHSA-m9mq-7m7q-xc6p"}],"prev":{"headline":"Rsyslog: Heap buffer overflow in imhttp plugin Basic Authentication handling","id":"CVE-2026-55556"},"products":["browse-mcp"],"published":"2026-08-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-25","vendors":["That1Drifter"]},"summary":"A malicious MCP client or prompt-injected agent can write arbitrary files to sensitive system paths, potentially leading to host code execution.","url":"https://insights.sbomify.com/CVE-2026-55557/"}