Skip to main content
VulnerabilityPublished

CVE-2026-46406: anthropics claude-code · Link Following

Affects anthropics claude-codeSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 4.4 Medium : upgrade to 2.1.128 when convenient.

Data as of 12 Nov 2026, 23:24 UTC

CVSS 4.0 base score
4.4Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.1.128
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade claude-code and anthropics/claude-code to 2.1.128.

Affected software

ProductAffectedFixed in
anthropicsclaude-codeAffected
  • >=2.1.59 <2.1.128
Fixed in
  • 2.1.128
GitHubanthropics/claude-codepkg:github/anthropics/claude-codeOther threatsAffected
  • >=2.1.59 <2.1.128
Fixed in
  • 2.1.128

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

This vulnerability is fixed in claude-code version 2.1.128. Users should upgrade to version 2.1.128 or later to remediate the issue. Until upgraded, restrict local user access and avoid running the /copy command with elevated privileges if possible.

Description

Claude Code is an agentic coding tool. From 2.1.59 until 2.1.128, the Claude Code /copy command wrote responses to a hardcoded, predictable path (/tmp/claude/response.md) without UID isolation, randomness, or symlink protection. The file was created world-readable (0644) in a world-traversable directory (0755), allowing any local user to read a privileged user's Claude response, which could contain secrets or credentials. Additionally, because the path was static and predictable, a local attacker could pre-create the directory and plant a symlink at the expected file path, causing the privileged process to follow the symlink and overwrite an attacker-chosen file with the response text. Exploiting this required a local unprivileged user on the same system and a privileged user to run the /copy command. This vulnerability is fixed in 2.1.128.

References

Community reviews

Loading reviews…