CVE-2026-25722
HIGH EPSS 27.6%
Published Feb 6, 20264mo ago · Modified Jun 17, 20262w ago
7.7 CVSS 4.0
Published Feb 6, 2026 4mo ago
Last Modified Jun 17, 2026 2w ago
Description
Claude Code is an agentic coding tool. Prior to version 2.0.57, Claude Code failed to properly validate directory changes when combined with write operations to protected folders. By using the cd command to navigate into sensitive directories like .claude, it was possible to bypass write protection and create or modify files without user confirmation. Reliably exploiting this required the ability to add untrusted content into a Claude Code context window. This issue has been patched in version 2.0.57.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS: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 Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction P
Scope X
Threat Intelligence
EPSS Exploit Probability
27.6% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 2
CWE-20 Improper Input Validation Validation
CWE-78 OS Command Injection Injection
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| anthropic | claude_code | * | <2.0.57 |
References 1
- github.com https://github.com/anthropics/claude-code/security/advisories/GHSA-66q4-vfjg-2qhh
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.