mcp-cve-project

CVE-2026-53766 | chrome-devtools-mcp workspace path validation issue | Severity: see NVD

CVE Information

Field Value
CVE / NVD CVE-2026-53766
Date (index) 2026-06-24
Affected product (index) chrome-devtools-mcp workspace path validation issue
GHSA ID GHSA-8QF9-62X2-82PP
OWASP MCP Top 10 (2025) MCP02 — Privilege Escalation via Scope Creep
Published / disclosed 2026-06-24
Ecosystem Application / upstream project
Component chrome-devtools-mcp workspace path validation issue
EPSS score 0.000870000 (FIRST EPSS, 2026-06-30)
CVSS score MEDIUM — 6.1 CVSS v3.1
CWE CWE-22, CWE-59
Affected versions chrome-devtools-mcp >= 0.24.0, < 1.1.0
Fixed versions 1.1.0
Fix status Patched
Exploit status Public CVE record; do not mirror weaponized payloads
Notes Added as a separate CVE note during the 2026-07-01 recheck. Re-check NVD before using this entry for compliance reporting.

CVE Breakdown


What is the vulnerability?

Chrome DevTools for agents (chrome-devtools-mcp) lets your coding agent control and inspect a live Chrome browser. From 0.24.0 until 1.1.0, McpContext.validatePath() enforces workspace roots by checking whether path.resolve(filePath) textually falls under one of the configured root paths. path.resolve() does not canonicalize symbolic links. As a result, a symlink inside a configured workspace root can point to a file outside that root, pass validation, and then be followed by downstream file read/write operations. This bypass applies even when the MCP client correctly declares the roots capability with a non-empty list. It is separate from the documented legacy behavior where missing roots capability allows all paths. The practical impact is a workspace-boundary bypass. In the write direction, filePath-writing tools can overwrite out-of-root files through an in-root symlink. In the read direction, upload_file can read through the symlink and send the file to the currently selected web page. This vulnerability is fixed in 1.1.0.

Attack prerequisites / exposure

Exposure depends on how the affected MCP server, client, plugin, extension, or adjacent AI workflow is deployed. Prioritize network-reachable MCP transports, desktop apps with MCP extensions enabled, CI or agent environments, and systems with access to browsers, repositories, credentials, cloud resources, databases, or local files.

CVE is because of what bug?

Primary mapped weakness: MCP02 — Privilege Escalation via Scope Creep. Confirm the exact CWE and affected code path in the NVD record and upstream advisory before adding exploit-specific detail.

MCP-specific impact / why it matters

MCP components bridge model output to privileged tools. Vulnerabilities in authorization, path validation, OAuth handling, command execution, SSRF validation, or tool access can turn prompt/tool input into host compromise, credential disclosure, unauthorized browser/cloud/database access, or persistent malicious tool execution.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory. Do not paste weaponized payloads.

Fix / Remediation

Upgrade to the vendor-fixed version where available. If no fixed version is listed, restrict the affected component to trusted users and trusted networks, disable risky tools, validate tool arguments, and run the service with least-privilege credentials until upstream remediation is confirmed.

Upstream fix (open source)

Workarounds / mitigations

Exploit / PoC

If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.

Detection / verification

Patch

Track NVD references for CVE-2026-53766 and apply the upstream patched release or commit recommended by the vendor/CNA.