LowGO-2025-3368CVE-2025-21613GHSA-v725-9546-7q7m
Argument Injection via the URL field in github.com/go-git/go-git
Published 7 Jan 2025 · Updated 14 Nov 2026
Is your project on an affected github.com/go-git/go-git/v4?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=4.0.0
- Fixed in
- No fix released
- Affected
- <5.13.0
- Fixed in
- 5.13.0
Update to the fixed version for your release line, for example:
go get github.com/go-git/go-git/v5@v5.13.0- Affected
- >=4.0.0
- Fixed in
- No fix released
Details
Argument Injection via the URL field in github.com/go-git/go-git
Is GO-2025-3368 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/v4, and gives you the command that fixes it.
More advisories for github.com/go-git/go-git/v4
- 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
- LowCVE-2026-25934Improper verification of data integrity values for .idx and .pack files in github.com/go-git/go-git · 19 Feb 2026
- LowCVE-2025-21614Clients vulnerable to DoS via maliciously crafted Git server replies in github.com/go-git/go-git · 7 Jan 2025
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.