go-git is an extensible git implementation library written in pure Go. Prior to 5.19.1 and 6.0.0-alpha.4, go-git's SSH transport constructs the remote exec command by wrapping the repository path in single quotes without escaping single quotes embedded inside the path. A reposito...
Product
go-git project go-git vulnerabilities
11 published CVES affecting go-git project go-git, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 11
- Critical
- 2
- High
- 4
- Medium
- 3
- Low
- 2
- Unscored
- 0
- CISA KEV
- 0
Latest go-git project go-git CVEs
Newest publication first
-
LowCVSS 2.3 EPSS 0.37%
-
CVE-2026-45571 go-git: Crafted repositories may modify main and submodule .git directories
PublishedMediumCVSS 5.4 EPSS 0.30%go-git is an extensible git implementation library written in pure Go. Prior to 5.19.1 and 6.0.0-alpha.4, a path validation issue in go-git could allow crafted repository data to affect files outside the intended checkout target, including the repository's .git directory. These v...
-
HighCVSS 7.0 EPSS 0.16%
go-git is an extensible git implementation library written in pure Go. Prior to 5.19.0 and 6.0.0-alpha.3, go-git may parse malformed Git objects in a way that differs from upstream Git. When commit or tag objects contain ambiguous or malformed headers, go-git’s decoded representa...
-
HighCVSS 7.4 EPSS 0.26%
go-git is an extensible git implementation library written in pure Go. Prior to versions 5.18.0 and 6.0.0-alpha.2, go-git may leak HTTP authentication credentials when following redirects during smart-HTTP clone and fetch operations. This issue has been patched in versions 5.18.0...
-
LowCVSS 2.8 EPSS 0.18%
go-git is an extensible git implementation library written in pure Go. Prior to version 5.17.1, go-git’s index decoder for format version 4 fails to validate the path name prefix length before applying it to the previously decoded path name. A maliciously crafted index file can t...
-
CVE-2026-34165 go-git: Maliciously crafted idx file can cause asymmetric memory consumption
PublishedMediumCVSS 5.0 EPSS 0.15%go-git is an extensible git implementation library written in pure Go. From version 5.0.0 to before version 5.17.1, a vulnerability has been identified in which a maliciously crafted .idx file can cause asymmetric memory consumption, potentially exhausting available memory and re...
-
MediumCVSS 4.3 EPSS 0.16%
go-git is a highly extensible git implementation library written in pure Go. Prior to 5.16.5, a vulnerability was discovered in go-git whereby data integrity values for .pack and .idx files were not properly verified. This resulted in go-git potentially consuming corrupted files,...
-
CVE-2025-21614 go-git clients vulnerable to DoS via maliciously crafted Git server replies
PublishedHighCVSS 7.5 EPSS 0.72%go-git is a highly extensible git implementation library written in pure Go. A denial of service (DoS) vulnerability was discovered in go-git versions prior to v5.13. This vulnerability allows an attacker to perform denial of service attacks by providing specially crafted respons...
-
CriticalCVSS 9.2 EPSS 1.3%
go-git is a highly extensible git implementation library written in pure Go. An argument injection vulnerability was discovered in go-git versions prior to v5.13. Successful exploitation of this vulnerability could allow an attacker to set arbitrary values to git-upload-pack flag...
-
CriticalCVSS 9.8 EPSS 1.5%
A path traversal vulnerability was discovered in go-git versions prior to v5.11. This vulnerability allows an attacker to create and amend files across the filesystem. In the worse case scenario, remote code execution could be achieved. Applications are only affected if they are...
-
HighCVSS 7.5 EPSS 0.70%
A denial of service (DoS) vulnerability was discovered in go-git versions prior to v5.11. This vulnerability allows an attacker to perform denial of service attacks by providing specially crafted responses from a Git server which triggers resource exhaustion in go-git clients. Ap...
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.