CVE-2024-32004
Git vulnerable to Remote Code Execution while cloning special-crafted local repositories
CVSS v3
8.1
HIGH
EPSS Score
1.4 %
exploit probability, as of 2026-10-18
CISA KEV
No
known exploited
Exploitation
none
SSVC status
Get an alert for each new CVE published for git.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- gitBitnamiall versions · fixed in 2.39.4
- gitAlmaLinux:9all versions · fixed in 2.43.5-1.el9_4and 14 other packages
- gitAlmaLinux:8all versions · fixed in 2.43.5-1.el8_10and 14 other packages
Vendor advisories
git: RCE while cloning local repos
emacs-git as a component of Red Hat Enterprise Linux 6 · emacs-git-el as a component of Red Hat Enterprise Linux 6 · git as a component of Red Hat Enterprise Linux 6
Red Hat Security Advisory: git security update
Red Hat Security Advisory: git security update
Red Hat Security Advisory: git security update
Red Hat Security Advisory: git security update
Red Hat Security Advisory: git security update
3 more advisories
Description
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.
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- Published
- 2024-05-14
- Last Modified
- 2026-01-06
Frequently asked questions
What is CVE-2024-32004?
Is CVE-2024-32004 actively exploited?
What is the CVSS score for CVE-2024-32004?
Running git? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2025-48384KEVsame productGit allows arbitrary code execution through broken config quoting
- CVE-2024-32002same productGit's recursive clones on case-insensitive filesystems that support symlinks are susceptible to Remote Code Execution
- CVE-2022-25648same product
- CVE-2024-32465same product
- CVE-2025-46835same product
- CVE-2025-48386same product
- CVE-2025-27614same productGitk allows arbitrary command execution
- CVE-2024-4947KEVsame week