Arbitrary data can be read or written through git-fast-import(1) and git-fast-export(1) features not marked unsafe
Vendor
git vulnerabilities
36 published CVES affecting git, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 36
- Critical
- 4
- High
- 20
- Medium
- 9
- Low
- 3
- Unscored
- 0
- CISA KEV
- 1
Products
Latest git CVEs
Newest publication first · page 1 of 2
-
MediumCVSS 4.4 EPSS 0.23%
-
MediumCVSS 4.4 EPSS 0.25%
Out-of-bounds read can crash git-apply(1) when binary patch inflates to very large size
-
HighCVSS 8.1 EPSS 4.5% CISA KEV added 2025-08-25 Exploited in the wild
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). When writing a config...
-
HighCVSS 8.6 EPSS 1.1%
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 server, which allows th...
-
MediumCVSS 6.3 EPSS 0.43%
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. The wincred credential helper uses a static buffer (target) as a unique key for storing and comparing against int...
-
HighCVSS 7.5 EPSS 0.51%
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 "remote:" and printed d...
-
LowCVSS 2.1 EPSS 0.65%
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 Git asks for credentials via a terminal prompt (i.e. without using any credential helper), it prints out the...
-
CVE-2024-52006 Newline confusion in credential helpers can lead to credential exfiltration in git
PublishedLowCVSS 2.1 EPSS 1.0%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 credential helpers. So...
-
MediumCVSS 5.3 EPSS 0.95%
All versions of the package git-shallow-clone are vulnerable to Command injection due to missing sanitization or mitigation flags in the process variable of the gitShallowClone function.
-
HighCVSS 7.8 EPSS 1.0%
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 untrusted source reposi...
-
HighCVSS 7.1 EPSS 1.0%
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 same filesystem as th...
-
LowCVSS 3.3 EPSS 0.52%
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, local clones may end up hardlinking files into the target repository's object database when source and target repository reside on the same disk. If the source reposito...
-
HighCVSS 7.8 EPSS 1.4%
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...
-
CriticalCVSS 9.0 EPSS 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 worktree but into a...
-
HighCVSS 7.8 EPSS 5.6%
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 a bug in config.c::git...
-
HighCVSS 7.5 EPSS 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 partially controlled c...
-
HighCVSS 7.5 EPSS 1.1%
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 as the user who is run...
-
CVE-2023-22490 Git vulnerable to local clone-based data exfiltration with non-local transports
PublishedMediumCVSS 5.5 EPSS 0.71%Git is a revision control system. Using a specially-crafted repository, Git 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 can be tricked into using its local clone optimization even when using a non-local transport. Though Gi...
-
CriticalCVSS 9.8 EPSS 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 should be set for pat...
-
CVE-2022-41903 Integer overflow in `git archive`, `git log --format` leading to RCE in git
PublishedCriticalCVSS 9.8 EPSS 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, there is a integer overflow in...
-
HighCVSS 8.8 EPSS 4.0%
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 2.37.4, the function t...
-
CVE-2022-39253 Git subject to exposure of sensitive information via local clone of symbolic links
PublishedMediumCVSS 5.5 EPSS 1.5%Git is an open source, scalable, distributed revision control system. 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 2.37.4 are subject to exposure of sensitive information to a malicious actor. When performing a local clone (where the source and ta...
-
HighCVSS 7.8 EPSS 0.45%
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 in CVE-2022-24765, fo...
-
CVE-2022-25648 Command Injection
PublishedCriticalCVSS 9.8 EPSS 4.6% PoCThe 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. The additional flags...
-
HighCVSS 7.5 EPSS 88.5% Framework module
Git is an open-source distributed revision control system. In affected versions of Git a specially crafted repository that contains symbolic links as well as files using a clean/smudge filter such as Git LFS, may cause just-checked out script to be executed while cloning onto a c...
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.