Remote code executionin Git.
Proof of concept public (GitHub).
Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, an attacker can prepare a local repository in such a way that, when cloned, will execute arbitrary code during the operation. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4. As a workaround, avoid cloning repositories from untrusted sources.
- Upgrade git to 2.39.4, 2.40.2, 2.42.2, 2.43.4 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 8 Apr 2024CVE ID reserved by GitHub_M.
- 14 May 2024Published in the CVE List.
- 19 May 2024First public proof of concept on GitHub.
- 4 Nov 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Git vulnerabilities
Same weakness:
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- git-scm.com x_refsource_MISC
- lists.fedoraproject.org
- www.openwall.com
- lists.debian.org
- lists.debian.org
Patchminder. CVE-2024-32004: Remote code execution in Git. https://patchminder.com/cve/cve-2024-32004/ (accessed 5 December 2026).