CVE-2026-77302: go-witness: Policy-signature verification accepts certificates whose signature failed, allowing forged-policy trust
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 signed by a trusted identity. The policy-signature check confers signer trust on a certificate that merely chains to a trusted root and matches the configured identity constraints, even when that certificate's signature over the policy never verified. With Sigstore keyless signing, obtaining such a certificate is common (any accepted OIDC identity), and the impersonated identity's certificate is public, so this is an unauthenticated forgery of the policy. This issue has been patched in version 0.12.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.12.0
Event History
Frequently Asked Questions
Which deployments are exposed to policy forgery?
Deployments using go-witness or witness before version 0.12.0 are exposed when their policy verification trusts certificates chaining to a configured root and applies identity constraints. Sigstore keyless-signing deployments are particularly exposed because certificates for accepted OIDC identities are commonly obtainable.
What does an attacker need to forge an accepted policy?
The attacker needs to obtain a certificate under the trusted root that matches the verifier's configured identity constraints. They do not need to produce a valid signature over the policy using the impersonated identity's certificate; that public certificate can be used in the forgery.
Is the forgery authenticated?
No. The issue permits an unauthenticated policy forgery once the attacker can obtain a qualifying certificate under the trusted root.
What version fixes the issue?
Upgrade go-witness and witness to version 0.12.0, which includes the patch.