CVE 8.7 HIGH

Claude Code vulnerable to arbitrary code execution caused by maliciously configured git email_CVE-2025-59041

8.7 / 10
HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

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.

Basic Information

ID CVE-2025-59041
Source GitHub_M
Published Sep 10, 2025 at 15:07

Affected Product

Vendor anthropics
Product claude-code
Version < 1.0.105
Affected Versions anthropics claude-code < 1.0.105

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.