Skip to content
CriticalVulnerabilityLLM-specific

CVE-2025-59041: Claude Code code execution via malicious git user email before workspace trust

Identifier
CVE-2025-59041
Published
Record updated
View JSON
Affected
  • @anthropic-ai/claude-code < 1.0.105
Fixed in
1.0.105
  • released September 4, 2025, 6 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%

Summary

CVE-2025-59041 affects Claude Code, an agentic coding tool. At startup, Claude Code executed a command templated in with `git config user.email`, so a maliciously configured user email in git could trigger arbitrary code execution before the user accepted the workspace trust dialog in versions prior to 1.0.105.

Mitigation

Fixed in version 1.0.105. Users on standard Claude Code auto-update received the fix automatically; users performing manual updates are advised to update to version 1.0.105 or the latest version.