CVE-2026-77305
go-witness: Cross-step artifact comparison downgrades to the weakest shared hash, allowing SHA-1-collision artifact substitution
- Severity
- medium CVSS 5.6 (v4.0)
- Affects
- go-witness · in-toto
- Weakness
- CWE-328: Use of Weak Hash
- Published
- 3 December 2026 by GitHub_M
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.