{"id":"CVE-2025-59041","published":"2025-09-10T15:07:50Z","modified":"2025-10-15T16:00:49Z","title":"Claude Code vulnerable to arbitrary code execution caused by maliciously configured git email","vendor":"anthropics","product":"claude-code","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01021,"percentile":0.62506,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-j4h9-wv2m-wrf7","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.6,"factors":[{"name":"EPSS percentile","points":12.5},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"anthropics","affectedVersions":[{"vendor":"anthropics","product":"claude-code","versions":["< 1.0.105"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-10-15T16:00:32.713619Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@anthropic-ai/claude-code","vulnerableRanges":["<1.0.105"],"patched":["1.0.105"],"from":["GHSA-j4h9-wv2m-wrf7"],"provenance":"source"}],"summary":{"text":"Claude Code, Anthropic's agentic coding tool, executed a command built from the git user.email configuration value at startup, so a maliciously set email could inject code into that command. An attacker who can get a crafted git email configured in a workspace can run arbitrary code over the network with no privileges, but only if the user takes an interaction step, and this occurs before the user accepts the workspace trust dialog.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:10Z"},"euvd":{"id":"EUVD-2025-27563","exploited":false,"provenance":"source"}}