CVE-2026-45022
CVE-2026-45022 is a high-severity vulnerability in Go-git Project Go-git with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-180.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v4: 7.0
- EPSS exploit prediction: 0% (5th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-32542
- Weakness: CWE-180
- Affected product: Go-git Project Go-git
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-45022?
- 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.
- How severe is CVE-2026-45022?
- CVE-2026-45022 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity high, and availability none.
- Is CVE-2026-45022 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (5th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-45022?
- CVE-2026-45022 primarily affects Go-git Project Go-git. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2026-45022?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-45022 have an EU (EUVD) identifier?
- Yes. CVE-2026-45022 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-32542.
- When was CVE-2026-45022 published?
- CVE-2026-45022 was published on 2026-05-27 and last updated on 2026-06-17.
References
Affected products (3)
- cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*
- cpe:2.3:a:go-git_project:go-git:6.0.0:alpha1:*:*:*:go:*:*
- cpe:2.3:a:go-git_project:go-git:6.0.0:alpha2:*:*:*:go:*:*
More vulnerabilities in Go-git Project Go-git
- CVE-2025-21613 — Critical (CVSS 9.8): go-git is a highly extensible git implementation library written in pure Go. An argument injection vulnerability was…
- CVE-2023-49569 — Critical (CVSS 9.8): A path traversal vulnerability was discovered in go-git versions prior to v5.11. This vulnerability allows an attacker…
- CVE-2026-45570 — Critical (CVSS 9.6): 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…
- CVE-2025-21614 — High (CVSS 7.5): go-git is a highly extensible git implementation library written in pure Go. A denial of service (DoS) vulnerability…
- CVE-2023-49568 — High (CVSS 7.5): A denial of service (DoS) vulnerability was discovered in go-git versions prior to v5.11. This vulnerability allows an…
- CVE-2026-45571 — Medium (CVSS 5.4): 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…
All CVEs affecting Go-git Project Go-git →
Other CWE-180 vulnerabilities
- CVE-2026-24895 — Critical (CVSS 9.8): FrankenPHP is a modern application server for PHP. Prior to 1.11.2, FrankenPHP’s CGI path splitting logic improperly…
- CVE-2026-48721 — High (CVSS 8.6): Warp is an agentic development environment. From 0.2025.10.08.08.12.stable_00 until 0.2026.05.06.15.42.stable_01, Warp…
- CVE-2026-39364 — High (CVSS 7.5): Vite is a frontend tooling framework for JavaScript. From 7.1.0 to before 7.3.2 and 8.0.5, on the Vite dev server,…
- CVE-2026-42462 — High (CVSS 7.0): Fedify is a TypeScript library for building federated server apps powered by ActivityPub. Prior to versions 1.9.11,…
- CVE-2025-43716 — Medium (CVSS 5.8): A directory traversal vulnerability exists in Ivanti LANDesk Management Gateway through 4.2-1.9. By appending %3F.php…
- CVE-2025-33194 — Medium (CVSS 5.7): NVIDIA DGX Spark GB10 contains a vulnerability in SROOT firmware, where an attacker could cause improper processing of…