CVE-2026-25722: Claude Code Directory Change Write Protection Bypass
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
Claude Code failed to properly validate directory changes combined with write operations, allowing unauthorized file modifications. Users received automated fixes through the standard update channel.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Anthropic, Framework / tooling
- products
- Claude Code
- incident date
- 6 Feb 2026
- first reported
- 6 Feb 2026
- origin
- GitHub Advisory DatabaseVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2026-25722 · write-restriction-bypass · claude-code
- record
- created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z · json
Sources · 2
- 2026-02-06CVE-2026-25722: Claude Code Vulnerable to Command Injection via Directory Change Bypasses Write ProtectionGitHub Advisory Database · github.com/advisories/GHSA-66q4-vfjg-2qhh
- 2026-02-06CVE-2026-25722: Claude Code is an agentic coding tool.NVD · nvd.nist.gov/vuln/detail/CVE-2026-25722
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2026-02-06CVE-2026-25723: Claude Code Command Injection Bypass2 Disclosedon AIInfra vuln2 src
- 2026-02-06CVE-2026-25725: Claude Code Sandbox Escape via Settings Injection2 Disclosedon AIInfra vuln2 src
- 2026-02-06CVE-2026-25724: Claude Code Permission Deny Bypass2 Disclosedon AIInfra vuln2 src
- 2026-01-21CVE-2026-21852: Claude Code Data Leak via Malicious Config2 Disclosedon AIInfra vulnData leak2 src
- 2026-06-29CVE-2026-55607: Claude Code sandbox escape via git worktree path confusion2 Disclosedon AIPrompt inj.Infra vuln2 src
- 2026-06-25CVE-2026-46406: Anthropic Claude Code Insecure Temporary File Handling in Copy Command2 Disclosedon AIInfra vuln2 src