Skip to main content
No exploitation reportedFix available

CVE-2025-21613

No exploitation reported by the sources we read.

  • Published2025-01-06
  • Fixed in5.13.0
  • WeaknessCWE-88

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-01-0617:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2025-21613?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2025-21613?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · OSV
Go-git project go-git
BranchAffectedFixed in
5.13< 5.13.05.13.0
go-git/go-git
BranchAffectedFixed in
4.0+≥ 4.0.0no fix published
gopkg.in/src-d/go-git.v4
BranchAffectedFixed in
4.x≥ 4.0.0, ≤ 4.13.1no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • grafanaAlmaLinux:8all versions · fixed in 9.2.10-21.el8_10and 1 other package

Vendor advisories

  • RHSA-2025:11396 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift API for Data Protection (OADP) 1.4.5 security and bug fix update

  • RHSA-2025:3344 Red Hat Product Security17 products fixed

    Red Hat Security Advisory: grafana security update

  • RHSA-2025:3069 Red Hat Product Security35 products fixed

    Red Hat Security Advisory: Errata Advisory for Red Hat OpenShift GitOps v1.14.3 security update

  • RHSA-2024:6122 Red Hat Product Security12 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.18.1 bug fix and security update

  • RHSA-2024:6121 Red Hat Product Security191 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.18.1 security and extras update

  • RHSA-2025:1468 Red Hat Product Security9 products fixed

    Red Hat Security Advisory: ACS 4.4 enhancement and security update

8 more advisories

Full record on NVD

Fix

  1. Update Go-git project go-git to 5.13.0
  2. Vendor fix Red Hat Product Security RHSA-2025:11396 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  3. Vendor fix Red Hat Product Security RHSA-2025:3344 · 17 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  4. Vendor fix Red Hat Product Security RHSA-2024:6122 · 12 productsFor OpenShift Container Platform 4.18 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.18/release_notes/o…
  5. Vendor fix Red Hat Product Security RHSA-2024:6121 · 191 productsFor OpenShift Container Platform 4.18 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.18/release_notes/ocp-4-1…
  6. Vendor fix Red Hat Product Security RHSA-2025:1468 · 9 productsIf you are using an earlier version of RHACS 4.4, you are advised to upgrade to this patch release 4.4.8.
  7. Vendor fix Red Hat Product Security RHSA-2025:1334 · 21 productsIf you are using an earlier version of RHACS 4.5, you are advised to upgrade to this patch release 4.5.6.

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

  • NVDCVE recordread 2026-10-23
  • CISA-ADPSSVC decisionnone2025-01-06
  • OpenCVESSVC decisionnone—
  • CNACVSS 4.09.2read 2026-10-23
  • CISA-ADPCVSS 3.19.82025-01-06
  • CISA-ADPweakness (CWE)CWE-882025-01-06
  • CNAweakness (CWE)CWE-88read 2026-10-23
  • FIRST EPSSEPSS score1.3 %2026-10-22
  • OSVaffected packages—

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 4.0 vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Clear
Published
2025-01-06
Last Modified
2026-06-17
NVD status
Analyzed

Frequently asked questions

What is 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.

Is CVE-2025-21613 actively exploited?

Active exploitation of CVE-2025-21613 has not been confirmed. Its EPSS score was 1.3% on 2026-10-22, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-21613?

CVE-2025-21613 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running go-git/go-git? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month