CVE-2025-59041

Source
https://cve.org/CVERecord?id=CVE-2025-59041
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59041.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-59041
Aliases
Published
2025-09-10T15:07:50.396Z
Modified
2026-04-10T05:31:43.648253Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Claude Code vulnerable to arbitrary code execution caused by maliciously configured git email
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59041.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git /

Affected ranges

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "fixed": "1.0.105"
            }
        ]
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59041.json"