CVE-2026-45022
published high CVSS 4.0 · 7.0go-git: Improper parsing of specially crafted objects may lead to inconsistent interpretation compared to upstream Git
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| go-git | — | go-git< 5.19.0 · >= 6.0.0-alpha.1, < 6.0.0-alpha.3 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cliaarch64 | Advisory build | 2.8.7-1.1 | OPENSUSE-SU-2026:10769-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-clippc64le | Advisory build | 2.8.7-1.1 | OPENSUSE-SU-2026:10769-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-clis390x | Advisory build | 2.8.7-1.1 | OPENSUSE-SU-2026:10769-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-clix86_64 | Advisory build | 2.8.7-1.1 | OPENSUSE-SU-2026:10769-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-bash-completionaarch64 | Advisory build | 2.8.7-1.1 | OPENSUSE-SU-2026:10769-1 |
Show 11 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-bash-completionppc64le | Advisory build | 2.8.7-1.1 | OPENSUSE-SU-2026:10769-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-bash-completions390x | Advisory build | 2.8.7-1.1 | OPENSUSE-SU-2026:10769-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-bash-completionx86_64 | Advisory build | 2.8.7-1.1 | OPENSUSE-SU-2026:10769-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-fish-completionaarch64 | Advisory build | 2.8.7-1.1 | OPENSUSE-SU-2026:10769-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-fish-completionppc64le | Advisory build | 2.8.7-1.1 | OPENSUSE-SU-2026:10769-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-fish-completions390x | Advisory build | 2.8.7-1.1 | OPENSUSE-SU-2026:10769-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-fish-completionx86_64 | Advisory build | 2.8.7-1.1 | OPENSUSE-SU-2026:10769-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-zsh-completionaarch64 | Advisory build | 2.8.7-1.1 | OPENSUSE-SU-2026:10769-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-zsh-completionppc64le | Advisory build | 2.8.7-1.1 | OPENSUSE-SU-2026:10769-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-zsh-completions390x | Advisory build | 2.8.7-1.1 | OPENSUSE-SU-2026:10769-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flux2-cli-zsh-completionx86_64 | Advisory build | 2.8.7-1.1 | OPENSUSE-SU-2026:10769-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| go-git | go-git | < 5.19.0 (affected)>= 6.0.0-alpha.1, < 6.0.0-alpha.3 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-180 CWE-180: Incorrect Behavior Order: Validate Before Canonicalize
- CWE-345 CWE-345: Insufficient Verification of Data Authenticity
References
1Provider assertions
2GitHub_M · cna
go-git: Improper parsing of specially crafted objects may lead to inconsistent interpretation compared to upstream Git
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9d270ac4a3dc71f4c1f91988b6d00dffd2cb93f4ceb776bea2cd143322edc544
- Ingested
- 23 Sep 2026, 09:15:36 UTC
- Source record
- Official CVE record