Skip to main content

chrome-devtools-mcp CVE-2026-53766

| EUVDEUVD-2026-39104 MEDIUM
Path Traversal (CWE-22)
2026-06-24 GitHub_M GHSA-8qf9-62x2-82pp
6.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Place crafted symlink inside workspace root
  2. Delivery
    Trigger agent file tool on symlink path
  3. Exploit
    validatePath() passes lexical prefix check
  4. Execution
    OS kernel follows symlink to out-of-root target
  5. Impact
    Read target file contents via upload_file or overwrite target file via write tool

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three concurrent conditions: (1) A symbolic link must exist inside a configured workspace root directory - this can be placed by the AI agent itself if it processes attacker-controlled content (e.g., a cloned repository containing a pre-built symlink), by a co-located local process, or by any local user with write access to the workspace; (2) chrome-devtools-mcp must be running version 0.24.0 through 1.0.x; (3) the MCP client must have the roots capability declared and configured with at least one root path (the bug is NOT the undocumented legacy path where roots is absent). Exploitation is limited to the local filesystem (AV:L) and requires at minimum low-privilege access to the machine (PR:L). The confidentiality read path additionally requires the upload_file tool to be invoked with a path that resolves through the symlink. Remote unauthenticated exploitation is not possible without a prior foothold enabling symlink placement in the workspace.

Impact

The official CVSS 6.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L) captures the local attack vector and high integrity impact accurately, but its C:N rating is inconsistent with the CVE description, which explicitly states that upload_file can read a symlink target and transmit its contents to the currently selected web page - a direct confidentiality breach. This discrepancy is flagged as a likely scoring oversight; the actual confidentiality impact should be considered High. Real-world risk is primarily bounded by the local attack vector: exploitation requires the ability to place a symlink inside a configured workspace root, which is achievable by an AI agent operating in the workspace, a co-located process, or a malicious repository cloned by the agent. In multi-tenant agent orchestration environments or automated CI/CD pipelines that process untrusted repositories, this becomes a meaningful privilege escalation path. No EPSS score was provided in the input data; the CVE is not listed in CISA KEV; and no public exploit code has been identified at time of analysis, placing this in a lower urgency tier than the integrity/confidentiality impact alone would suggest. Organizations running AI coding agent workflows with chrome-devtools-mcp should treat this as a medium-priority patch given the realistic threat model of agent-based exploitation.

Exploit ScenarioDerived

A malicious Git repository cloned by an AI coding agent into the workspace contains a pre-crafted symbolic link at workspace/configs/settings -> /etc/cron.d/evil. When the agent's file-writing tool is invoked against workspace/configs/settings, validatePath() resolves the path to /workspace/configs/settings, passes the root prefix check, and the downstream write follows the symlink and creates or overwrites the cron job outside the workspace boundary. No public exploit code for this specific vulnerability has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 24, 2026

Symlink-based workspace boundary bypass in chrome-devtools-mcp (versions 0.24.0 through before 1.1.0) allows a local low-privileged actor - including an AI coding agent itself - to read or overwrite files outside the configured workspace root. The McpContext.validatePath() function performs only a lexical prefix check on the resolved path and never canonicalizes symbolic links, so an in-root symlink whose target lies outside the root passes validation and causes downstream file operations to act on the real out-of-workspace target. No public exploit has been identified and the CVE is not listed in CISA KEV; a vendor-released patch is available in version 1.1.0.

RemediationAI

Upgrade chrome-devtools-mcp to version 1.1.0, the vendor-released patch that fixes validatePath() by canonicalizing symbolic links before performing the workspace root prefix check. Details are in the security advisory at https://github.com/ChromeDevTools/chrome-devtools-mcp/security/advisories/GHSA-8qf9-62x2-82pp. If immediate upgrade is not possible, apply OS-level controls to prevent symlink creation within workspace directories: on Linux, mount workspace volumes with the nosymfollow option (available in kernels 5.10+) to cause symlinks to fail at the VFS layer rather than be followed - note this will break any legitimate tooling that relies on symlinks inside the workspace. Alternatively, enforce a seccomp or AppArmor/SELinux policy that denies symlink(2) calls by the agent process. Disabling the upload_file tool in the MCP configuration mitigates only the confidentiality (read) direction and does not address the write-direction bypass. Audit existing workspace directories for unexpected symbolic links before relying on compensating controls, as malicious symlinks may have already been placed.

Affected VersionsENISA

chrome-devtools-mcp 0.24.0, < 1.1.0

Affected Packages

npm chrome-devtools-mcp fix: 1.1.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

chrome-devtools-mcp is a Node.js MCP (Model Context Protocol) server package (CPE: cpe:2.3:a:chromedevtools:chrome-devtools-mcp:*:*:*:*:*:*:*:*) that exposes Chrome browser control and inspection capabilities to AI coding agents. The vulnerability is a classic CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) variant rooted in the behavior of Node.js path.resolve(): it normalizes path separators and resolves . and .. components lexically but does NOT follow or resolve symbolic links. McpContext.validatePath() calls path.resolve(filePath), then checks whether the result begins with one of the configured root path strings. A symlink residing at workspace/link whose POSIX target is /etc/shadow produces a resolved path of /workspace/link - which passes the prefix check - but when downstream fs operations open the path the OS kernel follows the symlink to the real target. This applies to both read operations (upload_file exfiltrates the symlink target's content to the active web page) and write operations (filePath-writing tools overwrite the out-of-root target). The bypass is distinct from the documented legacy behavior where an MCP client that omits roots capability altogether allows all paths; here the roots capability IS correctly declared and populated, but the symlink escapes the declared boundary.

Know when Chrome Devtools Mcp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.1 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
vuln.today AI 7.3 HIGH

C upgraded to H from C:N because upload_file demonstrably exfiltrates out-of-root file contents; all other metrics consistent with local, low-privilege symlink placement.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
Low

Lifecycle Timeline

2
Patch available
Jun 24, 2026 - 23:03 EUVD
CVE Published
Jun 24, 2026 - 21:29 cve.org
MEDIUM 6.1

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
niche AI agent MCP tooling, limited enterprise production footprint
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy