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

[CVE catalog]

Severity
High · CVSS 7.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debiangolang-github-go-git-go-gitsid5.19.2-2fixed
Debiangolang-github-go-git-go-gitforky5.19.2-2fixed
Debiangolang-github-go-git-go-gittrixie5.14.0-1vulnerable
Debiangolang-github-go-git-go-gitbookworm5.4.2-3vulnerable
Cpegolang-github-go-git-go-gitNot reportedNot reportedvulnerable
Cpego-gitNot reported5.19.0fixed
Cpego-gitNot reportedNot reportedunknown
Gogithub.com/go-git/go-git/v5Not reported5.19.0fixed
Opensuseflux2-clitumbleweed2.8.7-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangolang-github-go-git-go-gitsourcesid5.19.1-1not yet assignedNot reportedNot reported
Debiangolang-github-go-git-go-gitsourceforky5.19.1-1not yet assignedNot reportedNot reported
Debiangolang-github-go-git-go-gitsourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debiangolang-github-go-git-go-gitsourcebookworm(unfixed)not yet assignedNot reportedNot reported
Cpego-gitcpeNot reported5.19.0Not reportedNot reportedNot reported
Gogithub.com/go-git/go-git/v5GoNot reported5.19.0Not reportedNot reportedNot reported
Opensuseflux2-clirpmtumbleweed2.8.7-1.1Not reportedOPENSUSE-SU-2026:10769-1Not 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 · bookworm

      Affected

      nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12

    • 5.4.2-3+b7 · arm64 · bookworm

      Affected

      nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12

  • Source package: [golang-github-go-git-go-git]

    Details (2)
    • 5.4.2-3 · all · bookworm

      Affected

      nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12

    • 5.4.2-3 · all · bookworm

      Affected

      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 · trixie

      Affected

      nvd · golang-github-go-git-go-git · debian · 13

    • 5.14.0-1+b3 · arm64 · trixie

      Affected

      nvd · golang-github-go-git-go-git · debian · 13

  • Source package: [golang-github-go-git-go-git]

    Details (2)
    • 5.14.0-1 · all · trixie

      Affected

      nvd · golang-github-go-git-go-git · debian · 13

    • 5.14.0-1 · all · trixie

      Affected

      nvd · golang-github-go-git-go-git · debian · 13

[openSUSE Tumbleweed]

  • Source package: [flux2-cli]

    Details (1)
    • 2.9.4-1.1 · noarch · tumbleweed

      Unknown · Fixed: 2.8.7-1.1

      Version impact unknown

      nvd · flux2-cli · opensuse · tumbleweed

  • Source package: [flux2-cli]

    Details (1)
    • 2.9.4-1.1 · noarch · tumbleweed

      Unknown · Fixed: 2.8.7-1.1

      Version impact unknown

      nvd · flux2-cli · opensuse · tumbleweed

  • Source package: [flux2-cli]

    Details (1)
    • 2.9.4-1.1 · noarch · tumbleweed

      Unknown · Fixed: 2.8.7-1.1

      Version impact unknown

      nvd · flux2-cli · opensuse · tumbleweed

  • [flux2-cli]Fixed

    Source package: [flux2-cli]

    Details (1)
    • 2.9.4-1.1 · x86_64 · tumbleweed

      Fixed · Fixed: 2.8.7-1.1

      nvd · flux2-cli · opensuse · tumbleweed

Observed:

References