CVE-2024-32002
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, repositories with submodules can be crafted in a way that exploits a bug in Git whereby it can be fooled into writing files not into the submodule's worktree but into a `.git/` directory. This allows writing a hook that will be executed while the clone operation is still running, giving the user no opportunity to inspect the code that is being executed. 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. If symbolic link support is disabled in Git (e.g. via `git config --global core.symlinks false`), the described attack won't work. As always, it is best to avoid cloning repositories from untrusted sources.
- CVSS
- 9.0Critical
- Exploited in the wild
- Not knownUnvetted proof-of-concept code on GitHub; not in CISA KEV
- EPSS
- 29.2%chance of exploitation in the next 30 daystop 2% of scored CVEsFIRST score of 11 Nov 2026
- Fix
- Patch availablesee the advisories in the references
- Published
- 14 May 2024analysed here 12 Nov 2026
Summary
Triage
- Attack surface
- Server-side
- Exploitable
- At runtime
- Attack vector
- network
- Can a WAF block it?
- Yes. See why
The summary, impact and action text on this page are written by our AI analysis pipeline, or taken from the NVD description when a CVE was imported from NVD. They are not the vendor's wording: check them against the sources. A longer AI executive summary and technical analysis are generated for signed-in accounts on the Max plan.
Affected products
| Product | Affected versions | Vendor says fixed in |
|---|---|---|
| git | = 2.45.0= 2.44.0>= 2.43.0 and < 2.43.4>= 2.42.0 and < 2.42.2= 2.41.0>= 2.40.0 and < 2.40.2< 2.39.4Vendor says fixed in: not stated |
As published in the CVE Program record. A version outside these ranges is not a statement that it is unaffected — vendors sometimes understate a range, and distribution-backported builds carry upstream numbers that do not reflect what was patched into them.
Products named in our analysis
- git:git
Fix and mitigation
WAF and other mitigations
Can a WAF block it? Yes. Path traversal sends `../` sequences in the request, which WAF rules catch, including the common encodings.
Also consider: canonical path validation · MIME sniff · sandbox storage
Based on the weakness type only; no CVE-specific evidence yet. We check Cloudflare, AWS, Google Cloud Armor and Azure; for Akamai, Imperva, Fastly, F5, ask your vendor.
Remediation steps (AI-written)
Step-by-step remediation is generated for accounts on the Max plan, for CVEs that match a technology in their stack. Add this technology to your stack to see the fix checklist.
Exploitation evidence
- CISA KEV catalog
- Not listed as of our last sync.
- Public exploit code
- Unvetted proof-of-concept code on GitHub: 64 GitHub proofs of concept
- CISA SSVC
- exploitation poc, automatable no, technical impact totalAssessed by CISA 29 May 2024 (SSVC 2.0.3). Exploitation is none, poc (public proof of concept) or active.
GitHub proofs of concept
- amalmurali47/git_rce533 stars
- safebuffer/CVE-2024-32002108 stars
- amalmurali47/hook18 stars
- M507/CVE-2024-3200210 stars
and 60 more repositories
Listed so you can judge urgency, not as a recommendation to run anything. GitHub “proofs of concept” are unvetted: some are fake or carry malware. Exploit-DB marks the entries its staff verified.
Timeline
- 14 May 2024Published
- 17 May 2024First proof-of-concept repository on GitHub (unvetted)2 days later
- 29 May 2024CISA SSVC assessment: exploitation poc13 days later
- 4 Nov 2025CVE record last updated524 days (about 1 year) later
- 12 Nov 2026Analysed by vulneraibility.com373 days (about 1 year) later
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
| Metric | Value | What it means |
|---|---|---|
| Attack vector | NetworkReachable over the internet or any routable network. | Reachable over the internet or any routable network. |
| Attack complexity | HighNeeds specific conditions, a race or a particular configuration. | Needs specific conditions, a race or a particular configuration. |
| Privileges required | NoneThe attacker needs no prior access. | The attacker needs no prior access. |
| User interaction | NoneNo victim action needed. | No victim action needed. |
| Scope | ChangedImpact crosses a security boundary into other components. | Impact crosses a security boundary into other components. |
| Confidentiality | HighTotal data disclosure possible. | Total data disclosure possible. |
| Integrity | HighComplete modification possible. | Complete modification possible. |
| Availability | HighFull outage possible. | Full outage possible. |
Common questions
Is CVE-2024-32002 being exploited?
Not confirmed. CVE-2024-32002 does not appear in CISA's Known Exploited Vulnerabilities catalog, which records only exploitation that has been observed and reported publicly. That is evidence of absence of a report, not evidence the flaw is unattacked. EPSS currently estimates a 29% probability of exploitation in the next 30 days.
How severe is CVE-2024-32002?
CVE-2024-32002 is rated Critical with a CVSS score of 9.0. Severity describes how bad exploitation would be, not how likely it is: pair it with exploitation evidence before deciding what to patch first.
Is there a patch for CVE-2024-32002?
Yes. A fix has been recorded for CVE-2024-32002. The vendor advisory is the authority on the exact fixed version — apply it from there rather than from a summary.
What does CVE-2024-32002 affect?
CVE-2024-32002 affects git:git. Confirm the exact affected versions against the vendor advisory before deciding you are exposed.
Exploitation status reflects CISA's KEV catalog as we last synced it. Check the catalog directly.
References
8 references in the CVE record, grouped by the tags the record gives them.
Other links (8)
- github.com /git/git/security/advisories/GHSA-8h77-4q3w-gfgv
- github.com /git/git/commit/97065761333fd62db1912d81b489db938d8c991d
- git-scm.com /docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt
- git-scm.com /docs/git-config#Documentation/git-config.txt-coresymlinks
- lists.fedoraproject.org /archives/list/[email protected]/message/S4CK4IYTXEOBZTEM
- openwall.com /lists/oss-security/2024/05/14/2
Show 2 more
- lists.debian.org /debian-lts-announce/2024/06/msg00018.html
- lists.debian.org /debian-lts-announce/2024/09/msg00009.html
Where the data on this page comes from
- CVE List (CVE.org): description, affected versions, references; CVE Terms of Use
- NVD: CVSS and CPE data
- CISA Vulnrichment (ADP): SSVC decision points
- FIRST EPSS: exploit probability and percentile
- PoC-in-GitHub: GitHub repositories that claim a proof of concept
Summary, impact and triage tags: written by our AI analysis pipeline from the sources above. Check them against the sources.
Similar CVEs
Get CVEs like this by email. Join the free digest: the CVEs we flag as major, all CVSS 8.0 or higher, in up to three emails a day (sent at 05:00, 11:00 and 15:00 UTC). Matching alerts to the products you run needs an account, and accounts are invite-only during the beta.