CVE-2026-25724: CWE-61: UNIX Symbolic Link (Symlink) Following in anthropics claude-code
CVE-2026-25724 is a low-severity vulnerability in anthropics' Claude Code versions prior to 2. 1. 7, where symbolic link (symlink) following bypasses deny rules configured in settings. json. This flaw allows Claude Code to access files that users explicitly denied by reading through symlinks pointing to those files, potentially exposing sensitive data such as /etc/passwd. The vulnerability does not require privileges but does require user interaction and has limited impact on confidentiality, integrity, and availability. It has been patched in version 2. 1. 7, and no known exploits are currently in the wild. European organizations using affected versions of Claude Code should upgrade promptly to mitigate risk.
AI Analysis
Technical Summary
Claude Code is an agentic coding tool developed by anthropics that allows users to automate coding tasks. Prior to version 2.1.7, Claude Code improperly enforced deny rules specified in its settings.json configuration when accessing files via symbolic links. Specifically, if a user denied access to a sensitive file such as /etc/passwd, Claude Code would still be able to read that file if accessed through a symlink pointing to it. This occurs because the tool fails to resolve and enforce deny rules on the target of the symlink, effectively bypassing access restrictions. The vulnerability is classified under CWE-61 (Improper Handling of Symbolic Links) and CWE-285 (Improper Authorization). The CVSS 4.0 base score is 2.3, reflecting low severity due to the need for user interaction and limited confidentiality impact. The flaw does not require privileges but does require the user to initiate the action that triggers the file access. The issue was publicly disclosed and patched on February 6, 2026, with no known active exploits. This vulnerability could allow unauthorized reading of sensitive files, potentially exposing system or user data if exploited.
Potential Impact
For European organizations, the impact of this vulnerability is generally low but context-dependent. Organizations using Claude Code versions prior to 2.1.7 risk unauthorized disclosure of sensitive files if an attacker can trick a user into performing actions that cause Claude Code to follow malicious symlinks. This could lead to exposure of critical system files or confidential data, undermining confidentiality. However, the vulnerability does not allow privilege escalation or code execution, limiting its impact on integrity and availability. In environments with strict data protection requirements, such as those governed by GDPR, even limited unauthorized data access could have compliance implications. The risk is higher in organizations where Claude Code is integrated into automated workflows handling sensitive files or where users have access to critical system resources. Since no known exploits exist yet, the immediate threat is low, but proactive patching is advisable to prevent future exploitation.
Mitigation Recommendations
European organizations should immediately upgrade anthropics Claude Code to version 2.1.7 or later, where the vulnerability is patched. Additionally, organizations should audit their use of symbolic links within projects involving Claude Code to ensure no symlinks point to sensitive or restricted files. Implement strict file system permissions to limit user ability to create or manipulate symlinks that could be exploited. Employ monitoring to detect unusual file access patterns by Claude Code or related processes. Educate users about the risks of interacting with untrusted files or symlinks in their coding environments. For environments with high security requirements, consider sandboxing Claude Code executions or restricting its file system access using OS-level controls such as AppArmor or SELinux. Regularly review and update deny rules in settings.json to ensure they are comprehensive and correctly enforced after patching.
Affected Countries
Germany, France, United Kingdom, Netherlands, Sweden, Finland
CVE-2026-25724: CWE-61: UNIX Symbolic Link (Symlink) Following in anthropics claude-code
Description
CVE-2026-25724 is a low-severity vulnerability in anthropics' Claude Code versions prior to 2. 1. 7, where symbolic link (symlink) following bypasses deny rules configured in settings. json. This flaw allows Claude Code to access files that users explicitly denied by reading through symlinks pointing to those files, potentially exposing sensitive data such as /etc/passwd. The vulnerability does not require privileges but does require user interaction and has limited impact on confidentiality, integrity, and availability. It has been patched in version 2. 1. 7, and no known exploits are currently in the wild. European organizations using affected versions of Claude Code should upgrade promptly to mitigate risk.
AI-Powered Analysis
Technical Analysis
Claude Code is an agentic coding tool developed by anthropics that allows users to automate coding tasks. Prior to version 2.1.7, Claude Code improperly enforced deny rules specified in its settings.json configuration when accessing files via symbolic links. Specifically, if a user denied access to a sensitive file such as /etc/passwd, Claude Code would still be able to read that file if accessed through a symlink pointing to it. This occurs because the tool fails to resolve and enforce deny rules on the target of the symlink, effectively bypassing access restrictions. The vulnerability is classified under CWE-61 (Improper Handling of Symbolic Links) and CWE-285 (Improper Authorization). The CVSS 4.0 base score is 2.3, reflecting low severity due to the need for user interaction and limited confidentiality impact. The flaw does not require privileges but does require the user to initiate the action that triggers the file access. The issue was publicly disclosed and patched on February 6, 2026, with no known active exploits. This vulnerability could allow unauthorized reading of sensitive files, potentially exposing system or user data if exploited.
Potential Impact
For European organizations, the impact of this vulnerability is generally low but context-dependent. Organizations using Claude Code versions prior to 2.1.7 risk unauthorized disclosure of sensitive files if an attacker can trick a user into performing actions that cause Claude Code to follow malicious symlinks. This could lead to exposure of critical system files or confidential data, undermining confidentiality. However, the vulnerability does not allow privilege escalation or code execution, limiting its impact on integrity and availability. In environments with strict data protection requirements, such as those governed by GDPR, even limited unauthorized data access could have compliance implications. The risk is higher in organizations where Claude Code is integrated into automated workflows handling sensitive files or where users have access to critical system resources. Since no known exploits exist yet, the immediate threat is low, but proactive patching is advisable to prevent future exploitation.
Mitigation Recommendations
European organizations should immediately upgrade anthropics Claude Code to version 2.1.7 or later, where the vulnerability is patched. Additionally, organizations should audit their use of symbolic links within projects involving Claude Code to ensure no symlinks point to sensitive or restricted files. Implement strict file system permissions to limit user ability to create or manipulate symlinks that could be exploited. Employ monitoring to detect unusual file access patterns by Claude Code or related processes. Educate users about the risks of interacting with untrusted files or symlinks in their coding environments. For environments with high security requirements, consider sandboxing Claude Code executions or restricting its file system access using OS-level controls such as AppArmor or SELinux. Regularly review and update deny rules in settings.json to ensure they are comprehensive and correctly enforced after patching.
Affected Countries
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-02-05T16:48:00.426Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 69862fadf9fa50a62f2569b8
Added to database: 2/6/2026, 6:15:09 PM
Last enriched: 2/6/2026, 6:30:41 PM
Last updated: 2/6/2026, 7:18:44 PM
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2026-2063: OS Command Injection in D-Link DIR-823X
MediumCVE-2026-25753: CWE-259: Use of Hard-coded Password in Praskla-Technology assessment-placipy
CriticalCVE-2026-25752: CWE-862: Missing Authorization in frangoteam FUXA
CriticalCVE-2026-25751: CWE-306: Missing Authentication for Critical Function in frangoteam FUXA
CriticalCVE-2026-25651: CWE-601: URL Redirection to Untrusted Site ('Open Redirect') in tgies client-certificate-auth
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.