CVSS 4.0
9.2 criticalCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/U:ClearCritical (9.2) in go-git project go-git. EPSS 1.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/go-git/go-git/v5 5.13.0.
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/U:ClearCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hgithub.com/go-git/go-git/v5 (Go): fixed in 5.13.0Explain CVE-2025-21613 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-21613?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-21613?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-21613 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| go-git_project:go-git | before 5.13.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-v725-9546-7q7m | Go | gopkg.in/src-d/go-git.v4 | >=4.0.0 <=4.13.1 | no fix published |
| GHSA-v725-9546-7q7m | Go | github.com/go-git/go-git/v5 | <5.13.0 | 5.13.0 |
| GO-2025-3368 | Go | github.com/go-git/go-git/v4 | >=4.0.0 | no fix published |
| GO-2025-3368 | Go | github.com/go-git/go-git/v5 | <5.13.0 | 5.13.0 |
| GO-2025-3368 | Go | gopkg.in/src-d/go-git.v4 | >=4.0.0 | no fix published |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | golang-github-go-git-go-git | no fix listed | DEBIAN-CVE-2025-21613 |
| Debian | 13, 14 | golang-github-go-git-go-git | 5.13.2-1 | DEBIAN-CVE-2025-21613 |
| Ubuntu | Pro:22.04:LTS | golang-github-go-git-go-git | 5.4.2-3ubuntu0.1~esm1 | UBUNTU-CVE-2025-21613 USN-8088-1 |
| Ubuntu | Pro:24.04:LTS | golang-github-go-git-go-git | 5.4.2-4ubuntu0.24.04.3+esm2 | UBUNTU-CVE-2025-21613 USN-8088-1 |
| Red Hat | enterprise_linux:8::appstream | grafana, grafana-selinux, grafana-debuginfo and 1 more | 0:9.2.10-21.el8_10 | RHSA-2025:0401 |
| Red Hat | rhel_eus:9.4::appstream | grafana, grafana-selinux, grafana-debuginfo and 1 more | 0:9.2.10-21.el9_4 | RHSA-2025:0662 |
| SUSE | Linux Enterprise Module for Desktop Applications 15 SP6 | brise | 20230603+git.5fdd2d6-150600.3.8.1 | SUSE-SU-2025:0601-1 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP6 | govulncheck-vulndb | 0.0.20250108T191942-150000.1.26.1 | SUSE-SU-2025:0060-1 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP6 | grafana | 10.4.15-150200.3.64.1 | SUSE-SU-2025:0623-1 |
| SUSE | Linux Enterprise Module for Public Cloud 12 | amazon-ssm-agent | 3.3.1611.0-4.36.1 | SUSE-SU-2025:0191-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP3, Linux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5 and 1 more | amazon-ssm-agent | 3.3.1611.0-150000.5.20.1 | SUSE-SU-2025:0277-1 |
| SUSE | Manager Client Tools 12 | grafana | 10.4.15-1.71.1 | SUSE-SU-2025:0622-1 |
| SUSE | Manager Client Tools 15 | grafana | 10.4.15-150000.1.71.1 | SUSE-SU-2025:0624-1 |
| SUSE | Package Hub 15 SP6 | trivy | 0.58.2-bp156.2.6.1 | openSUSE-SU-2025:0056-1 |
| openSUSE | Leap 15.6 | amazon-ssm-agent | 3.3.1611.0-150000.5.20.1 | SUSE-SU-2025:0277-1 |
| openSUSE | Leap 15.6 | brise | 20230603+git.5fdd2d6-150600.3.8.1 | SUSE-SU-2025:0601-1 |
| openSUSE | Leap 15.6 | govulncheck-vulndb | 0.0.20250108T191942-150000.1.26.1 | SUSE-SU-2025:0060-1 |
| openSUSE | Leap 15.6 | grafana | 10.4.15-150200.3.64.1 | SUSE-SU-2025:0623-1 |
| openSUSE | Leap 15.6 | trivy | 0.58.2-bp156.2.6.1 | openSUSE-SU-2025:0056-1 |
| openSUSE | Leap 16.0 | cheat | 4.4.2-bp160.2.1 | openSUSE-SU-2025:20177-1 |
| openSUSE | Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
| openSUSE | Tumbleweed | amazon-ssm-agent | 3.3.1611.0-1.1 | openSUSE-SU-2025:14658-1 |
| openSUSE | Tumbleweed | brise | 20230603+git.5fdd2d6-5.1 | openSUSE-SU-2025:14752-1 |
| openSUSE | Tumbleweed | cheat | 4.4.2-2.1 | openSUSE-SU-2025:15487-1 |
| openSUSE | Tumbleweed | cri-o | 1.36.7-1.1 | openSUSE-SU-2026:12626-1 |
| openSUSE | Tumbleweed | govulncheck-vulndb | 0.0.20250108T191942-1.1 | openSUSE-SU-2025:14624-1 |
| 4 more for openSUSE in the JSON and on openSUSE's page. | ||||
| AlmaLinux | 8 | grafana, grafana-selinux | 9.2.10-21.el8_10 | ALSA-2025:0401 |
| Rocky Linux | 8 | grafana | 0:9.2.10-21.el8_10 | RLSA-2025:0401 |
| Azure Linux | 2 | cri-o | 1.22.3-12 | AZL-55088 |
| Azure Linux | 2 | packer | 1.9.5-7 | AZL-55094 |
| Azure Linux | 3 | cri-o | no fix listed | AZL-55067 |
| Azure Linux | 3 | packer | 1.9.5-5 | AZL-55060 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Important.
This vulnerability is rated as an Important severity because an argument injection has been discovered in go-git, where an attackers can manipulate git-upload-pack flags, potentially enabling command or code execution leads to an exposure of sensitive data or other unintended actions, this vulnerability occurs exclusively in configurations using the file transport protocol.
In cases where it is not possible to update to the latest version of go-git, it is recommended to enforce validation rules for values passed in the URL field.
| Product | Package | State | Advisory |
|---|---|---|---|
| OADP-1.4-RHEL-9 | oadp/oadp-mustgather-rhel9:1.4.5-34 | Fixed 2025-07-18 | RHSA-2025:11396 |
| Red Hat Advanced Cluster Security 4.4 | advanced-cluster-security/rhacs-main-rhel8:4.4.8-2 | Fixed 2025-02-13 | RHSA-2025:1468 |
| Red Hat Advanced Cluster Security 4.4 | advanced-cluster-security/rhacs-rhel8-operator:4.4.8-2 | Fixed 2025-02-13 | RHSA-2025:1468 |
| Red Hat Advanced Cluster Security 4.4 | advanced-cluster-security/rhacs-roxctl-rhel8:4.4.8-2 | Fixed 2025-02-13 | RHSA-2025:1468 |
| Red Hat Advanced Cluster Security 4.5 | advanced-cluster-security/rhacs-main-rhel8:4.5.6-2 | Fixed 2025-02-11 | RHSA-2025:1334 |
| Red Hat Advanced Cluster Security 4.5 | advanced-cluster-security/rhacs-rhel8-operator:4.5.6-2 | Fixed 2025-02-11 | RHSA-2025:1334 |
| Red Hat Advanced Cluster Security 4.5 | advanced-cluster-security/rhacs-roxctl-rhel8:4.5.6-2 | Fixed 2025-02-11 | RHSA-2025:1334 |
| Red Hat Advanced Cluster Security 4.5 | advanced-cluster-security/rhacs-scanner-rhel8:4.5.6-2 | Fixed 2025-02-11 | RHSA-2025:1334 |
| Red Hat Advanced Cluster Security 4.5 | advanced-cluster-security/rhacs-scanner-slim-rhel8:4.5.6-2 | Fixed 2025-02-11 | RHSA-2025:1334 |
| Red Hat Advanced Cluster Security 4.5 | advanced-cluster-security/rhacs-scanner-v4-db-rhel8:4.5.6-1 | Fixed 2025-02-11 | RHSA-2025:1334 |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-image-bundler-rhel9 | Affected | |
| OpenShift Developer Tools and Services | odo | Will not fix | |
| OpenShift Serverless | openshift-serverless-1/client-kn-rhel8 | Affected | |
| OpenShift Serverless | openshift-serverless-1-func-utils-rhel8-container | Affected | |
| OpenShift Serverless | openshift-serverless-1/kn-cli-artifacts-rhel8 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/multicluster-operators-subscription-rhel8 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/submariner-rhel9-operator | Affected | |
| Red Hat Ceph Storage 7 | rhceph/grafana-rhel10 | Affected | |
| Red Hat Ceph Storage 7 | rhceph/grafana-rhel9 | Affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-data-science-pipelines-argo-argoexec-rhel8 | Affected | |
| 205 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-21613.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.