CVE-2026-77308 PUBLISHED

Witness: CI/CD secret exfiltration via .witness.yaml auto-load in untrusted repository

Assigner: GitHub_M
Reserved: 20.08.2026 Published: 03.12.2026 Updated: 04.12.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
CVSS Score: 9.3

Product Status

Vendor in-toto
Product witness
Versions
  • Version < 0.11.0 is affected

References

Problem Types

  • CWE-15: External Control of System or Configuration Setting CWE