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.
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| github.com/go-git/go-git/v5 | β | β |
| github.com/go-git/go-git/v6 | β | β |
| go-git | β | β |
| unknown | β | β |
References
Similar Threats
- Unknown GHSA-w5pp-99ch-qj29
- Critical CVE-2026-45570
- Medium CVE-2026-45571
- Medium CVE-2026-41506
- Low CVE-2026-33762
Site Security Check
Concerned your site may already be targeted?
BotEraser analyzes incoming traffic patterns and helps identify bot behavior consistent with known exploit attempts.
Check My Site Free βNo credit card required Β· Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.