Skip to content
AnthropicGHSA-4q92-rfm6-2cqx

Permission Deny Bypass Through Symbolic Links

Low2.3CVE-2026-25724 · Published Feb 6, 2026

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. Users on standard Claude Code auto-update received this fix automatically. Users performing manual updates are advised to update to the latest version. Thank you to https://hackerone.com/ofirh for reporting this issue.

GitHub advisory

Affected versions

PackageAffectedFixed in
@anthropic-ai/claude-code
npm
< v2.1.7v2.1.7
Details and references
CVSS 4.0
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
Severity from
GitHub (reviewed advisory)
Weakness
CWE-61, CWE-285

More Anthropic advisories

All Anthropic

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.