CVE-2026-25724 Claude Code Has Permission Deny Bypass Through Symbolic Links
LowCVSS 2.3
EPSS 0.48%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Anthropic claude code | < 2.1.7 | 2.1.7 | Fixed |
| anthropic-ai @anthropic-ai/claude-code(npm) | < 2.1.7 | 2.1.7 | Fixed |
| anthropics claude-code | = < 2.1.7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| anthropics claude-code | = < 2.1.7 | No fix listed |
| anthropic-ai @anthropic-ai/claude-code(npm) | < 2.1.7 | 2.1.7 |
| Anthropic claude code | < 2.1.7 | 2.1.7 |
References
- https://github.com/anthropics/claude-code/security/advisories/GHSA-4q92-rfm6-2cqx third-party-advisory vendor-advisory
- www.terra.security
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product