CVE-2026-45022
ADVISORY - githubSummary
Impact
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.
Patches
Users should upgrade to a patched version in order to mitigate this vulnerability. Versions prior to v5 are likely to be affected, users are recommended to upgrade to a supported go-git version.
Credit
Thanks to @bugbunny-research (https://bugbunny.ai/) for reporting this to sigstore/gitsign, and to @wlynch, @patzielinski and @adityasaky for coordinating the disclosure with the go-git project. :bow: :1st_place_medal:
Thanks to @wayphinder for reporting this to the go-git project. :bow:
GitHub
CVSS SCORE
7high| Package | Type | OS Name | OS Version | Affected Ranges | Fix Versions |
|---|---|---|---|---|---|
| github.com/go-git/go-git/v5 | golang | - | - | <5.19.0 | 5.19.0 |
| github.com/go-git/go-git/v5 | golang | - | - | <0.0.0-20260506145644-bc930f4cbe09 | 0.0.0-20260506145644-bc930f4cbe09 |
| github.com/go-git/go-git/v6 | golang | - | - | >=6.0.0-alpha.1,<=6.0.0-alpha.2 | 6.0.0-alpha.3 |
| github.com/go-git/go-git/v6 | golang | - | - | >=0.0.0-20260401215000-5c776e15a11b,<=0.0.0-20260416203929-137874facf92 | 0.0.0-20260416203929-137874facf92 |
CVSS:4 Severity and metrics
The CVSS metrics represent different qualitative aspects of a vulnerability that impact the overall score, as defined by the CVSS Specification.
The vulnerable component is bound to the network stack, but the attack is limited at the protocol level to a logically adjacent topology. This can mean an attack must be launched from the same shared physical (e.g., Bluetooth or IEEE 802.11) or logical (e.g., local IP subnet) network, or from within a secure or otherwise limited administrative domain (e.g., MPLS, secure VPN to an administrative network zone). One example of an Adjacent attack would be an ARP (IPv4) or neighbor discovery (IPv6) flood leading to a denial of service on the local LAN segment (e.g., CVE-2013-6014).
A successful attack depends on conditions beyond the attacker's control, requiring investing a measurable amount of effort in research, preparation, or execution against the vulnerable component before a successful attack.
The successful attack does not depend on the deployment and execution conditions of the vulnerable system. The attacker can expect to be able to reach the vulnerability and execute the exploit under all or most instances of the vulnerability.
The attacker requires privileges that provide basic capabilities that are typically limited to settings and resources owned by a single low-privileged user. Alternatively, an attacker with Low privileges has the ability to access only non-sensitive resources.
The vulnerable system can be exploited without interaction from any human user, other than the attacker. Examples include: a remote attacker is able to send packets to a target system a locally authenticated attacker executes code to elevate privileges.
There is no loss of confidentiality within the Vulnerable System.
There is no loss of confidentiality within the Subsequent System or all confidentiality impact is constrained to the Vulnerable System.
There is a total loss of integrity, or a complete loss of protection. For example, the attacker is able to modify any/all files protected by the Vulnerable System. Alternatively, only some files can be modified, but malicious modification would present a direct, serious consequence to the Vulnerable System.
There is a total loss of integrity, or a complete loss of protection. For example, the attacker is able to modify any/all files protected by the Subsequent System. Alternatively, only some files can be modified, but malicious modification would present a direct, serious consequence to the Subsequent System.
There is no impact to availability within the Vulnerable System.
There is no impact to availability within the Subsequent System or all availability impact is constrained to the Vulnerable System.
NIST
CVSS SCORE
7highDebian
-
Ubuntu
3.9
CVSS SCORE
7.5mediumGoLang
-
Chainguard
CGA-8x53-pqv6-wqhw
-
minimos
MINI-2339-hqr4-878w
-
minimos
MINI-25qr-6cmp-v45p
-
minimos
MINI-26pf-v923-23mv
-
minimos
MINI-27v9-4377-jvqp
-
minimos
MINI-2945-rqgx-7j7m
-
minimos
MINI-2vwx-6678-9jqc
-
minimos
MINI-2xvv-3953-pxr5
-
minimos
MINI-35gc-px9c-5pw5
-
minimos
MINI-35mw-v76g-hr7x
-
minimos
MINI-367x-q7mv-f6xv
-
minimos
MINI-37cm-f6f8-7qqj
-
minimos
MINI-394f-jf2w-62xq
-
minimos
MINI-3h77-4rpc-5m23
-
minimos
MINI-3hwr-mg45-ccc9
-
minimos
MINI-3pcr-9m8g-c6cq
-
minimos
MINI-3vhx-5w9q-63w8
-
minimos
MINI-432f-vrwf-gpcp
-
minimos
MINI-44vv-xmgq-w794
-
minimos
MINI-45vx-qqqw-7rwr
-
minimos
MINI-47rp-jf4x-f492
-
minimos
MINI-4jr4-mfjh-h94r
-
minimos
MINI-4mgr-xx4g-j4gx
-
minimos
MINI-4p4f-fxg2-mjx6
-
minimos
MINI-4p84-g29c-pjxh
-
minimos
MINI-4pjx-mfx3-gppc
-
minimos
MINI-4prx-92f8-m2gp
-
minimos
MINI-4v25-hvm2-hp78
-
minimos
MINI-558h-27hh-xvpf
-
minimos
MINI-55vh-ppr2-5wpc
-
minimos
MINI-56f9-r345-8g9v
-
minimos
MINI-59jc-23xj-q9gf
-
minimos
MINI-5fw6-hxg6-62cg
-
minimos
MINI-5vw6-j6xw-ffrh
-
minimos
MINI-5w74-jj2v-474g
-
minimos
MINI-5wrw-7qwr-h8rp
-
minimos
MINI-5wxv-48r4-53v5
-
minimos
MINI-5xg2-6m35-72p3
-
minimos
MINI-5xx5-3528-9wrq
-
minimos
MINI-626p-mjg2-8mfp
-
minimos
MINI-633c-gvjf-h9gx
-
minimos
MINI-68x8-phf6-4whj
-
minimos
MINI-6f56-g8r5-xj8w
-
minimos
MINI-6jcw-55v6-592v
-
minimos
MINI-6mh7-3h77-mxwq
-
minimos
MINI-6vwh-p5cx-c23m
-
minimos
MINI-6x8c-2fm6-prq7
-
minimos
MINI-722f-c4p8-fj76
-
minimos
MINI-7726-cx9h-8cc4
-
minimos
MINI-7gg9-9vjv-28m7
-
minimos
MINI-7mp3-84jx-9542
-
minimos
MINI-7qh5-9qmm-ccmw
-
minimos
MINI-7v4f-7cpj-jvfp
-
minimos
MINI-7vf4-6882-vrx9
-
minimos
MINI-7x59-9879-vc2j
-
minimos
MINI-8427-w35w-p75x
-
minimos
MINI-85hg-vf5w-894f
-
minimos
MINI-87p4-qvj2-7rc3
-
minimos
MINI-883p-49gw-fvww
-
minimos
MINI-88c5-qhh5-6g27
-
minimos
MINI-8cm2-jw34-3rxm
-
minimos
MINI-8gj7-9jg5-vpqg
-
minimos
MINI-8gr6-3q98-6rg3
-
minimos
MINI-8q2j-6mgm-r89w
-
minimos
MINI-8rvf-5pc5-x5pj
-
minimos
MINI-8vj3-wx7g-pffm
-
minimos
MINI-8w8r-chjg-w5cg
-
minimos
MINI-93pq-qcvf-4gf4
-
minimos
MINI-94r3-f4g7-mqjr
-
minimos
MINI-95fq-pg9m-68px
-
minimos
MINI-96hj-3xj4-h2gg
-
minimos
MINI-977r-2894-7rhj
-
minimos
MINI-998m-qpwr-fxhw
-
minimos
MINI-9c7x-4xx5-g5p6
-
minimos
MINI-9ccq-85wc-r4jm
-
minimos
MINI-9cf8-p892-w85p
-
minimos
MINI-9gcp-5pf5-j3xq
-
minimos
MINI-9mmf-wxw4-rqfw
-
minimos
MINI-9pr6-f6wr-x6fv
-
minimos
MINI-9rmv-4w54-5p23
-
minimos
MINI-9wqm-q8c4-3wqq
-
minimos
MINI-9xx7-3pc8-qv45
-
minimos
MINI-c4fh-5wx7-qq94
-
minimos
MINI-c9v6-fgpg-fhcm
-
minimos
MINI-c9wr-55r8-6xgg
-
minimos
MINI-cc9g-92wc-vv54
-
minimos
MINI-cj34-997v-r59j
-
minimos
MINI-cpx2-mxjc-3wv3
-
minimos
MINI-cvmc-m3qh-8m8p
-
minimos
MINI-f985-8v9m-pp37
-
minimos
MINI-fhwr-qqhm-924p
-
minimos
MINI-fq47-mx76-j4g9
-
minimos
MINI-fvc4-hf5h-38h3
-
minimos
MINI-fvw9-jfq3-xwvq
-
minimos
MINI-fwfw-pwcm-j984
-
minimos
MINI-g4r2-6776-4p6q
-
minimos
MINI-gh53-58fq-gw4g
-
minimos
MINI-gj45-x8g3-hfmh
-
minimos
MINI-gmvf-jg6v-3hrm
-
minimos
MINI-gqcx-r34j-f4c6
-
minimos
MINI-grx2-5jr7-63gf
-
minimos
MINI-h696-6p44-c6qv
-
minimos
MINI-h86g-g7mj-vjvr
-
minimos
MINI-hc37-5c89-6g7v
-
minimos
MINI-hhhw-f29g-q8rf
-
minimos
MINI-hw6w-248v-mfvm
-
minimos
MINI-j284-gm88-2rjf
-
minimos
MINI-j67x-vwj9-x469
-
minimos
MINI-jf48-365r-52w7
-
minimos
MINI-jpmg-6hwh-5c8w
-
minimos
MINI-jxcq-64j9-8mpw
-
minimos
MINI-m66q-f89x-q42f
-
minimos
MINI-m6fc-r777-phr8
-
minimos
MINI-mh66-wgcv-pf9f
-
minimos
MINI-mhgx-5w95-pj5v
-
minimos
MINI-mj8q-r53c-h4w7
-
minimos
MINI-mv42-xjf3-4h4c
-
minimos
MINI-mw87-vp7g-cxp2
-
minimos
MINI-mwc4-5p86-jh83
-
minimos
MINI-p6m2-vvj3-r6cp
-
minimos
MINI-pjmm-j7x4-jhr9
-
minimos
MINI-pw74-wh35-5mrg
-
minimos
MINI-q28h-mp42-pc4m
-
minimos
MINI-q4wp-353j-f756
-
minimos
MINI-q5gm-6rm7-2q5g
-
minimos
MINI-q6qm-9vf3-3qrm
-
minimos
MINI-q782-wg8x-r5qx
-
minimos
MINI-qfw4-93x7-p459
-
minimos
MINI-qh48-4cxg-h7vr
-
minimos
MINI-qxhp-6gh9-mgh7
-
minimos
MINI-qxjf-9mwr-fff2
-
minimos
MINI-r257-3mpf-rhv7
-
minimos
MINI-r28f-g489-484q
-
minimos
MINI-r3jj-9rr2-77wv
-
minimos
MINI-r6g9-28qr-58j9
-
minimos
MINI-r6pq-567v-7r7m
-
minimos
MINI-r6qh-c4px-w4x6
-
minimos
MINI-r6qp-8vrw-9j34
-
minimos
MINI-r6wr-72j5-h5gg
-
minimos
MINI-r86c-6r24-5jpr
-
minimos
MINI-rcq6-4f4f-8hx3
-
minimos
MINI-rmjj-5x6w-fg2h
-
minimos
MINI-rr29-98m4-63r4
-
minimos
MINI-rr9j-mw49-g79p
-
minimos
MINI-rrwc-9f6x-gm3w
-
minimos
MINI-v2w5-8p4c-xq92
-
minimos
MINI-v3x6-89r7-87f5
-
minimos
MINI-v5pr-8wq4-vf4p
-
minimos
MINI-v6pp-c5x5-57xg
-
minimos
MINI-vfr9-wr8w-frcv
-
minimos
MINI-vhcc-f9vg-wfj9
-
minimos
MINI-vjpm-34c2-5r2q
-
minimos
MINI-vm27-wxpf-7p97
-
minimos
MINI-vqgx-prxv-9v84
-
minimos
MINI-vqx4-g3m9-vpfj
-
minimos
MINI-vv5w-hpcw-qqqv
-
minimos
MINI-vvcj-4hp9-hvjx
-
minimos
MINI-vwp8-fm9j-69qj
-
minimos
MINI-vx72-5mmw-p9px
-
minimos
MINI-w2ch-pm5x-2j26
-
minimos
MINI-w2v9-98cj-7g88
-
minimos
MINI-w462-v46w-wx76
-
minimos
MINI-w6gr-xf6j-722h
-
minimos
MINI-w77p-2r43-qv96
-
minimos
MINI-w9jc-chh8-39w3
-
minimos
MINI-wfjj-3m87-pq9m
-
minimos
MINI-whrm-pfqx-x276
-
minimos
MINI-wmh7-j28h-w4rc
-
minimos
MINI-wrvf-qqwc-78g8
-
minimos
MINI-wvj8-874x-rmwp
-
minimos
MINI-www4-j3hq-wgwv
-
minimos
MINI-x334-977m-754q
-
minimos
MINI-x98m-hcx7-m3v3
-
minimos
MINI-xcpx-xqgq-3g39
-
minimos
MINI-xm9q-r49w-wcvq
-
minimos
MINI-xx9r-x3fc-h8hf
-