ADVISORIES

Vulnerability

CVE-2025-21613

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.

358 advisories report this vulnerability, across 13 ecosystems.

Advisories in Ubuntu

  • UBUNTU-CVE-2025-21613

    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…

    CVE-2025-21613 Ubuntu Updated 24 November 2026
  • USN-8088-1

    golang-github-go-git-go-git vulnerabilities

    CVE-2023-49568CVE-2023-49569CVE-2025-21613CVE-2025-21614 Ubuntu Updated 24 November 2026

References