CVE-2026-25722

HIGH CVSS 4.0: 7.7 EPSS 0.51%
Updated Feb 06, 2026
Claude
Parameter Value
CVSS 7.7 (HIGH)
Fixed In 2.0.57
Type CWE-78 (OS Command Injection), CWE-20 (Improper Input Validation)
Vendor Claude
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0