CVE-2026-25934
Packer vulnerability analysis and mitigation

Overview

CVE-2026-25934 is an improper integrity check vulnerability in go-git, a pure Go implementation of the Git version control system. The flaw causes go-git to fail to properly verify data integrity checksums for .pack and .idx files fetched from or processed by Git servers, potentially allowing consumption of corrupted data. All versions of github.com/go-git/go-git/v5 up to and including v5.16.4 are affected; the vulnerability was disclosed and patched on February 9, 2026. It carries a CVSS v3.1 base score of 4.3 (Medium) (GitHub Advisory, go-git Advisory).

Technical details

The root cause is classified as CWE-354 (Improper Validation of Integrity Check Value): go-git did not correctly verify the embedded checksums present in Git packfiles (.pack) and their associated pack index files (.idx). Packfiles received from upstream Git servers contain a trailing checksum of their contents; .idx files are generated locally when new packfiles are processed. Neither checksum was being validated correctly, meaning corrupted or tampered file content could be silently accepted. Exploitation requires user interaction — specifically, a user or automated process must fetch from a malicious or compromised repository — and notably, the advisory clarifies that packfile checksum verification does not protect against a fully malicious server, since transport-layer trust (TLS/SSH) is the primary security boundary (GitHub Advisory, go-git Advisory).

Impact

Successful exploitation results in go-git silently consuming corrupted .pack or .idx files, leading to repository data integrity violations and unexpected errors such as "object not found." The primary impact is a low-severity integrity compromise — corrupted objects may be accepted and propagated, posing supply chain risks in automated CI/CD pipelines that use go-git to clone or fetch repositories. There is no confidentiality impact and no direct availability impact beyond application errors caused by corrupted repository state (GitHub Advisory).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.005% (1st percentile), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires user interaction (e.g., fetching from a malicious or compromised Git server), limiting its practical attack surface (GitHub Advisory, go-git Advisory).

Mitigation and workarounds

Users should upgrade go-git to v5.16.5 or the latest v6 pseudo-version, which expands packfile integrity checks to properly validate checksums for both .pack and .idx files (go-git Release). As a temporary workaround for those unable to upgrade immediately, the advisory recommends running git fsck from the standard git CLI to check for data corruption in any affected repositories (GitHub Advisory). IBM has also issued a patch advisory for affected Data Virtualization products on IBM Software Hub (IBM Advisory). Additionally, Ubuntu has released security notice USN-8088-1 addressing this issue for affected Ubuntu packages.

Community reactions

The vulnerability was reported privately to the go-git project by researcher @N0zoM1z0 and was responsibly disclosed alongside the patch release on February 9, 2026. Downstream projects including Portainer (v2.33.8), pulumi-kubernetes, and IBM Data Virtualization have issued updates incorporating the fix. OpenSUSE and Ubuntu have also released security advisories addressing the issue in their respective package ecosystems (go-git Advisory, IBM Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

golang-github-go-git-go-git

Affected

sid

golang-github-go-git-go-git: 5.17.0-1

Fixed

trixie

golang-github-go-git-go-git

Affected

Ubuntu

Fixed

devel

golang-github-go-git-go-git

Affected

jammy

golang-github-go-git-go-git

Affected

jammy (esm-apps)

golang-github-go-git-go-git: 5.4.2-3ubuntu0.1~esm1

Fixed

noble

golang-github-go-git-go-git

Affected

noble (esm-apps)

golang-github-go-git-go-git: 5.4.2-4ubuntu0.24.04.3+esm2

Fixed

resolute

golang-github-go-git-go-git

Affected

resolute (esm-apps)

golang-github-go-git-go-git

Affected

RHEL / CentOS

Fixed

OpenShift

el9:odf4/cephcsi-rhel9-0:v4.22.0

Fixed

RHEL 8

grafana.src

Affected

RHEL 9

grafana.src

Affected

SourceThis report was generated using AI

Related Packer vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-84304HIGH8.7
  • cAdvisor logocAdvisor
  • envoy-gateway-fips-1.8
NoYesSep 01, 2026
CVE-2026-78662HIGH7.5
  • Docker logoDocker
  • kubescape-server-fips
NoYesSep 02, 2026
CVE-2026-56855HIGH7.5
  • Docker logoDocker
  • fulcio-fips
NoYesSep 02, 2026
CVE-2026-19589HIGH7.1
  • Packer logoPacker
  • cpe:2.3:a:hashicorp:packer
NoYesAug 17, 2026
CVE-2026-71557MEDIUM6.3
  • Packer logoPacker
  • kyverno-fips-1.17
NoYesAug 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management