CVE-2026-77305

go-witness: Cross-step artifact comparison downgrades to the weakest shared hash, allowing SHA-1-collision artifact substitution

Published Dec 3, 2026 CVSS 4.0 · 5.6 Medium EPSS n/a KEV · Not listed
Description
go-witness and witness are Go modules for generating attestations. Prior to version 0.12.0, artifact equality silently downgrades to the weakest hash function the two digest sets have in common. An attacker who presents an artifact described only by a weak digest (SHA-1) is deemed equal to a fully-described trusted artifact when the SHA-1 values match, even though the strong (SHA-256) digests differ or are absent. This issue has been patched in version 0.12.0.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description go-witness and witness are Go modules for generating attestations. Prior to version 0.12.0, artifact equality silently downgrades to the weakest hash function the two digest sets have in common. An attacker who presents an artifact described only by a weak digest (SHA-1) is deemed equal to a fully-described trusted artifact when the SHA-1 values match, even though the strong (SHA-256) digests differ or are absent. This issue has been patched in version 0.12.0.
Title go-witness: Cross-step artifact comparison downgrades to the weakest shared hash, allowing SHA-1-collision artifact substitution
Weaknesses CWE-328
CWE-354
References
Metrics cvssV4_0

{'score': 5.6, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:P/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 3, 2026, 11:39 PM
Reserved
Aug 20, 2026, 9:17 PM

No data.