Directory Traversal and Write Operation Vulnerability in Claude Code by Anthropic
CVE-2026-25722
What is CVE-2026-25722?
Claude Code, an advanced coding tool, is affected by a directory traversal vulnerability that allows unauthorized access to sensitive directories. Prior to version 2.0.57, the application did not adequately validate directory changes, enabling malicious actors to leverage the 'cd' command and navigate into protected directories like '.claude'. This flaw could allow users to bypass write protection, creating or modifying files without the necessary user confirmation. The exploit could be reliably executed if an attacker had the capability to introduce untrusted content into a Claude Code context window. The issue has been subsequently resolved in version 2.0.57.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
claude-code < 2.0.57
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
