SB20260507100 - Security restrictions bypass in go-git
Published: May 7, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Incorrect Behavior Order: Validate Before Canonicalize (CVE-ID: CVE-2026-45022)
CWE-ID: CWE-180 - Incorrect Behavior Order: Validate Before Canonicalize
CVSSv4: 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/E:U/U:Clear
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.
Remediation
Install update from vendor's website.