CVE-2026-45022
Last modified
CVE-2026-45022 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
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:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Go-Git Project | Go-Git | < 5.19.0 | — |
| Go-Git Project | Go-Git | 6.0.0 | Alpha1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-45022?
How severe is CVE-2026-45022?
How do I fix CVE-2026-45022?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-45012ApostropheCMS is an open-source Node.js content management s…7.6
- CVE-2026-45013ApostropheCMS is an open-source Node.js content management s…8.1
- CVE-2026-45014ApostropheCMS is an open-source Node.js content management s…5.3
- CVE-2026-45017Python Liquid is a Python engine for the Liquid template lan…7.5
- CVE-2026-4502IBM Langflow Desktop 1.2.0 through 1.8.4 Langflow could allo…6.5
- CVE-2026-45021Kuma is a modern Envoy-based service mesh that can run on ev…5.1
- CVE-2026-45023AutoGPT is a workflow automation platform for creating, depl…5.4
- CVE-2026-45025WeGIA is a web manager for charitable institutions. In versi…6.8
- CVE-2026-45026WeGIA is a web manager for charitable institutions. In versi…6.8
- CVE-2026-45027WeGIA is a web manager for charitable institutions. In versi…5.9
- CVE-2026-45028Astro is a web framework. Astro versions prior to 6.1.10 use…6.1
- CVE-2026-4503IBM Langflow Desktop 1.0.0 through 1.8.4 Langflow could allo…7.5
Are you affected by CVE-2026-45022?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
