CVE-2026-77308

9.3Critical

Published Dec 4, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

9.3CVSS

Critical

0CVSS v4.010

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on confidentiality, integrity
Weakness
CWE-15

What an attacker gets

Unauthenticated attackers can exfiltrate CI environment variables and secrets by placing a malicious .witness.yaml file in a repository. This occurs when the Witness CLI is executed in a directory containing an untrusted configuration file.

Root cause

The application automatically loads and executes configuration files from the current working directory without validation.

Affected versions

Witness CLI versions prior to 0.11.0

CVSS v4.0 · 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Fix & remediation

Upgrade to Witness CLI version 0.11.0 or later. Ensure CI/CD pipelines do not execute the witness command in directories containing untrusted code or pull request content.

remediation — bash
$ go install github.com/in-toto/witness@v0.11.0

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-77308

More fully triaged vulnerabilities you may want to check next.