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

Published Dec 3, 2026
·
Updated

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.

Affected Software

1 affected component
TestifySec Witness<0.11.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.11.0

Event History

Dec 3, 2026
CVE Published
via MITRE·10:42 PM
Data Sourced
via MITRE·10:42 PM
DescriptionWeakness

Frequently Asked Questions

1

Which CI/CD workflows are exposed?

Workflows using Witness before 0.11.0 are exposed when they invoke the CLI from a working directory containing code checked out from an untrusted pull request. An attacker must be able to add a .witness.yaml file to that repository content.

2

What could an attacker obtain through exploitation?

The attacker-controlled configuration can redirect attestation uploads to a server they control and disable sensitive-variable filtering. This can expose all CI environment variables, including secrets.

3

Are default Witness settings affected?

Yes. Before 0.11.0, Witness automatically loaded .witness.yaml from the current working directory on every invocation, using that location as the default configuration path.

4

What should teams do if they cannot immediately upgrade?

Do not run the affected Witness CLI in a working directory populated from untrusted pull requests, or ensure untrusted repository content cannot provide a .witness.yaml file. Treat CI secrets and environment variables available to such runs as potentially exposed.

5

How can teams determine whether they may have been affected?

Review CI jobs using Witness before 0.11.0 that checked out untrusted pull requests and ran from the checkout directory. Check whether those pull requests contained a .witness.yaml that configured attestation uploads or disabled sensitive-variable filtering.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203