7.7

CVE-2026-25723: anthropic claude_code Improper Input Validation

CVSS: 7.7v4.0HighAnalyzed
AliasesGHSA-mhg7-666j-cqg4
Published 06-02-2026Last modified 06-02-2026

Vulnerability summary

CVE-2026-25723 is a high (CVSS 7.7) Improper Input Validation vulnerability in anthropic claude_code. EPSS estimates a 0.53% chance of exploitation in the next 30 days, higher than 43.9% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.7/10
010
High · v4.0 (CVE.org)
EPSS score
0.53%
0%100%
Low · +0.26 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.55, Claude Code failed to properly validate commands using piped sed operations with the echo command, allowing attackers to bypass file write restrictions. This vulnerability enabled writing to sensitive directories like the .claude folder and paths outside the project scope. Exploiting this required the ability to execute commands through Claude Code with the "accept edits" feature enabled. This issue has been patched in version 2.0.55.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.53%

Chance of exploitation in the next 30 days

Percentile

44%

Versus all other CVEs

30-day change

+0.26 pp

From 0.27% on 21-09-2026

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

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.55
Anthropic1 product
Anthropics1 product

3 vendors · 3 products

References

3 links