patchminder
Proof of concept · CISA assessment CVE-2024-32021

Vulnerabilityin Git.

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

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).

Severity
Low 3.9
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.0% 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, when cloning a local source repository that contains symlinks via the filesystem, Git may create hardlinks to arbitrary user-readable files on the same filesystem as the target repository in the `objects/` directory. Cloning a local repository over the filesystem may creating hardlinks to arbitrary user-owned files on the same filesystem in the target Git repository's `objects/` directory. When cloning a repository over the filesystem (without explicitly specifying the `file://` protocol or `--no-local`), the optimizations for local cloning will be used, which include attempting to hard link the object files instead of copying them.

What to do now
  • Upgrade git to 2.39.4, 2.40.2, 2.41.1, 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
before 2.39.4
2.39.4
CISA
git
2.40.0 to before 2.40.2
2.40.2
CISA
git
2.41.0 to before 2.41.1
2.41.1
CISA
git
2.42.0 to before 2.42.2
2.42.2
CISA
git
2.43.0 to before 2.43.4
2.43.4
CISA
git
2.44.0 to before 2.44.1
2.44.1
CISA
git
2.45.0 to before 2.45.1
2.45.1
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. 9 Apr 2024
    CVE ID reserved by GitHub_M.
  2. 14 May 2024
    Published in the CVE List.
  3. 4 Nov 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

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

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

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-547 vulnerabilities

References
Cite this page

Patchminder. CVE-2024-32021: Vulnerability in Git. https://patchminder.com/cve/cve-2024-32021/ (accessed 5 December 2026).