Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2024-32002
git

Score9 Critical
CVSS 3.1
Exploit probability (EPSS)9.3%
within the next 30 days
CategoryCode execution & injection
Published14 May 2024
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Special conditions are required for a successful attack, which makes exploitation harder.

The impact can spread beyond the vulnerable component.

Weakness type: Path traversal.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official 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, 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: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Weakness: CWE-22 – Path traversal, CWE-434 – Unrestricted file upload, CWE-59

Affected products

VendorProductVersions
gitgit<2.39.4
gitgit>=2.40.0 <2.40.2
gitgit>=2.42.0 <2.42.2
gitgit>=2.43.0 <2.43.4
gitgit2.41.0
gitgit2.44.0
gitgit2.45.0

Sources

Latest in the same category

  • CVE-2026-138421 Low 2
    A security vulnerability has been detected in youseries UReport up to 2.2.9. This affects the function saveReportFile of the file…
    Code execution & injection · 30 November 2026
  • CVE-2026-138420 Low 2
    A weakness has been identified in youseries UReport up to 2.2.9. The impacted element is the function buildExceptionMessage of the file…
    Code execution & injection · 30 November 2026
  • CVE-2026-138419 Low 2
    A security flaw has been discovered in youseries UReport up to 2.2.9. The affected element is the function buildTitle of the file HtmlPreviewServletAction.java of the component HTML Preview. The manipulation of the…
    Code execution & injection · 30 November 2026
  • CVE-2026-138418 Low 2.1
    A vulnerability was identified in youseries UReport up to 2.2.9. Impacted is the function service of the file ureport2-console/src/main/java/com/bstek/ureport/console/UReportServlet.java of the component…
    Code execution & injection · 30 November 2026
  • CVE-2026-133637 Not scored
    Improper neutralization of special elements used in an expression language statement ('Expression Language Injection') vulnerability in Apache Struts. If the application uses the Bean Validation plugin, a validation…
    Code execution & injection · 30 November 2026
  • CVE-2026-81063 Low 2.5
    Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability. A low privileged local…
    Code execution & injection · 30 November 2026