Vulnerability

CVE-2026-25722

highCVSS 4.0 7.7Published 6 Feb 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Anthropic claude code

Weakness type

References

  • github.com /anthropics/claude-code/security/advisories/GHSA-66q4-vfjg-…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning