Improper validation of integrity check value in go-git - CVE-2026-25934

 

Improper validation of integrity check value in go-git - CVE-2026-25934

Published: April 17, 2026


Vulnerability identifier: #VU126457
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-25934
CWE-ID: CWE-354
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: go-git
Affected software:
go-git

Detailed vulnerability description

The vulnerability allows a remote attacker to cause integrity issues by supplying corrupted repository data.

The vulnerability exists due to improper validation of integrity check values in .pack and .idx file handling when processing fetched packfiles and generated pack indexes. A remote attacker can provide corrupted repository data to cause integrity issues by making the application consume corrupted files and trigger unexpected errors.

User interaction is required for a client to fetch and process repository data.


How to mitigate CVE-2026-25934

Install security update from vendor's website.

Sources