CVE-2025-59829: @anthropic ai/claude code Claude Code Permission Deny Bypass Vulnerability
LOWCVE-2025-59829 is a LOW claude code permission deny bypass vulnerability (CWE-61: UNIX Symbolic Link (Symlink) Following) affecting @anthropic ai/claude code libraries in the npm ecosystem. The issue involves claude code permission deny bypass through symlink. Remediation is available by upgrading affected packages to version 1.0.120.
CVE-2025-59829 at a Glance
How to Fix CVE-2025-59829
To remediate this vulnerability, upgrade all affected @anthropic ai/claude code dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @anthropic-ai/claude-code@1.0.120
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @anthropic-ai/claude-code
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-59829, inspect your project dependencies using npm:
npm ls @anthropic-ai/claude-code
Analyze the terminal output to locate any version of @anthropic ai/claude code in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.120), your application is affected.
Note: The npm ls @anthropic-ai/claude-code command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-61: UNIX Symbolic Link (Symlink) Following, where the product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. this could allow an attacker to cause the product to operate on unauthorized files. In @anthropic ai/claude code, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-59829 Affected @anthropic ai/claude code Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@anthropic-ai/claude-code
|
npm |
< 1.0.120
|
1.0.120
|
References
Frequently Asked Questions
What is CVE-2025-59829?
Which @anthropic ai/claude code versions are affected?
What version fixes CVE-2025-59829?
Is @anthropic-ai/claude-code affected?
What CWE is associated with CVE-2025-59829?
How can I check npm dependencies for CVE-2025-59829?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-66m2-gx93-v996",
"modified" : "2025-10-13T15:10:14Z",
"published" : "2025-10-03T14:17:58Z",
"aliases" : [ "CVE-2025-59829" ],
"summary" : "Claude Code permission deny bypass through symlink",
"details" : "Claude Code failed to account for symlinks when checking permission deny rules. If a user explicitly denied Claude Code access to a file and Claude Code had access to a symlink pointing to that file, it was possible for Claude Code to access the file. \n\nUsers on standard Claude Code auto-update will have received this fix automatically. Users performing manual updates are advised to update to the latest version.\n\nThank you to https://hackerone.com/vinai for reporting this issue!",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@anthropic-ai/claude-code"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.120"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/anthropics/claude-code/security/advisories/GHSA-66m2-gx93-v996"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-59829"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/anthropics/claude-code"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-61" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-10-03T14:17:58Z",
"nvd_published_at" : "2025-10-03T20:15:33Z"
}
}