CVE-2026-77305 — in-toto go-witness
One of 4 in-toto go-witness vulnerabilities published together by NVD: our article covers all of them.
GoVulnerabilitiesSummary
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.
Severity breakdown
Medium · 5.6
An attacker with administrator rights can exploit this with local access if a user views or visits something, but only under specific conditions.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- none
- Login needed
- yes, an administrator account
- User action needed
- yes, a user must view or visit something
- Impact
- high on integrity, none on confidentiality and availability
- Impact on other systems
- high on integrity, none on confidentiality and availability
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| in-toto go-witness | < 0.12.0 | — |
References by type
Vendor advisories
Patches and fixed releases
Affected
- in-toto go-witness
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-77305?
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. Weakness type: Use of Weak Hash (CWE-328).
How severe is CVE-2026-77305?
CVE-2026-77305 has a CVSS 4.0 base score of 5.6 (medium), from the CNA (github.com). An attacker with administrator rights can exploit this with local access if a user views or visits something, but only under specific conditions.
Is CVE-2026-77305 being exploited?
Not as far as is known: CVE-2026-77305 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026.
Which versions are affected by CVE-2026-77305?
in-toto go-witness < 0.12.0.
How do I fix CVE-2026-77305?
Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-77302 — in-toto go-witness
- Go Security Update Addresses Multiple Vulnerabilities
- NATS Server CVE-2026-58250: unauthenticated leafnode handshake crash via repeated INFO messages with compression enabled
- GHSA-vx8c-f5hh-c8pf / CVE-2026-137182 — Tinyauth: Nginx authentication bypass via spoofed X-Original-URL header
- GHSA-f9h7-4mmq-vgcq / CVE-2026-58262 — Klever Go counts bitmap padding bits toward BLS quorum, allowing blocks with insufficient signatures