CyberSecBulletin

Git vulnerabilities

We track 17 vulnerabilities in Git products. 17 are rated high or critical, and 1 has been exploited in real attacks. The most recent was published on November 10, 2026.

17vulnerabilities
4critical
13high
1exploited
8.3average CVSS score

Latest Git vulnerabilities

  • 7.5 High severity

    Git: Heap-based Buffer Overflow

    CVE-2026-105437Git

    Affected versions of Git have a heap buffer overflow in the three-way merge code (xdiff), which an attacker can trigger through a repository they control. When Git merges a file, it first adds up the size of the merged output, allocates a buffer of that size,

  • 8.6 High severity

    git: External Control of File Name or Path

    CVE-2025-48385GitEPSS 1.06%

    Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. When cloning a repository Git knows to optionally fetch a bundle advertised by the remote ser

  • 8.0 High severity

    Git Link Following Exploited

    CVE-2025-48384GitEPSS 4.48%

    Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. When reading a config value, Git strips any trailing carriage return and line feed (CRLF). Wh

  • 8.8 High severity

    git: Improper Encoding or Escaping of Output

    CVE-2024-52005Git

    Git is a source code management tool. When cloning from a server (or fetching, or pushing), informational or error messages are transported from the remote Git process to the client via the so-called "sideband channel". These messages will be prefixed with "re

  • 7.5 High severity

    git: Improper Encoding or Escaping of Output

    CVE-2024-52006GitEPSS 1.03%

    Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. Git defines a line-based protocol that is used to exchange information between Git and Git cr

  • 7.8 High severity

    git: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2024-32465GitEPSS 1.03%

    Git is a revision control system. The Git project recommends to avoid working in untrusted repositories, and instead to clone it first with `git clone --no-local` to obtain a clean copy. Git has specific protections to make that a safe operation even with an u

  • 7.1 High severity

    git: Use of Hard-coded, Security-relevant Constants

    CVE-2024-32021GitEPSS 1.02%

    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 s

  • 7.8 High severity

    git: Process Control

    CVE-2024-32004GitEPSS 1.35%

    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 p

  • 9.0 Critical severity

    git: Improper Link Resolution Before File Access

    CVE-2024-32002GitEPSS 29.2%

    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

  • 7.8 High severity

    git: Improper Neutralization of Special Elements in Output Used by a Downstream Component

    CVE-2023-29007GitEPSS 5.61%

    Git is a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, a specially crafted `.gitmodules` file with submodule URLs that are longer than 1024 characters can used to exploit

  • 7.5 High severity

    git: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2023-25652GitEPSS 51.9%

    Git is a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, by feeding specially crafted input to `git apply --reject`, a path outside the working tree can be overwritten with

  • 7.5 High severity

    git: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2023-23946GitEPSS 1.14%

    Git, a revision control system, is vulnerable to path traversal prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2.30.8. By feeding a crafted input to `git apply`, a path outside the working tree can be overwritten

  • 9.8 Critical severity

    git: Integer Overflow or Wraparound

    CVE-2022-41903GitEPSS 44.3%

    Git is distributed revision control system. `git log` can display commits in an arbitrary format using its `--format` specifiers. This functionality is also exposed to `git archive` via the `export-subst` gitattribute. When processing the padding operators, th

  • 9.8 Critical severity

    git: Integer Overflow or Wraparound

    CVE-2022-23521GitEPSS 56.3%

    Git is distributed revision control system. gitattributes are a mechanism to allow defining attributes for paths. These attributes can be defined by adding a `.gitattributes` file to the repository, which contains a set of file patterns and the attributes that

  • 8.8 High severity

    git: Out-of-bounds Write

    CVE-2022-39260GitEPSS 3.99%

    Git is an open source, scalable, distributed revision control system. `git shell` is a restricted login shell that can be used to implement Git's push/pull functionality via SSH. In versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and

  • 7.8 High severity

    git: Uncontrolled Search Path Element

    CVE-2022-29187Git

    Git is a distributed revision control system. Git prior to versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5, is vulnerable to privilege escalation in all platforms. An unsuspecting user could still be affected by the issue reported i

  • 9.8 Critical severity

    git: Improper Neutralization of Argument Delimiters in a Command

    CVE-2022-25648GitEPSS 4.59%

    The package git before 1.11.0 are vulnerable to Command Injection via git argument injection. When calling the fetch(remote = 'origin', opts = {}) function, the remote parameter is passed to the git fetch subcommand in a way that additional flags can be set. T