banner logoJoin us at RSAC™ 2026 Conference, March 23–March 26 | North Expo, Booth N-5863Join us at RSAC™ 2026, March 23–March 26Learn More
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-25724

CVE-2026-25724: Anthropic Claude Code Path Traversal

CVE-2026-25724 is a path traversal vulnerability in Anthropic Claude Code that allows bypassing deny rules via symbolic links to access restricted files. This article covers technical details, affected versions, and mitigation.

Published: February 13, 2026

CVE-2026-25724 Overview

Claude Code, an agentic coding tool developed by Anthropic, contains a security vulnerability in versions prior to 2.1.7 that allows unauthorized file access through symbolic link exploitation. The application fails to strictly enforce deny rules configured in settings.json when accessing files through symbolic links, potentially allowing read access to explicitly restricted files.

Critical Impact

Attackers can bypass file access restrictions by leveraging symbolic links to read sensitive files that were explicitly denied in Claude Code's configuration, such as /etc/passwd or other protected system files.

Affected Products

  • Anthropic Claude Code versions prior to 2.1.7
  • Claude Code for Node.js (all platforms)

Discovery Timeline

  • 2026-02-06 - CVE CVE-2026-25724 published to NVD
  • 2026-02-09 - Last updated in NVD database

Technical Details for CVE-2026-25724

Vulnerability Analysis

This vulnerability is classified as CWE-61 (UNIX Symbolic Link Following), commonly known as a symlink attack. The flaw exists in Claude Code's file access control mechanism, specifically in how it evaluates deny rules against file paths.

When a user configures Claude Code to deny access to specific files via the settings.json configuration file, the application correctly blocks direct access attempts to those paths. However, the access control logic fails to resolve symbolic links before evaluating deny rules, creating a bypass condition.

The vulnerability requires user interaction and specific preconditions to exploit: an attacker must have the ability to create symbolic links in a location accessible to Claude Code, and the user must have explicitly denied access to a sensitive file while still allowing Claude Code access to the directory containing the symlink.

Root Cause

The root cause is improper validation of file paths before access control enforcement. The deny rule matching occurs against the literal path requested rather than the canonical, resolved path. This allows symbolic links to evade detection since their path differs from the target file's path that was explicitly denied.

The file access control mechanism should resolve all symbolic links and normalize paths to their canonical form before comparing against the deny list. The absence of this canonicalization step creates the bypass opportunity.

Attack Vector

The attack vector requires network access with user interaction. An attacker would need to:

  1. Identify a file that is explicitly denied in the target's Claude Code configuration
  2. Create a symbolic link pointing to the restricted file in a location Claude Code can access
  3. Request Claude Code to read the symbolic link path instead of the denied file path directly

For example, if /etc/passwd is denied but /home/user/projects/ is accessible, creating a symlink at /home/user/projects/passwd_link pointing to /etc/passwd would allow Claude Code to read the restricted file's contents through the link.

The vulnerability mechanism involves symlink resolution bypassing the deny rule check. See the GitHub Security Advisory for complete technical details.

Detection Methods for CVE-2026-25724

Indicators of Compromise

  • Presence of suspicious symbolic links in project directories pointing to system files
  • Claude Code access logs showing reads of symlinked paths that resolve to sensitive files
  • Unusual file read patterns targeting paths outside normal project scope

Detection Strategies

  • Monitor for symbolic link creation in directories accessible to Claude Code
  • Audit Claude Code access logs for file reads that resolve to denied paths after symlink resolution
  • Implement file integrity monitoring on sensitive system files to detect unauthorized access

Monitoring Recommendations

  • Enable verbose logging in Claude Code to track all file access attempts
  • Configure security monitoring tools to alert on symlink creation targeting sensitive directories
  • Review settings.json deny rules regularly to ensure comprehensive coverage
  • Monitor for anomalous file access patterns in Claude Code session logs

How to Mitigate CVE-2026-25724

Immediate Actions Required

  • Upgrade Claude Code to version 2.1.7 or later immediately
  • Audit existing project directories for suspicious symbolic links
  • Review and strengthen deny rules in settings.json to include common symlink attack patterns
  • Consider using absolute canonical paths in deny rules where possible

Patch Information

Anthropic has released version 2.1.7 of Claude Code which addresses this vulnerability. The patch implements proper symbolic link resolution before deny rule evaluation, ensuring that access control decisions are made against the canonical target path rather than the symlink path.

Users should update via their package manager:

bash
npm update @anthropic/claude-code

For additional details, refer to the GitHub Security Advisory.

Workarounds

  • Deny access to directories that could contain malicious symlinks rather than individual files
  • Remove write permissions from directories accessible to Claude Code to prevent symlink creation
  • Use file system configurations that prevent symbolic link following (e.g., O_NOFOLLOW flags where applicable)
  • Implement additional access controls at the operating system level for sensitive files
bash
# Example: Restrict symlink creation in project directories
chmod o-w /path/to/project/directory

# Example: Check for existing symlinks pointing to sensitive files
find /path/to/projects -type l -exec ls -la {} \; 2>/dev/null | grep -E "(passwd|shadow|ssh)"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechAnthropic Claude Code

  • SeverityLOW

  • CVSS Score2.3

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityLow
  • CWE References
  • CWE-61
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2025-54794: Anthropic Claude Code Path Traversal Flaw

  • CVE-2026-25723: Anthropic Claude Code Auth Bypass Flaw

  • CVE-2026-25725: Claude Code Privilege Escalation Flaw

  • CVE-2025-64755: Claude Code Privilege Escalation Flaw
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • English
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use