Weak hash downgrade in go-witness artifact comparison
Key facts
- Attack vector
- Local
- Privileges required
- High
- User interaction
- Passive
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
go-witness from in-toto, before 0.12.0, treats artifacts as equal when they share only a weak digest. Artifact equality falls back to SHA-1 even when the SHA-256 digests differ or are absent, an improper integrity check (CWE-354). A local attacker with high privileges and user interaction can present an artifact described only by SHA-1 in place of a trusted artifact when the SHA-1 values match.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Update go-witness to version 0.12.0, which fixes this issue. The sources list no other fixed versions.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA go-witness (in-toto) Fixed in 0.12.0
Timeline
- 2026-12-03 Threatist record created from CVE-2026-77305
- 2026-12-04 CISA SSVC decision points changed
References
More in-toto vulnerabilities
- TI-2026-103910 Witness: secret exfiltration via .witness.yaml auto-load in CI/CD pipelines CVSS 4.0CRITICAL 9.3
- TI-2026-103906 Signature bypass in go-witness lets attackers forge trusted policies CVSS 4.0HIGH 7.0
- TI-2026-103907 Weak artifact comparison in go-witness lets artifactsFrom edges pass CVSS 4.0MEDIUM 5.6
- TI-2025-38643 go-witness Improper Verification of AWS EC2 Identity Documents CVSS 4.0MEDIUM 6.9
- TI-2021-17929 Improperly Implemented path matching for in-toto-golang CVSS 3.1MEDIUM 6.5
- TI-2023-15380 in-toto vulnerable to Configuration Read From Local Directory CVSS 3.1MEDIUM 5.5
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences