Home › Vulnerabilities › in-toto
in-toto go-witness Flaws Allow Forged Policy Signatures and Out-of-Tree File Reads, Fixed in 0.12.0
Four vulnerabilities in the in-toto go-witness and witness Go modules affect attestation verification and artifact recording before version 0.12.0. The most severe, CVE-2026-77302, lets a party obtaining a certificate under the trusted root forge a policy the verifier accepts as signed by a trusted identity; all four are patched in 0.12.0.
What to look into
- 4 vulnerabilities in in-toto go-witness: 1 high, 3 medium (CVSS up to 7.0).
- None of them is known to be exploited yet.
- Start with CVE-2026-77302 (7.0 high): go-witness and witness are Go modules for generating attestations. Prior to version 0.12.0, a signature-verification bypass lets any party who can obtain a certificate under the trusted root forge a… An attacker without an account can exploit this over the network if a user views or visits something, but only under specific conditions.
- 1 of 4 can be attacked over the network without logging in.
- Kinds of flaws: Insufficient Verification of Data Authenticity (×2); Improper Verification of Cryptographic Signature; Use of Weak Hash; Improper Validation of Integrity Check Value.
Key points
- CVE-2026-77302 (HIGH, CVSS 7.0) lets a certificate that chains to a trusted root forge a policy accepted as signed by a trusted identity.
- CVE-2026-77305 allows SHA-1 matches to stand in for artifact equality when SHA-256 digests differ or are absent.
- CVE-2026-77303 allows an artifactsFrom check to pass with no shared files between steps.
- CVE-2026-77306 can cause witness run to hash and record files outside the attested directory via symlinks.
- All four are stated to be patched in version 0.12.0.
Overview
Four vulnerabilities were published together for go-witness and witness, Go modules used to generate attestations. Each record states that the issue affects versions prior to 0.12.0 and has been patched in that release. The flaws fall into three groups: signature and policy verification, artifact matching, and file handling during attestation.
Policy signature bypass
The most severe record is CVE-2026-77302, rated HIGH (CVSS 7.0). According to its record, the policy-signature check grants signer trust to any certificate that chains to a trusted root and matches the configured identity constraints, even when the signature over the policy never verified. The record says that with Sigstore keyless signing, obtaining such a certificate is common because any accepted OIDC identity can do so, and that the impersonated identity's certificate is public. On that basis it describes the issue as an unauthenticated forgery of the policy.
Weak digest and provenance checks
CVE-2026-77305 (MEDIUM, CVSS 5.6) concerns artifact equality. Per the record, when two digest sets share only a weak hash such as SHA-1, the comparison falls back to that hash, so an artifact matching on SHA-1 can be treated as equal to a trusted artifact even when the SHA-256 digests differ or are missing.
CVE-2026-77303 (MEDIUM, CVSS 5.6) affects the cross-step artifact check. The record says it compares in one direction only and treats an empty overlap as a pass, so an artifactsFrom link can be satisfied by a downstream step that shares no files with the upstream step.
File reads outside the workspace
CVE-2026-77306 (MEDIUM, CVSS 4.8) involves symbolic links. According to the record, RecordArtifacts resolves symlinks and recurses without checking that the target stays inside the attested directory. Running witness run over an attacker-influenced directory, such as a checked-out repository, a pull-request build, or an unpacked archive, could therefore hash and record files outside the workspace, which the record gives as examples of secrets or system files.
Scope
The records describe the product only in these terms. They do not state exploitation in the wild, and they do not give workarounds or detection methods.
What to do
- Upgrade go-witness and witness to version 0.12.0 or later, the fixed version named in all four records.
- Review attestation policies that rely on artifactsFrom links or SHA-1-only artifact digests, since those checks were weakened before the fix.
- Be cautious running witness run over untrusted checkouts, pull-request builds, or unpacked archives until the upgrade is applied.
The 4 vulnerabilities
- CVE-2026-77302 7.0 go-witness and witness are Go modules for generating attestations. Prior to version 0.12.0, a signature-verification bypass lets any party who can obtain a certificate under the trusted root forge a policy that the verifier accepts as sign…
- CVE-2026-77305 5.6 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 describ…
- CVE-2026-77303 5.6 go-witness and witness are Go modules for generating attestations. Prior to version 0.12.0, the cross-step artifact check compares a step's materials against the referenced step's artifacts in one direction only, and treats an empty path-o…
- CVE-2026-77306 4.8 go-witness and witness are Go modules for generating attestations. Prior to version 0.12.0, RecordArtifacts resolves a symbolic link with filepath.EvalSymlinks and then recurses into the resolved path with no check that the target stays wi…
Frequently asked questions
How many in-toto go-witness vulnerabilities were published on December 4, 2026?
4 vulnerabilities: 1 high, 3 medium, with CVSS scores up to 7.0.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-77302 (CVSS 7.0): go-witness and witness are Go modules for generating attestations. Prior to version 0.12.0, a signature-verification bypass lets any party who can obtain a certificate under the trusted root forge a…