CVE-2026-25934
Improper Integrity Verification in go-git Packfile Handling
Publication date: 2026-02-09
Last updated on: 2026-02-20
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| go-git_project | go-git | to 5.16.5 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-354 | The product does not validate or incorrectly validates the integrity check values or "checksums" of a message. This may prevent it from detecting if the data has been modified or corrupted in transmission. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
The vulnerability in go-git, a Git implementation library written in Go, involves improper verification of data integrity values for .pack and .idx files prior to version 5.16.5. These files are used when clients fetch packfiles from upstream Git servers. Normally, these files contain checksums to ensure their contents are not corrupted. However, due to this vulnerability, go-git could consume corrupted files without detecting the corruption, leading to unexpected errors such as 'object not found'. The issue was fixed in version 5.16.5.
How can this vulnerability impact me? :
This vulnerability can cause go-git to process corrupted .pack and .idx files without detecting the corruption. As a result, users may experience unexpected errors, such as missing objects during Git operations. This can disrupt workflows that rely on go-git for Git functionality, potentially causing failures or inconsistencies in version control operations.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, you should upgrade the go-git library to version 5.16.5 or later, where the issue with improper verification of data integrity values for .pack and .idx files has been fixed.