
CVE catalog
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
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.16% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | golang-github-go-git-go-git | sid | 5.19.2-2 | fixed |
| Debian | golang-github-go-git-go-git | forky | 5.19.2-2 | fixed |
| Debian | golang-github-go-git-go-git | trixie | 5.14.0-1 | vulnerable |
| Debian | golang-github-go-git-go-git | bookworm | 5.4.2-3 | vulnerable |
| Cpe | golang-github-go-git-go-git | Not reported | Not reported | vulnerable |
| Cpe | go-git | Not reported | 5.19.0 | fixed |
| Cpe | go-git | Not reported | Not reported | unknown |
| Go | github.com/go-git/go-git/v5 | Not reported | 5.19.0 | fixed |
| Opensuse | flux2-cli | tumbleweed | 2.8.7-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | golang-github-go-git-go-git | source | sid | 5.19.1-1 | not yet assigned | Not reported | Not reported |
| Debian | golang-github-go-git-go-git | source | forky | 5.19.1-1 | not yet assigned | Not reported | Not reported |
| Debian | golang-github-go-git-go-git | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | golang-github-go-git-go-git | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Cpe | go-git | cpe | Not reported | 5.19.0 | Not reported | Not reported | Not reported |
| Go | github.com/go-git/go-git/v5 | Go | Not reported | 5.19.0 | Not reported | Not reported | Not reported |
| Opensuse | flux2-cli | rpm | tumbleweed | 2.8.7-1.1 | Not reported | OPENSUSE-SU-2026:10769-1 | Not reported |
Notes
[trixie] golang-github-go-git-go-git: Minor issue [bookworm] golang-github-go-git-go-git: Limited support, minor issue; signature-verification bypass
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [go-git]Affected
Source package: [golang-github-go-git-go-git]
Details (2)
5.4.2-3+b7· amd64 · bookwormAffected
nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12
5.4.2-3+b7· arm64 · bookwormAffected
nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12
- [golang-github-go-git-go-git-dev]Affected
Source package: [golang-github-go-git-go-git]
Details (2)
5.4.2-3· all · bookwormAffected
nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12
5.4.2-3· all · bookwormAffected
nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12
[Debian 13 (Trixie)]
- [go-git]Affected
Source package: [golang-github-go-git-go-git]
Details (2)
5.14.0-1+b3· amd64 · trixieAffected
nvd · golang-github-go-git-go-git · debian · 13
5.14.0-1+b3· arm64 · trixieAffected
nvd · golang-github-go-git-go-git · debian · 13
- [golang-github-go-git-go-git-dev]Affected
Source package: [golang-github-go-git-go-git]
Details (2)
5.14.0-1· all · trixieAffected
nvd · golang-github-go-git-go-git · debian · 13
5.14.0-1· all · trixieAffected
nvd · golang-github-go-git-go-git · debian · 13
[openSUSE Tumbleweed]
- [flux2-cli-bash-completion]Unknown
Source package: [flux2-cli]
Details (1)
2.9.4-1.1· noarch · tumbleweedUnknown · Fixed:
2.8.7-1.1Version impact unknown
nvd · flux2-cli · opensuse · tumbleweed
- [flux2-cli-fish-completion]Unknown
Source package: [flux2-cli]
Details (1)
2.9.4-1.1· noarch · tumbleweedUnknown · Fixed:
2.8.7-1.1Version impact unknown
nvd · flux2-cli · opensuse · tumbleweed
- [flux2-cli-zsh-completion]Unknown
Source package: [flux2-cli]
Details (1)
2.9.4-1.1· noarch · tumbleweedUnknown · Fixed:
2.8.7-1.1Version impact unknown
nvd · flux2-cli · opensuse · tumbleweed
- [flux2-cli]Fixed
Source package: [flux2-cli]
Details (1)
2.9.4-1.1· x86_64 · tumbleweedFixed · Fixed:
2.8.7-1.1nvd · flux2-cli · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10769-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-45022]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-45022]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10769-1]
- [https://pkg.go.dev/vuln/GO-2026-5074]
- [https://security-tracker.debian.org/tracker/CVE-2026-45022]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45022.json]
[Debian Security Tracker] · [FIRST EPSS] · [Go Vulnerability Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]