CVE-2026-77308
Witness: CI/CD secret exfiltration via .witness.yaml auto-load in untrusted repository
- Severity
- critical CVSS 9.3 (v4.0)
- Affects
- witness · in-toto
- Weakness
- CWE-15: External Control of System or Configuration Setting
- Published
- 3 December 2026 by GitHub_M
Witness is a pluggable framework for software supply chain risk management. Prior to version 0.11.0, the witness CLI auto-loads .witness.yaml from the current working directory on every invocation (default config path at options/root.go:29, loaded by initConfig at cmd/config.go:46). In CI/CD pipelines that check out untrusted Pull Requests, an attacker can include a .witness.yaml that redirects attestation uploads to an attacker-controlled server with sensitive variable filtering disabled, exfiltrating all CI environment variables including secrets. This issue has been patched in version 0.11.0.
Our coverage
We have not written about this one. Know why it matters? Send a tip.