← Vulnerability feed

Vulnerability record · CVE-2026-45022 · published 27 May 2026

CVE-2026-45022: Go-git project go-git insufficient verification of data authenticity vulnerability

GGo Git Project · Go Git

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 representation may expose values differently from how Git itself would interpret or reject the same object. Additionally, go-git’s commit signing and verification logic operates over commit data reconstructed from go-git’s parsed representation rather than the original raw object bytes. As a result, go-git may sign or verify a commit payload that is not byte-for-byte equivalent to the object stored in the repository. This can cause a signature to appear valid for a commit whose displayed or effective metadata differs from the object that was intended to be signed. This vulnerability is fixed in 5.19.0 and 6.0.0-alpha.3.

7.0 CVSS 4.0 High EPSS 0.16% · top 95.7% CWE-180 · CWE-180CWE-345 · Insufficient verification of data authenticity
7.0CVSS 4.0 base score
0.16%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
1References
17 Jun 2026Last modified by NVD

Description

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 representation may expose values differently from how Git itself would interpret or reject the same object. Additionally, go-git’s commit signing and verification logic operates over commit data reconstructed from go-git’s parsed representation rather than the original raw object bytes. As a result, go-git may sign or verify a commit payload that is not byte-for-byte equivalent to the object stored in the repository. This can cause a signature to appear valid for a commit whose displayed or effective metadata differs from the object that was intended to be signed. This vulnerability is fixed in 5.19.0 and 6.0.0-alpha.3.

CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-45022 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2023-49569Go-git project go-git path traversal vulnerabilityA path traversal vulnerability was discovered in go-git versions prior to v5.11. This vulnerability allows an attacker to create and amend files acro…EPSS 1.5%9.2CVE-2025-21613Go-git project go-git argument injection vulnerabilitygo-git is a highly extensible git implementation library written in pure Go. An argument injection vulnerability was discovered in go-git versions pr…EPSS 1.3%7.5CVE-2025-21614Go-git project go-git uncontrolled resource consumption vulnerabilitygo-git is a highly extensible git implementation library written in pure Go. A denial of service (DoS) vulnerability was discovered in go-git version…EPSS 0.72%7.5CVE-2023-49568Go-git project go-git improper input validation vulnerabilityA denial of service (DoS) vulnerability was discovered in go-git versions prior to v5.11. This vulnerability allows an attacker to perform denial of …EPSS 0.70%7.4CVE-2026-41506Go-git project go-git insufficiently protected credentials vulnerabilitygo-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 authenticatio…EPSS 0.26%5.4CVE-2026-45571Go-git project go-git path traversal vulnerabilitygo-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 all…EPSS 0.33%5.0CVE-2026-34165Go-git project go-git allocation without limits vulnerabilitygo-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 identifi…EPSS 0.15%4.3CVE-2026-25934Go-git project go-git vulnerabilitygo-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 i…EPSS 0.16%

Source: NIST National Vulnerability Database (record CVE-2026-45022), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.