CVE-2026-25934 json
go-git improperly verifies data integrity values for .idx and .pack files
published 2026-02-09 8 mo ago modified 2026-09-10 1 mo ago also EUVD-2026-6247 , GHSA-37cx-329c-33x3 , GO-2026-4473
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 4%
- public exploits
- 0
- none known
Summary
go-git is a highly extensible git implementation library written in pure Go. Prior to 5.16.5, a vulnerability was discovered in go-git whereby data integrity values for .pack and .idx files were not properly verified. This resulted in go-git potentially consuming corrupted files, which would likely result in unexpected errors such as object not found. For context, clients fetch packfiles from upstream Git servers. Those files contain a checksum of their contents, so that clients can perform integrity checks before consuming it. The pack indexes (.idx) are generated locally by go-git, or the git cli, when new .pack files are received and processed. The integrity checks for both files were not being verified correctly. This vulnerability is fixed in 5.16.5.
Patch / fix
- go github.com/go-git/go-git/v5 5.16.5
- go-git_project go-git 5.16.5
- golang-github-go-git-go-git Debian 14 5.17.0-1
debian advisories DEBIAN-CVE-2026-25934
- golang-github-go-git-go-git Ubuntu Pro 22.04 LTS 5.4.2-3ubuntu0.1~esm1
- golang-github-go-git-go-git Ubuntu Pro 24.04 LTS 5.4.2-4ubuntu0.24.04.3+esm2
ubuntu advisories UBUNTU-CVE-2026-25934
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- terraform-provider-aws SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 3.11.0-150200.6.18.1
- terraform-provider-tls SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 3.0.0-150200.5.15.1
- terraform-provider-helm SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 2.9.0-150200.6.23.1
- terraform-provider-null SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 3.0.0-150200.6.18.1
- terraform-provider-local SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 2.0.0-150200.6.17.1
- terraform-provider-google SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 3.43.0-150200.6.12.1
- terraform-provider-random SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 3.0.0-150200.6.15.1
- terraform-provider-azurerm SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 2.32.0-150200.6.12.1
suse advisories SUSE-SU-2026:3056-1SUSE-SU-2026:2468-1SUSE-SU-2026:2467-1SUSE-SU-2026:22157-1SUSE-SU-2026:2438-1SUSE-SU-2026:1411-1
- amazon-ssm-agent openSUSE Tumbleweed 3.3.5226.0-1.1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
- amazon-ssm-agent openSUSE Leap 16.0 3.3.4624.0-160000.1.1
- trivy openSUSE Tumbleweed 0.70.0-1.1
- alloy openSUSE Tumbleweed 1.15.1-1.1
opensuse advisories openSUSE-SU-2026:11694-1openSUSE-SU-2026:21483-1openSUSE-SU-2026:21079-1openSUSE-SU-2026:10651-1openSUSE-SU-2026:10618-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-25934 updated cvss 4.3
go-git/go-git: go-git: Data integrity issue due to improper verification of pack and index files
-
Red Hat Assisted Installer for Red Hat OpenShift Container Platform 2 assisted/agent-preinstall-image-builder-rhel9 Red Hat Builds for Red Hat OpenShift openshift-builds/openshift-builds-waiters-rhel9, openshift-builds/openshift-builds-webhook-rhel9, openshift-builds/openshift-builds-controller-rhel9, openshift-builds/openshift-builds-git-cloner-rhel9, openshift-builds/openshift-builds-image-bundler-rhel9, openshift-builds/openshift-builds-image-processing-rhel9 Red Hat Confidential Compute Attestation openshift-sandboxed-containers/osc-must-gather-rhel9 Red Hat External Secrets Operator for Red Hat OpenShift external-secrets-operator/external-secrets-rhel9, external-secrets-operator/bitwarden-sdk-server-rhel9, external-secrets-operator/external-secrets-operator-rhel9, external-secrets-operator/external-secrets-operator-bundle Red Hat Kernel Module Management Operator for Red Hat Openshift kmm/kernel-module-management-must-gather-rhel9 Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/cluster-logging-rhel9-operatoraffected: no fix available “Fix deferred”
+31 more productsfewer
Red Hat Machine Deletion Remediation Operator workload-availability/machine-deletion-remediation-rhel9-operator, workload-availability/machine-deletion-remediation-operator-bundle Red Hat Migration Toolkit for Containers rhmtc/openshift-migration-log-reader-rhel8, rhmtc/openshift-migration-must-gather-rhel8 Red Hat Migration Toolkit for Virtualization mtv-candidate/mtv-must-gather-rhel8, migration-toolkit-virtualization/mtv-must-gather-rhel8 Red Hat Multicluster Engine for Kubernetes multicluster-engine/must-gather-rhel9, multicluster-engine/hypershift-cli-rhel9, multicluster-engine/hypershift-rhel9-operator, multicluster-engine/cluster-image-set-controller-rhel9 Red Hat Network Observability Operator network-observability/network-observability-cli-rhel9 Red Hat Node HealthCheck Operator workload-availability/node-healthcheck-must-gather-rhel9 Red Hat OpenShift API for Data Protection oadp/oadp-mustgather-rhel9 Red Hat OpenShift Developer Tools and Services ocp-tools-4/jenkins-rhel8, ocp-tools-4/jenkins-rhel9, ocp-tools-4/jenkins-agent-base-rhel8, ocp-tools-4/jenkins-agent-base-rhel9 Red Hat OpenShift Pipelines openshift-pipelines/pipelines-nop-rhel8, openshift-pipelines/pipelines-events-rhel8, openshift-pipelines/pipelines-webhook-rhel8, openshift-pipelines/pipelines-resolvers-rhel8, openshift-pipelines/pipelines-controller-rhel8, openshift-pipelines/pipelines-entrypoint-rhel8, +2 more Red Hat OpenShift Serverless openshift-serverless-clients, openshift-serverless-1/kn-client-kn-rhel9, openshift-serverless-1/serverless-must-gather-rhel9, openshift-serverless-1/kn-plugin-func-func-util-rhel9 Red Hat OpenShift Service Mesh 2 openshift-service-mesh/istio-must-gather-rhel9 Red Hat OpenShift Service Mesh 3 openshift-service-mesh/istio-must-gather-rhel9 Red Hat Pen Drive Powered by Red Hat Lightspeed pen-drive/pen-drive-scanner-rhel9 Red Hat Power monitoring for Red Hat OpenShift openshift-power-monitoring/power-monitoring-rhel9-operator Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/acm-must-gather-rhel9, rhacm2/kube-state-metrics-rhel9, rhacm2/submariner-rhel9-operator, rhacm2/submariner-operator-bundle, rhacm2/multicluster-operators-subscription-rhel9 Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8, advanced-cluster-security/rhacs-roxctl-rhel8, advanced-cluster-security/rhacs-scanner-rhel8, advanced-cluster-security/rhacs-rhel8-operator, advanced-cluster-security/rhacs-scanner-v4-rhel8, advanced-cluster-security/rhacs-scanner-slim-rhel8 Red Hat Ansible Automation Platform 2 ansible-automation-platform-24/aap-must-gather-rhel8, ansible-automation-platform-25/aap-must-gather-rhel8, ansible-automation-platform-26/aap-must-gather-rhel9 Red Hat Build of Kueue kueue/kueue-must-gather-rhel9 Red Hat Edge Manager 1 flightctl, rhem/flightctl-api-rhel9, rhem/flightctl-worker-rhel9, rhem/flightctl-db-setup-rhel9, rhem/flightctl-periodic-rhel9, rhem/flightctl-pam-issuer-rhel9, +5 more Red Hat Enterprise Linux 8 grafana, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, grafana-graphite, +8 more Red Hat Enterprise Linux 9 grafana, grafana-selinux Red Hat OpenShift AI (RHOAI) rhoai/odh-must-gather-rhel9, rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9, rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9, rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9, rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9, rhoai/odh-data-science-pipelines-argo-argoexec-rhel8, +17 more Red Hat OpenShift Container Platform 4 cri-o, openshift, openshift-clients, openshift-kubelet, openshift4/ose-cli, openshift-hyperkube, +49 more Red Hat OpenShift Dev Workspaces Operator devworkspace/devworkspace-rhel9-operator, devworkspace/devworkspace-operator-bundle, devworkspace/devworkspace-project-clone-rhel9 Red Hat OpenShift for Windows Containers openshift4-wincw/windows-machine-config-rhel9-operator, openshift4-wincw/windows-machine-config-operator-bundle Red Hat OpenShift GitOps openshift-gitops-1/argocd-rhel8, openshift-gitops-1/argocd-rhel9, openshift-gitops-1/gitops-rhel8, openshift-gitops-1/must-gather-rhel8, openshift-gitops-1/argocd-agent-rhel8, openshift-gitops-1/gitops-rhel8-operator, +1 more Red Hat OpenShift Virtualization 4 container-native-virtualization/cluster-network-addons-operator, container-native-virtualization/cluster-network-addons-operator-rhel9 Red Hat OpenStack Platform 16.2 rhosp-rhel8/osp-director-agent, rhosp-rhel8/osp-director-operator, rhosp-rhel8/osp-director-downloader, rhosp-rhel8/osp-director-operator-bundle Red Hat OpenStack Platform 17.1 rhosp-rhel9/osp-director-agent, rhosp-rhel9/osp-director-operator, rhosp-rhel9/osp-director-operator-bundle Red Hat OpenStack Platform 18.0 rhoso-operators/openstack-operator-bundle Red Hat Trusted Artifact Signer rhtas/gitsign-rhel9 -
Red Hat Openshift Data Foundation 4.22 odf4/cephcsi-rhel9 1782932114, odf4/odf-cli-rhel9 1783537001, odf4/mcg-core-rhel9 1783536000, odf4/odf-drbd-rhel9 1783537392, odf4/odf-console-rhel9 1783537586, odf4/devicefinder-rhel9 1782932104, +21 morefixed: vendor fix RHSA-2026:37387
-
Red Hat Openshift Data Foundation 4.22 odf4/mcg-operator-bundle 1783538986, odf4/ocs-operator-bundle 1783539176, odf4/odf-operator-bundle 1783539513, odf4/cephcsi-operator-bundle 1783538908, odf4/odr-hub-operator-bundle 1783539596, odf4/rook-ceph-operator-bundle 1783539714, +10 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 8 mo ago
Exploit prediction
0.16% chance of exploitation in the next 30 days, higher than 4% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/go-git/go-git/v5 | <5.16.5 |
5.16.5 |
| go | github.com/go-git/go-git | all versions |
no fix listed |
| go | github.com/go-git/go-git/v4 | all versions |
no fix listed |
Affected products
- go-git go-git
Classification
- Weakness
-
- CWE-354 Improper Validation of Integrity Check Value
References
-
github.com
/go-git/go-git/security/advisories/GHSA-37cx-329c-33x3
web, patch, vendor-advisory, advisory
-
github.com
/go-git/go-git/releases/tag/v5.16.5
web, product, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-25934
advisory
-
github.com
/go-git/go-git
package
Sources
- CVE List CVE-2026-25934
- GitHub Advisory GHSA-37cx-329c-33x3
- NVD CVE-2026-25934
- OSV GO-2026-4473
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.