go-git is a highly extensible git implementation library written in pure Go. An argument injection…
Historical advisory recorded 25 Oct 2026 01:17:29 UTC. Read the latest advisory.
nvd · CVE-2025-21613
Publishedgo-git is a highly extensible git implementation library written in pure Go. An argument injection vulnerability was discovered in go-git versions prior to v5.13. Successful exploitation of this vulnerability could allow an attacker to set arbitrary values to git-upload-pack flags. This only happens when the file transport protocol is being used, as that is the only protocol that shells out to git binaries. This vulnerability is fixed in 5.13.0.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2025-21613
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-88
Original publisher date fields
published: 2025-01-06T17:15:47.043
lastModified: 2026-06-17T08:43:51.353
1 source CPE criteria · context only
- cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON