CVE-2025-59041: Claude Code arbitrary code execution via git config email
Claude Code
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
- CVSS
- 8.5
- EPSS
- 0.01 · top 54% · 2026-11-13
- fix status
- Fix status unknown
- first report
- 10 Sep 2025
- last update
- 10 Sep 2025
- CVE ids
Timeline · 2
Sources · 2
Advisories and databases
- 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 gcdRadar in its own words; data is CC BY-SA 4.0.
Classification
- lane
- Patch now
- AI role
- Attack on AI
- categories
- Infrastructure vulnerability
- severity
- 2 · Disclosed vulnerability
- fix status
- Fix status unknown
- targets
- Anthropic, Framework / tooling
- owasp llm top 10
- LLM03:2025 Supply Chain
- mitre atlas
- no technique for these categories
- dates
- happened 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.
- record
- confidence 0.95 · created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z
Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned
Copy a brief
This record as a short Markdown brief, for a ticket, a chat or a coding agent.
the brief as text
# CVE-2025-59041: Claude Code arbitrary code execution via git config email https://gcdradar.vercel.app/incidents/cve-2025-59041-claude-code-arbitrary-code-execution-via-git · AIR-2025-0333 · closed 2025-09-10 - Lane: Patch now - Severity: 2 (Disclosed vulnerability) - Fix status: Fix status unknown - First reported: 2025-09-10 - AI role: Attack on AI - Products: Claude Code - CVE ids: CVE-2025-59041 - CVSS: 8.5 ## Summary 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. ## What to do No action recorded; read the sources below and the vendor's advisory. ## Latest updates - 2025-09-10: CVE-2025-59041: Claude Code is an agentic coding tool. (https://nvd.nist.gov/vuln/detail/CVE-2025-59041) - 2025-09-10: CVE-2025-59041: Claude Code vulnerable to arbitrary code execution caused by maliciously configured git email (https://github.com/advisories/GHSA-j4h9-wv2m-wrf7) ## Sources - 2025-09-10 GitHub Advisory Database: CVE-2025-59041: Claude Code vulnerable to arbitrary code execution caused by maliciously configured git email https://github.com/advisories/GHSA-j4h9-wv2m-wrf7 - 2025-09-10 NVD: CVE-2025-59041: Claude Code is an agentic coding tool. https://nvd.nist.gov/vuln/detail/CVE-2025-59041 Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.
Related
- closed2.3Claude Code + SDKs CVE-2025-59829: Claude Code symlink permission bypass vulnerability
Patch now · Disclosed · since 3 Oct 2025 · CVE-2025-59829
AI - closed8.7Claude Code + SDKs CVE-2025-59536: Claude Code startup trust dialog code injection vulnerability
Patch now · Disclosed · since 3 Oct 2025 · CVE-2025-59536
AI - closed7.7Claude Code + SDKs CVE-2025-59828: Claude Code vulnerable to arbitrary code execution via Yarn
Patch now · Disclosed · since 24 Sep 2025 · CVE-2025-59828
AI - closed8.7Claude Code + SDKs CVE-2025-58764: Claude Code command parsing bypasses confirmation prompt
Patch now · Disclosed · since 10 Sep 2025 · CVE-2025-58764
AI - closedClaude Code + SDKs Claude Code Arbitrary Code Execution via Insufficient Startup Warning
Patch now · Disclosed · since 3 Sep 2025
AI - closed7.1Claude Code + SDKs CVE-2025-55284: Claude Code Allowlist Bypass Enables Unauthorized File Read
Patch now · Disclosed · since 18 Aug 2025 · updated 18 Aug 2025 · CVE-2025-55284
AI