VulnSea

go-git has 9 CVEs on record between 2023 and 2026. Disclosures have slowed: 2 in the last 90 days after 4 in the 90 before. The busiest recent month was May 2026 with 3. The median CVSS is 6.4 (medium), with 1 rated critical. None have a confirmed exploitation report. Most affected products: github.com/go-git/go-git/v5 (7), github.com/go-git/go-git/v4 (1), github.com/go-git/go-git/v6 (1).

CVEs per month

Last 12 months, by publish date

101112010203040506070809
Exploited share
0% vs 1% corpus
Median CVSS
6.4
Publish → KEV
Last 90 days
2 prev 4

Weakness classes

Products

  • github.com/go-git/go-git/v5 7
  • github.com/go-git/go-git/v4 1
  • github.com/go-git/go-git/v6 1
9
Total CVEs
1
Critical
0
CISA KEV
0
Exploited

go-git vulnerabilities

CVEs affecting go-git, newest first. Open any entry for full detail, references, and exploit status.

9 CVEsRSS

CVE-2026-71557Medium· 6.3PoC
1mo ago

go-git is an extensible git implementation library written in pure Go

go-git is an extensible git implementation library written in pure Go. Prior to 5.19.2 and 6.0.0-alpha.5, reference names are not sanitized before being used to construct on-disk paths under the reference storage directory, so a maliciou…

Twilightgo-git · github.com/go-git/go-git/v5EPSS 0.41%via NVD
GO-2026-5693None
2mo ago

Go-git: Malformed Git object data may cause panics or resource exhaustion in github.com/go-git/go-git

Go-git: Malformed Git object data may cause panics or resource exhaustion in github.com/go-git/go-git

Sunlitgo-git · github.com/go-git/go-git/v5via OSV
GHSA-w5pp-99ch-qj29Medium· 6.5
3mo ago

go-git: Malformed Git object data may cause panics or resource exhaustion

go-git: Malformed Git object data may cause panics or resource exhaustion

Sunlitgo-git · github.com/go-git/go-git/v5via OSV
CVE-2026-45571Medium· 5.4
4mo ago

go-git: Crafted repositories may modify main and submodule .git directories

go-git: Crafted repositories may modify main and submodule .git directories

Sunlitgo-git · github.com/go-git/go-git/v5EPSS 0.30%via OSV
CVE-2026-45022High
4mo ago

go-git's improper parsing of specially crafted objects may lead to inconsistent interpretation compared to upstream Git

go-git's improper parsing of specially crafted objects may lead to inconsistent interpretation compared to upstream Git

Twilightgo-git · github.com/go-git/go-git/v6EPSS 0.16%via OSV
CVE-2026-41506Medium· 4.7
5mo ago

go-git: Credential leak via cross-host redirect in smart HTTP transport

go-git: Credential leak via cross-host redirect in smart HTTP transport

Sunlitgo-git · github.com/go-git/go-git/v5EPSS 0.26%via OSV
CVE-2025-21613None
1y ago

Argument Injection via the URL field in github.com/go-git/go-git

Argument Injection via the URL field in github.com/go-git/go-git

Sunlitgo-git · github.com/go-git/go-git/v4EPSS 1.3%via OSV
CVE-2023-49569Critical· 9.8
2y ago

Maliciously crafted Git server replies can lead to path traversal and RCE on go-git clients

Maliciously crafted Git server replies can lead to path traversal and RCE on go-git clients

Midnightgo-git · github.com/go-git/go-git/v5EPSS 1.5%via OSV
CVE-2023-49568High· 7.5
2y ago

Maliciously crafted Git server replies can cause DoS on go-git clients

Maliciously crafted Git server replies can cause DoS on go-git clients

Twilightgo-git · github.com/go-git/go-git/v5EPSS 0.70%via OSV
go-git vulnerabilities (CVEs) · VulnSea