High severity7.5NVD Advisory· Published Feb 6, 2026· Updated Jun 17, 2026
CVE-2026-25724
CVE-2026-25724
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@anthropic-ai/claude-codenpm | < 2.1.7 | 2.1.7 |
Affected products
3cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:*+ 1 more
- cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:*range: <2.1.7
- (no CPE)range: < 2.1.7
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-4q92-rfm6-2cqxghsaADVISORY
- github.com/anthropics/claude-code/security/advisories/GHSA-4q92-rfm6-2cqxnvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-25724ghsaADVISORY
- www.terra.security/blog/when-ai-becomes-the-attack-surface-lessons-from-discovering-cve-2026-25724nvdWEB
News mentions
2- Claude Code Symlink Import Lets Malicious Repositories Silently Exfiltrate Local FilesCyber Security News · Jul 27, 2026
- Tego AI Discloses Second Claude Flaw in a Week: Hidden Link Silently Sends Files to AttackersCyber Security News · Jul 24, 2026