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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-4q92-rfm6-2cqx Claude Code has Permission Deny Bypass Through Symbolic Links
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 06 Feb 2026 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 06 Feb 2026 18:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Claude Code Has Permission Deny Bypass Through Symbolic Links
Weaknesses CWE-285
CWE-61
References
Metrics cvssV4_0

{'score': 2.3, '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-02-06T19:23:48.894Z

Reserved: 2026-02-05T16:48:00.426Z

Link: CVE-2026-25724

cve-icon Vulnrichment

Updated: 2026-02-06T19:23:44.581Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-02-06T18:16:00.037

Modified: 2026-02-06T21:57:22.450

Link: CVE-2026-25724

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses