patchminder
Proof of concept · GitHub CVE-2024-32004

Remote code executionin Git.

Published 14 May 2024 · Updated 4 Nov 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 8.2
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.4% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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.

What to do now
  • Upgrade git to 2.39.4, 2.40.2, 2.42.2, 2.43.4 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
git
2.45.0
Not confirmed
CISA
git
2.44.0
Not confirmed
CISA
git
2.43.0 to before 2.43.4
2.43.4
CISA
git
2.42.0 to before 2.42.2
2.42.2
CISA
git
2.41.0
Not confirmed
CISA
git
2.40.0 to before 2.40.2
2.40.2
CISA
git
before 2.39.4
2.39.4
CISA

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 8 Apr 2024
    CVE ID reserved by GitHub_M.
  2. 14 May 2024
    Published in the CVE List.
  3. 19 May 2024
    First public proof of concept on GitHub.
  4. 4 Nov 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
2 repositories
GitHubno warning signs foundWadewfsssss/CVE-2024-320040 stars · created 19 May 2024
GitHubno warning signs found10cks/CVE-2024-32004-POC0 stars · created 20 May 2024

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.

Related

Other Git vulnerabilities

Same weakness:

All CWE-114 vulnerabilities

References
Cite this page

Patchminder. CVE-2024-32004: Remote code execution in Git. https://patchminder.com/cve/cve-2024-32004/ (accessed 5 December 2026).