CVE-2026-77303: go-witness: artifactsFrom edge can be satisfied with no genuine artifact flow (one-directional / empty-overlap comparison)
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-overlap as a pass. As a result an artifactsFrom edge, which is meant to prove that one step consumed the artifacts another step produced, can be satisfied by a downstream collection that shares no files at all with the upstream step. The provenance link the policy author relied on is not actually enforced. This issue has been patched in version 0.12.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
go-witnessto a version that resolves this vulnerability.Fixed in 0.12.0
Event History
Frequently Asked Questions
Which deployments are affected?
Deployments using go-witness or witness versions earlier than 0.12.0 are affected when they rely on artifactsFrom edges to enforce that a downstream step consumed artifacts produced by an upstream step.
What must an attacker or invalid workflow do to bypass the intended provenance check?
The downstream step's material collection only needs to have no overlapping file paths with the referenced upstream step's artifact collection. The vulnerable one-directional comparison treats that empty overlap as a successful artifactsFrom check.
How can I tell whether my provenance policy may have been bypassed?
Review artifactsFrom relationships generated or verified with versions before 0.12.0, particularly where the downstream materials and upstream artifacts have disjoint path sets. Such relationships may have passed without any genuine artifact flow.
What should I do if I cannot immediately upgrade?
Do not rely on artifactsFrom alone as proof of cross-step artifact consumption in affected versions. Independently verify that downstream materials and upstream artifacts share the expected file paths until version 0.12.0 can be deployed.