Skip to main content
HIGH

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.

Set up CVE WatchFree account · no credit card

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

  • CVE-2024-32004 Red Hat Product Security441 products fixed · 32 known affected

    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

  • RHSA-2024:7701 Red Hat Product Security20 products fixed

    Red Hat Security Advisory: git security update

  • RHSA-2024:6610 Red Hat Product Security51 products fixed

    Red Hat Security Advisory: git security update

  • RHSA-2024:6027 Red Hat Product Security93 products fixed

    Red Hat Security Advisory: git security update

  • RHSA-2024:6028 Red Hat Product Security73 products fixed

    Red Hat Security Advisory: git security update

  • RHSA-2024:4579 Red Hat Product Security51 products fixed

    Red Hat Security Advisory: git security update

3 more advisories

Full record on NVD

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?

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.

Is CVE-2024-32004 actively exploited?

Active exploitation of CVE-2024-32004 has not been confirmed. Its EPSS score was 1.4% on 2026-10-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-32004?

CVE-2024-32004 has a CVSS v3 base score of 8.1 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H.

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