9.1

CVE-2026-25722: anthropic claude_code Improper Input Validation

CVSS: 9.1v3.1CriticalAnalyzed
AliasesGHSA-66q4-vfjg-2qhh
Published 06-02-2026Last modified 06-02-2026

Vulnerability summary

CVE-2026-25722 is a critical (CVSS 9.1) Improper Input Validation vulnerability in anthropic claude_code. EPSS estimates a 0.70% chance of exploitation in the next 30 days, higher than 52.4% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.1/10
010
Critical · v3.1 (NVD)
EPSS score
0.70%
0%100%
Low · +0.33 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 06-02-2026
    PublishedVulnerability first disclosed.
  2. 06-02-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.70%

Chance of exploitation in the next 30 days

Percentile

52%

Versus all other CVEs

30-day change

+0.33 pp

From 0.36% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.70%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

@anthropic-ai1 product
  • claude-code< 2.0.57
Anthropic1 product
Anthropics1 product

3 vendors · 3 products

References

3 links