CVE-2025-59041

Severity CVSS v4.0:
HIGH
Type:
CWE-94 Code Injection
Publication date:
10/09/2025
Last modified:
22/10/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:* 1.0.105 (excluding)