CVE-2025-21613
Severity CVSS v4.0:
CRITICAL
Type:
Unavailable / Other
Publication date:
06/01/2025
Last modified:
17/04/2025
Description
go-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.
Impact
Base Score 4.0
9.20
Severity 4.0
CRITICAL
Base Score 3.x
9.80
Severity 3.x
CRITICAL
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:* | 5.13.0 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



