Read the docs

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

Priority HIGH 81CWE-15Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Witness, a supply chain risk management framework from in-toto, is affected before version 0.11.0. The witness CLI automatically loads a .witness.yaml file from the current working directory on every run, which is CWE-15, external control of a system or configuration setting. An attacker who can place such a file in a CI/CD pipeline that checks out untrusted pull requests can redirect attestation uploads to a server they control and disable filtering of sensitive variables, exposing CI environment variables including secrets. The CVSS 4.0 vector rates the attack as network-based with no privileges or user interaction required.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
Fix Fixed witness (in-toto): 0.11.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
in-totowitnessbefore 0.11.00.11.0Patch availableCNA
  • witness Vendorin-toto Affected before 0.11.0 Fixed in 0.11.0 Patch available CNA

Remediation

Upgrade in-toto witness to version 0.11.0 or later, which fixes this issue. The sources list no fixed version for any other product.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

  • Fix · CNA witness (in-toto) Fixed in 0.11.0

Timeline

  1. 2026-12-03 Threatist record created from CVE-2026-77308
  2. 2026-12-04 CISA SSVC decision points changed

References

  • TI-2026-103906 Signature bypass in go-witness lets attackers forge trusted policies CVSS 4.0HIGH 7.0
  • TI-2026-103908 Weak hash downgrade in go-witness artifact comparison CVSS 4.0MEDIUM 5.6
  • TI-2026-103907 Weak artifact comparison in go-witness lets artifactsFrom edges pass CVSS 4.0MEDIUM 5.6
  • TI-2025-38643 go-witness Improper Verification of AWS EC2 Identity Documents CVSS 4.0MEDIUM 6.9
  • TI-2021-17929 Improperly Implemented path matching for in-toto-golang CVSS 3.1MEDIUM 6.5
  • TI-2023-15380 in-toto vulnerable to Configuration Read From Local Directory CVSS 3.1MEDIUM 5.5
See all 7 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences