CVE-2026-77305 PUBLISHED

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

Assigner: GitHub_M
Reserved: 20.08.2026 Published: 03.12.2026 Updated: 04.12.2026

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.

Metrics

CVSS 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
CVSS Score: 5.6

Product Status

Vendor in-toto
Product go-witness
Versions
  • Version < 0.12.0 is affected

References

Problem Types

  • CWE-328: Use of Weak Hash CWE
  • CWE-354: Improper Validation of Integrity Check Value CWE