Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. browse-mcp
  4. ›
  5. CVE-2026-55557

CVE-2026-55557: browse-mcp has an arbitrary file write via unconfined download and state paths

August 25, 2026

browser_download wrote a fetched file to join(save_dir, filename) with no validation of save_dir, and browser_save_state / browser_load_state honored an explicit path unchanged. The MCP caller controls these arguments (a malicious MCP client, or an autonomous agent steered by indirect prompt injection on a visited page), so an attacker could supply an arbitrary save_dir (or state path) together with a URL whose response body became the file contents, writing attacker-controlled bytes to any path the process can reach (for example ~/.bashrc, an autostart entry, or a cron file). That is an arbitrary file write that can lead to host code execution. The force_fetch fallback additionally used a raw fetch() that bypassed the BROWSE_MCP_ALLOWED_ORIGINS origin fence.

Estimated severity: CVSS 3.1 around 7.8 (High) for the local / agent-mediated case.

References

  • github.com/That1Drifter/browse-mcp/blob/v0.8.2/CHANGELOG.md
  • github.com/That1Drifter/browse-mcp/commit/5352a4a56f626254b445bfa07e4bb48c5aad15c1
  • github.com/That1Drifter/browse-mcp/pull/58
  • github.com/That1Drifter/browse-mcp/releases/tag/v0.8.2
  • github.com/That1Drifter/browse-mcp/security/advisories/GHSA-m9mq-7m7q-xc6p
  • github.com/advisories/GHSA-m9mq-7m7q-xc6p
  • nvd.nist.gov/vuln/detail/CVE-2026-55557

Code Behaviors & Features

Detect and mitigate CVE-2026-55557 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.8.2

Fixed versions

  • 0.8.2

Solution

Upgrade to version 0.8.2 or above.

Impact 8.4 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/browse-mcp/CVE-2026-55557.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:30 +0000.