LowGO-2026-4473CVE-2026-25934GHSA-37cx-329c-33x3

Improper verification of data integrity values for .idx and .pack files in github.com/go-git/go-git

Published 19 Feb 2026 · Updated 20 Feb 2026

Is your project on an affected github.com/go-git/go-git?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
All versions
Fixed in
No fix released
Affected
All versions
Fixed in
No fix released
Affected
<5.16.5
Fixed in
5.16.5
Update to the fixed version for your release line, for example:go get github.com/go-git/go-git/v5@v5.16.5

Details

Improper verification of data integrity values for .idx and .pack files in github.com/go-git/go-git

Is GO-2026-4473 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/go-git/go-git, and gives you the command that fixes it.

More advisories for github.com/go-git/go-git

  • LowCVE-2026-45570Improper single-quote escaping in go-git SSH transport in github.com/go-git/go-git · 7 Jul 2026
  • MediumCVE-2026-45571go-git: Crafted repositories may modify main and submodule .git directories · 19 May 2026
  • LowCVE-2026-45570go-git: Improper single-quote escaping in go-git SSH transport · 19 May 2026
  • LowCVE-2026-33762Missing validation decoding Index v4 files leads to panic in github.com/go-git/go-git · 7 Apr 2026
  • LowCVE-2026-34165Maliciously crafted idx file can cause asymmetric memory consumption in github.com/go-git/go-git · 7 Apr 2026
  • HighCVE-2025-21614go-git clients vulnerable to DoS via maliciously crafted Git server replies · 6 Jan 2025
github.com/go-git/go-git security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.