VulnerabilityCVE-2026-25722GHSA-66q4-vfjg-2qhh
Claude Code Vulnerable to Command Injection via Directory Change Bypasses Write Protection
Not on CISA KEVCVSS 7.7 (v4.0)
Summary
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
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- CVE List Source: CVE Program (cve.org)
- GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)