Incorrect Behavior Order: Validate Before Canonicalize in go-git - CVE-2026-45022

 

Incorrect Behavior Order: Validate Before Canonicalize in go-git - CVE-2026-45022

Published: May 7, 2026


Vulnerability identifier: #VU130475
CSH Severity: Low
CVSS v4: 6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-45022
CWE-ID: CWE-180
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to cause inconsistent interpretation of Git object metadata and accept a signature over data that is not byte-for-byte equivalent to the stored object.

The vulnerability exists due to validate-before-canonicalize behavior in commit and tag object parsing and signature verification logic when processing specially crafted malformed Git objects with ambiguous headers. A remote user can supply a specially crafted commit or tag object to cause inconsistent interpretation of Git object metadata and accept a signature over data that is not byte-for-byte equivalent to the stored object.


Affected software

go-git
watsonx.data integration

How to mitigate CVE-2026-45022

Install security update from vendor's website.

go-git - update to 5.19.0
watsonx.data integration - update to 5.4

External References

Related Security Bulletins