Symlink Attack Affecting chrome-devtools-mcp package, versions >=0.20.0 <1.1.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-CHROMEDEVTOOLSMCP-17391448
  • published21 Jun 2026
  • disclosed17 Jun 2026
  • creditenable7997

Introduced: 17 Jun 2026

NewCVE-2026-53765  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade chrome-devtools-mcp to version 1.1.0 or higher.

Overview

chrome-devtools-mcp is a MCP server for Chrome DevTools

Affected versions of this package are vulnerable to Symlink Attack in the fs.writeFileSync process when writing the PID file to a runtime directory under /tmp if $XDG_RUNTIME_DIR is unset. An attacker can overwrite or truncate arbitrary files writable by the victim user by pre-creating a symlink at the expected PID file location. This is only exploitable if the victim is running on a POSIX system (macOS or Linux) with $XDG_RUNTIME_DIR unset and the attacker has a local user account on the same host.

CVSS Base Scores

version 4.0
version 3.1