CVE-2025-59041: Claude Code arbitrary code execution via git config email
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
An unescaped shell command interpolation in Claude Code allowed arbitrary command execution when parsing a malicious git email configuration. The issue was addressed in version 1.0.105.
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
- 10 Sep 2025
- first reported
- 10 Sep 2025
- 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-2025-59041 · rce · git
- record
- created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z · json
Sources · 2
- 2025-09-10CVE-2025-59041: Claude Code vulnerable to arbitrary code execution caused by maliciously configured git emailGitHub Advisory Database · github.com/advisories/GHSA-j4h9-wv2m-wrf7
- 2025-09-10CVE-2025-59041: Claude Code is an agentic coding tool.NVD · nvd.nist.gov/vuln/detail/CVE-2025-59041
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
- 2025-10-03CVE-2025-59829: Claude Code symlink permission bypass vulnerability2 Disclosedon AIInfra vuln2 src
- 2025-10-03CVE-2025-59536: Claude Code startup trust dialog code injection vulnerability2 Disclosedon AIInfra vuln2 src
- 2025-09-24CVE-2025-59828: Claude Code vulnerable to arbitrary code execution via Yarn2 Disclosedon AIInfra vuln2 src
- 2025-09-10CVE-2025-58764: Claude Code command parsing bypasses confirmation prompt2 Disclosedon AIInfra vuln2 src
- 2025-09-03Claude Code Arbitrary Code Execution via Insufficient Startup Warning2 Disclosedon AIInfra vuln1 src
- 2025-08-16CVE-2025-55284: Claude Code Allowlist Bypass Enables Unauthorized File Read2 Disclosedon AIInfra vulnPrompt inj.2 src