9.8

CVE-2025-59041: anthropic claude_code Code Injection

CVSS: 9.8v3.1CriticalAnalyzed
AliasesGHSA-j4h9-wv2m-wrf7
Published 10-09-2025Last modified 15-10-2025

Vulnerability summary

CVE-2025-59041 is a critical (CVSS 9.8) Code Injection vulnerability in anthropic claude_code. EPSS estimates a 0.55% chance of exploitation in the next 30 days, higher than 44.8% of scored vulnerabilities.

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

Timeline

  1. 10-09-2025
    PublishedVulnerability first disclosed.
  2. 15-10-2025
    Last modifiedVulnerability information updated.

Description

Claude Code is an agentic coding tool. At startup, Claude Code executed a command templated in with `git config user.email`. Prior to version 1.0.105, a maliciously configured user email in git could be used to trigger arbitrary code execution before a user accepted the workspace trust dialog. Users on standard Claude Code auto-update will have received this fix automatically. Users performing manual updates are advised to update to version 1.0.105 or the latest version.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.55%

Chance of exploitation in the next 30 days

Percentile

45%

Versus all other CVEs

30-day change

0.00 pp

From 0.55% on 21-09-2026

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

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< 1.0.105
Anthropic1 product
Anthropics1 product

3 vendors · 3 products

References

4 links