LiveActive security incident?Get immediate response
CVE Record

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

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.

LowCVSS 2.3Not KEV-listedUpdated
Glexia's TakeAutomated analysislow

Security readout for executives and security teams

Plain-English summary

Claude Code before 2.1.7 could ignore a user’s file-access deny rule when the blocked file was reached through a symbolic link. This could let the tool read a file the user intended to keep off-limits. The vendor advisory says the issue is patched in 2.1.7. Severity is low, but teams using AI coding tools should update promptly.

Executive priority

Treat as a low-severity but quick-fix AI tooling issue. Prioritize update across developer environments to prevent unintended sensitive file access and reinforce AI tool governance.

Technical view

This is an authorization bypass involving symlink handling in Claude Code settings.json deny enforcement. If a file was denied directly, but Claude Code could access a symlink pointing to it, deny checks could be bypassed. The CVE maps to CWE-285 and CWE-61. Affected versions are anthropics/claude-code before 2.1.7.

Likely exposure

Exposure is limited to environments running Claude Code versions earlier than 2.1.7, especially where deny rules protect sensitive files and symlinks exist within accessible paths.

Exploitation context

Sources do not report active exploitation, and the CVE is not listed as KEV. The scenario requires Claude Code access to a symlink targeting a denied file and user interaction per the CVSS vector.

Researcher notes

The public description is clear on root cause and fixed version, but does not provide broad exploitation evidence. Avoid assuming remote compromise; impact is unauthorized file read through symlink-based policy bypass.

Mitigation direction

  • Upgrade Claude Code to version 2.1.7 or later.
  • Review vendor advisory for any additional configuration guidance.
  • Reduce Claude Code access to sensitive directories where practical.
  • Review symlinks in workspaces used by Claude Code.

Validation and detection

  • Inventory systems and developer environments running Claude Code.
  • Confirm installed Claude Code versions are 2.1.7 or later.
  • Review settings.json deny rules protecting sensitive files.
  • Check whether accessible workspaces contain symlinks to denied files.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-285: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-61: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-25724 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Low
CVSS
2.3 (4.0)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
2.3CVSS 4.0LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N——Primary CVE score

Vulnerability scoring details

Base CVSS 4.0 score

2.3Low
CVSS 4.0 vector shape for CVE-2026-25724Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
anthropicsclaude-code< 2.1.7Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-285 · source CWE mapping

Improper Authorization

Improper Authorization represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-61 · source CWE mapping

UNIX Symbolic Link (Symlink) Following

UNIX Symbolic Link (Symlink) Following represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.