gcdRadar
archive/Patch now/AIR-2025-0333
closedclosed 10 Sep 2025Patch now2 Disclosed vulnerabilityAI

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

Timeline · 2

  1. 10 Sep 2025CVE-2025-59041: Claude Code vulnerable to arbitrary code execution caused by maliciously configured git email
  2. 10 Sep 2025CVE-2025-59041: Claude Code is an agentic coding tool.

Sources · 2

Advisories and databases

  1. 2025-09-10
  2. 2025-09-10
    CVE-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

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
tags
rcegit
dates
happened 10 Sep 2025 · first reported 10 Sep 2025
origin
GitHub Advisory Database
Vulnerability 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

  1. closed2.3
    Claude Code + SDKs CVE-2025-59829: Claude Code symlink permission bypass vulnerability

    Patch now · Disclosed · since 3 Oct 2025 · CVE-2025-59829

    AI
  2. closed8.7
    AI
  3. closed7.7
    AI
  4. closed8.7
    Claude Code + SDKs CVE-2025-58764: Claude Code command parsing bypasses confirmation prompt

    Patch now · Disclosed · since 10 Sep 2025 · CVE-2025-58764

    AI
  5. closed
    AI
  6. closed7.1
    Claude 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