CVE-2026-25724: Claude Code Has Permission Deny Bypass Through Symbolic Links

Published Feb 6, 2026
·
Updated

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.

Other sources

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.

MITRE

Affected Software

3 affected componentsFixes available
Claude Claude Code<2.1.7
npm/@anthropic-ai/claude-code<2.1.7
2.1.7
Anthropic Claude Code Node.js<2.1.7

Event History

Feb 6, 2026
CVE Published
via MITRE·05:53 PM
Data Sourced
via MITRE·05:53 PM
DescriptionWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·07:08 PM
Data Sourced
via GitHub·07:08 PM
DescriptionWeaknessAffected Software
Jun 19, 58090
Event
via FIRST·04:13 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-25724?

CVE-2026-25724 has been categorized with a significant severity due to the potential for unauthorized file access.

2

How do I fix CVE-2026-25724?

To fix CVE-2026-25724, upgrade Claude Code to version 2.1.7 or later, which addresses the permission bypass issue.

3

What does the CVE-2026-25724 vulnerability affect?

CVE-2026-25724 affects Claude Code versions prior to 2.1.7, specifically in how it handles symbolic links and deny permissions.

4

What are the risks associated with CVE-2026-25724?

The risks associated with CVE-2026-25724 include unauthorized access to sensitive files, which can compromise system security.

5

Is CVE-2026-25724 a common vulnerability?

CVE-2026-25724 is considered a critical vulnerability particularly for applications that rely on strict file access controls.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203