CVE-2025-59041
published high CVSS 4.0 · 8.7Claude Code vulnerable to arbitrary code execution caused by maliciously configured git email
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| anthropics | — | claude-code< 1.0.105 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| anthropics | claude-code | < 1.0.105 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
1Provider assertions
2GitHub_M · cna
Claude Code vulnerable to arbitrary code execution caused by maliciously configured git email
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e4d4c450d37c602c9fa96694b17e21b4840b20fe5db1593a6a7e1ac5f93ef4e7
- Ingested
- 23 Sep 2026, 08:54:07 UTC
- Source record
- Official CVE record