Improper Validation of Integrity Check Value Affecting github.com/go-git/go-git/storage/filesystem package, versions <5.16.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOGITGOGITSTORAGEFILESYSTEM-15253022
  • published10 Feb 2026
  • disclosed9 Feb 2026
  • creditN0zoM1z0

Introduced: 9 Feb 2026

CVE-2026-25934  (opens in a new tab)
CWE-354  (opens in a new tab)

How to fix?

Upgrade github.com/go-git/go-git/storage/filesystem to version 5.16.5 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Integrity Check Value for .idx and .pack files. An attacker can cause the application to consume corrupted files, leading to unexpected errors, due to checksums not being checked in the loadIdxFile() function.

Workaround

This vulnerability can be mitigated by running 'git fsck' from the git CLI to check for data corruption on a given repository.

CVSS Base Scores

version 4.0
version 3.1