cvedb.io
CVE-2026-25722
CRITICAL · CVSS 9.1
EPSS exploitation probability: 0%
Published 2026-02-06T18:15:59.077 · Last modified 2026-06-17T10:25:06.257

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 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.

Affected products

anthropic — claude_code

Does this affect you?

Add your gear to cvedb and we'll alert you only when anthropic ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.