Skip to main content
CVE-2026-25724VulnerabilityPublished Updated

CVE-2026-25724: anthropics claude-code · UNIX Symbolic Link (Symlink) Following

Affects anthropics claude-codeSource CVE Database V5

0

Not known to be exploited · CVSS 2.3 Low : upgrade to 2.1.7 when convenient.

Data as of 25 Oct 2026, 19:02 UTC

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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: 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 2026-10-25.

What to do

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

Affected software

ProductAffectedFixed in
anthropicsclaude-codeAffected
  • <2.1.7
Fixed in
  • 2.1.7
GitHubanthropics/claude-codepkg:github/anthropics/claude-codeOther threatsAffected
  • <2.1.7
Fixed in
  • 2.1.7

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

AI-suggested

Organizations should upgrade anthropics Claude Code to version 2.1.7 or later, where the vulnerability is patched. Until upgrading, administrators should audit and restrict the use of symbolic links in directories accessed by Claude Code, especially those pointing to sensitive files. Implement file system permissions to limit the creation and use of symlinks by untrusted users. Review and tighten deny rules in settings.json to minimize exposure. Additionally, monitor logs for unusual file access patterns involving symlinks. Employ runtime application self-protection (RASP) or endpoint detection to detect anomalous file reads. Educate users about the risks of symlink abuse and enforce least privilege principles for users running Claude Code. Finally, consider isolating Claude Code execution environments to limit potential data exposure.

Description

Claude Code is an agentic coding tool. Prior to version 2.1.7, Claude Code failed to strictly enforce deny rules configured in settings.json when accessing files through symbolic links. If a user explicitly denied Claude Code access to a file (such as /etc/passwd) and Claude Code had access to a symbolic link pointing to that file, it was possible for Claude Code to read the restricted file through the symlink without triggering deny rule enforcement. This issue has been patched in version 2.1.7.

References

Community reviews

Loading reviews…