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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-25724
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 17:18 UTC · Revision 1
Source evidence
Claude Code Has Permission Deny Bypass Through Symbolic Links
core-osv · Original sourcePublished 6 Feb 2026, 17:53 UTC
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.
osv:CVE-2026-25724
Complete source record
{
"id": "ff49b194cd8562e538bbc0f6a3ca671f2d86b0ea81ac35672c804eeba9aea59f",
"url": "https://osv.dev/vulnerability/CVE-2026-25724",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Claude Code Has Permission Deny Bypass Through Symbolic Links",
"summary": "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.",
"evidence": "osv:CVE-2026-25724",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2026-25724",
"aliases": [
"CVE-2026-25724",
"GHSA-4q92-rfm6-2cqx"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/anthropics/claude-code",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "6a2936ab79c01e4f078105584f8cae521e7851dc"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.1.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.1.7"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.1.6",
"v2.1.5",
"v2.1.4",
"v2.1.3",
"v2.1.2",
"v2.1.1",
"v2.0.76",
"v2.1.0",
"v2.0.74",
"v2.0.73"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25724.json"
}
}
],
"modified": "2026-10-28T02:30:21.533347878Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25724.json",
"https://github.com/anthropics/claude-code/security/advisories/GHSA-4q92-rfm6-2cqx",
"https://nvd.nist.gov/vuln/detail/CVE-2026-25724",
"https://www.terra.security/blog/when-ai-becomes-the-attack-surface-lessons-from-discovering-cve-2026-25724"
],
"provider_metadata": {
"cwe_ids": [
"CWE-285",
"CWE-61"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25724.json"
}
},
"related_cves": [
{
"value": "CVE-2026-25724",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 487669,
"published_at": "2026-02-06T17:53:16.004+00:00"
}