browser-tools-mcp icon indicating copy to clipboard operation
browser-tools-mcp copied to clipboard

Security finding: command injection via exec() (CVSS 9.8) — present since March 18 scan

Open VitorLourenco opened this issue 7 months ago • 1 comments

Hi,

We have scanned AgentDeskAI/browser-tools-mcp twice — March 18 and April 13. The same finding is present in both scans.

Command injection — CVSS 9.8 exec() with user-controlled input in a tool handler. This server controls a browser on behalf of an AI agent. An attacker who can inject content into a page the agent visits (prompt injection) can influence the tool argument and execute arbitrary shell commands on the host machine.

Full ecosystem comparison: https://codeslick.dev/blog/mcp-ecosystem-security-rescan-2026

To reproduce: npx codeslick-cli scan --all

— Vitor Lourenço, CodeSlick (https://codeslick.dev)

VitorLourenco avatar Apr 13 '26 14:04 VitorLourenco

Fixed in 2.0.0 — thank you for reporting it. Duplicate of #224, tracking there. Your 9.8 rating matched what we ended up filing. Advisory: https://github.com/AgentDeskAI/browser-tools-mcp/security/advisories/GHSA-xvrv-w8pg-f25f

tedjames avatar Aug 10 '26 17:08 tedjames