CVE-2026-53765: CWE-59: Improper Link Resolution Before File Access ('Link Following') in ChromeDevTools chrome-devtools-mcp
Chrome DevTools for agents (chrome-devtools-mcp) lets your coding agent control and inspect a live Chrome browser. From 0.20.0 until 1.1.0, The chrome-devtools-mcp daemon writes its PID file with fs.writeFileSync() to a deterministic runtime path. On typical macOS environments, and on Linux sessions where $XDG_RUNTIME_DIR is unset, that runtime path falls back to /tmp/chrome-devtools-mcp-<uid>/daemon.pid. Because the write does not use O_NOFOLLOW, a local low-privilege user on the same POSIX host can pre-create /tmp/chrome-devtools-mcp-<victim_uid>/daemon.pid as a symlink to a file writable by the victim. When the victim later starts daemon mode, fs.writeFileSync() follows the symlink and truncates the target file to the daemon PID string. This vulnerability is fixed in 1.1.0.
AI Analysis
Technical Summary
The chrome-devtools-mcp daemon writes its PID file using fs.writeFileSync() to a deterministic runtime path, typically /tmp/chrome-devtools-mcp-<uid>/daemon.pid on macOS and Linux when $XDG_RUNTIME_DIR is unset. Because the write operation does not use the O_NOFOLLOW flag, a local low-privilege user can pre-create the daemon.pid file as a symbolic link to another writable file owned by the victim user. When the daemon starts, it follows the symlink and overwrites the target file with the PID string, causing unintended truncation. This is a CWE-59 (Improper Link Resolution Before File Access) vulnerability affecting versions >=0.20.0 and <1.1.0. The vulnerability is fixed in version 1.1.0.
Potential Impact
The vulnerability allows a local low-privilege user on the same POSIX host to cause the chrome-devtools-mcp daemon to overwrite arbitrary writable files owned by the victim user by exploiting symbolic link following. This results in integrity loss (truncation of files) and partial availability impact (potential disruption of victim processes relying on those files). There is no confidentiality impact reported. The CVSS v3.1 base score is 6.1 (medium severity), reflecting local attack vector with low complexity and no user interaction required.
Mitigation Recommendations
A fix is available in chrome-devtools-mcp version 1.1.0. Users should upgrade to version 1.1.0 or later to remediate this vulnerability. Until upgrading, avoid running the daemon in environments where untrusted local users have write access to /tmp or the runtime directory. Patch status is not explicitly stated in vendor advisory content but the description confirms the issue is fixed in 1.1.0.
CVE-2026-53765: CWE-59: Improper Link Resolution Before File Access ('Link Following') in ChromeDevTools chrome-devtools-mcp
Description
Chrome DevTools for agents (chrome-devtools-mcp) lets your coding agent control and inspect a live Chrome browser. From 0.20.0 until 1.1.0, The chrome-devtools-mcp daemon writes its PID file with fs.writeFileSync() to a deterministic runtime path. On typical macOS environments, and on Linux sessions where $XDG_RUNTIME_DIR is unset, that runtime path falls back to /tmp/chrome-devtools-mcp-<uid>/daemon.pid. Because the write does not use O_NOFOLLOW, a local low-privilege user on the same POSIX host can pre-create /tmp/chrome-devtools-mcp-<victim_uid>/daemon.pid as a symlink to a file writable by the victim. When the victim later starts daemon mode, fs.writeFileSync() follows the symlink and truncates the target file to the daemon PID string. This vulnerability is fixed in 1.1.0.
CVSS v3.1
Score 6.1medium
Affected software
pkg:github/chromedevtools/chrome-devtools-mcpRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The chrome-devtools-mcp daemon writes its PID file using fs.writeFileSync() to a deterministic runtime path, typically /tmp/chrome-devtools-mcp-<uid>/daemon.pid on macOS and Linux when $XDG_RUNTIME_DIR is unset. Because the write operation does not use the O_NOFOLLOW flag, a local low-privilege user can pre-create the daemon.pid file as a symbolic link to another writable file owned by the victim user. When the daemon starts, it follows the symlink and overwrites the target file with the PID string, causing unintended truncation. This is a CWE-59 (Improper Link Resolution Before File Access) vulnerability affecting versions >=0.20.0 and <1.1.0. The vulnerability is fixed in version 1.1.0.
Potential Impact
The vulnerability allows a local low-privilege user on the same POSIX host to cause the chrome-devtools-mcp daemon to overwrite arbitrary writable files owned by the victim user by exploiting symbolic link following. This results in integrity loss (truncation of files) and partial availability impact (potential disruption of victim processes relying on those files). There is no confidentiality impact reported. The CVSS v3.1 base score is 6.1 (medium severity), reflecting local attack vector with low complexity and no user interaction required.
Mitigation Recommendations
A fix is available in chrome-devtools-mcp version 1.1.0. Users should upgrade to version 1.1.0 or later to remediate this vulnerability. Until upgrading, avoid running the daemon in environments where untrusted local users have write access to /tmp or the runtime directory. Patch status is not explicitly stated in vendor advisory content but the description confirms the issue is fixed in 1.1.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-10T17:48:40.547Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3c501d4853345fc1e45bc8
Added to database: 06/24/2026, 21:46:05 UTC
Last enriched: 07/01/2026, 22:28:51 UTC
Last updated: 08/08/2026, 12:41:11 UTC
Views: 71
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.