CVE-2025-54794: anthropic claude_code Path Traversal
Vulnerability summary
CVE-2025-54794 is a critical (CVSS 9.1) Path Traversal vulnerability in anthropic claude_code. EPSS estimates a 1.36% chance of exploitation in the next 30 days, higher than 71.4% of scored vulnerabilities.
Timeline
- 05-08-2025PublishedVulnerability first disclosed.
- 05-08-2025Last modifiedVulnerability information updated.
Description
Claude Code is an agentic coding tool. In versions below 0.2.111, a path validation flaw using prefix matching instead of canonical path comparison, makes it possible to bypass directory restrictions and access files outside the CWD. Successful exploitation depends on the presence of (or ability to create) a directory with the same prefix as the CWD and the ability to add untrusted content into a Claude Code context window. This is fixed in version 0.2.111.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · NpmEcosystem advisory · calculated7.7HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- NVDNIST7.7HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/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
EPSS trend
Probability
1.36%
Chance of exploitation in the next 30 days
Percentile
71%
Versus all other CVEs
30-day change
0.00 pp
From 1.36% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
@anthropic-ai1 product
- claude-code< 0.2.111
Anthropic1 product
- claude_code< 0.2.111
Anthropics1 product
- claude-code< 0.2.111
3 vendors · 3 products
References
3 links- github.com/anthropics/claude-code/security/advisories/GHSA-pmw4-pwvc-3hx2X Refsource CONFIRMWEBVendor Advisory