CVE-2025-21613 - CVE House
Back to Database
Status published Critical CVE-2025-21613

go-git has an Argument Injection via the URL field

Vulnerability 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 Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-21613

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

go-git
Vulnerable Versions:
>= 4.0.0, < 5.13.0

Timeline

Official Publish: January 6th, 2025
Last Modified: January 6th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)