go-witness 0.12.0 Patch Fixes Hash Downgrade Flaw in Artifact Attestations

2 min read
Source: CVEs | Zero Wire | Cloudflare Radar
go-witness 0.12.0 Patch Fixes Hash Downgrade Flaw in Artifact Attestations
Photo: CVEs | Zero Wire | Cloudflare Radar
TL;DR

GitHub has released version 0.12.0 of the go-witness module to fix a medium-severity vulnerability that allowed attackers to substitute artifacts using weak SHA-1 hashes. The flaw, identified as CVE-2026-77305, caused the system to downgrade artifact comparisons to the weakest shared hash, potentially bypassing integrity checks for software supply chain attestations.

Key points

  • CVE-2026-77305 affects go-witness and witness modules prior to version 0.12.0, allowing cross-step artifact comparison to downgrade to the weakest shared hash function.
  • The vulnerability enables SHA-1-collision artifact substitution, where an attacker can present an artifact described only by a weak SHA-1 digest that matches a trusted artifact, even if strong SHA-256 digests differ or are absent.
  • GitHub assigned a CVSS 4.0 score of 5.6 (Medium) to the flaw, citing high attack complexity and high privileges required, but noting high integrity impact on the system and other dependent systems.
  • The issue is classified under CWE-328 (Use of Weak Hash) and CWE-354 (Improper Validation of Integrity Check Value), with the fix available in the v0.12.0 release.
  • The vulnerability was assigned by GitHub, Inc., and the record was published on December 3, 2026, with references to security advisories and pull requests on the go-witness repository.

Background

The go-witness module is part of the Witness framework, an open-source tool for software supply chain risk management that verifies artifact provenance and integrates with platforms like GitHub and GitLab. Witness, originally from TestifySec and now under the Cloud Native Computing Foundation's in-toto ecosystem, uses attestations to ensure software integrity. This vulnerability highlights risks in hash validation within supply chain security tools, similar to recent patches for other medium-severity flaws in software like MyBibliotheca and Eclipse iceoryx2.

Why it matters

This vulnerability undermines the integrity of software supply chain attestations, potentially allowing attackers to substitute malicious artifacts for trusted ones if weak hash collisions are exploited. It affects systems relying on go-witness for verifying software provenance, posing risks to integrity in environments where high-privilege access is required but hash validation is critical for security.

What to watch

Users of go-witness and witness modules should update to version 0.12.0 or later to mitigate CVE-2026-77305. Organizations using Witness for supply chain verification should review their hash validation policies to ensure strong hash functions (e.g., SHA-256) are enforced across all artifact comparisons. No further action is required for those already on patched versions, but monitoring for related advisories in the in-toto ecosystem is recommended.

Share this article

Want the full story? Read the original reporting

Read on CVEs | Zero Wire | Cloudflare Radar