Claude Code has Permission Deny Bypass Through Symbolic Links
GHSA-4q92-rfm6-2cqx · CVE-2026-25724
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
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.
Claude Code thanks https://hackerone.com/ofirh for reporting this issue.
References
- WEB https://github.com/anthropics/claude-code/security/advisories/GHSA-4q92-rfm6-2cqx
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-25724
- PACKAGE https://github.com/anthropics/claude-code
- WEB https://www.terra.security/blog/when-ai-becomes-the-attack-surface-lessons-from-discovering-cve-2026-25724
Ready to move
Start Securing
Free, no credit card | First findings in minutes