External risk intelligence

Witness CLI Sensitive Variable Exfiltration Vulnerability

CVE advisorySeverity: CRITICAL (CVSS 9.3)

CVE-2026-77308

The vulnerability exists within a developer-focused CLI tool used in CI/CD build pipelines. It is executed during build-time processes and is not a network-accessible service, application, or gateway exposed to the public internet. Exposure is restricted to internal build environments.

Halo Surface Signal: 1 out of 5 — much less likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This vulnerability affects a software supply chain security tool that automatically loads configuration files. In certain build environments, an attacker could exploit this to redirect sensitive information, such as secrets, to an external server. The primary concern is confirming if this tool is in use and if untrusted code is processed within those environments.

  • Sensitive data can be leaked.
  • Avoid compromising the build pipeline.
  • Confirm relevance and check for exposure.

Attack Path

How an attacker could exploit the issue

An attacker could compromise a CI/CD pipeline by submitting a pull request that contains a malicious `.witness.yaml` file. When the CI/CD system checks out this untrusted code, the Witness CLI tool automatically loads the malicious configuration. This configuration can then redirect sensitive information, such as environment variables and secrets, to an attacker-controlled server, bypassing filtering mechanisms.

  • Entry condition: Checkout untrusted code.
  • Trigger point: Witness CLI auto-loads YAML config.
  • Resulting risk: Exfiltrate secrets and environment variables.

Live Threat

Current exploitation, exposure, and threat context

In CI/CD pipelines, a specially crafted `.witness.yaml` file could redirect sensitive environment variables, including secrets, to an attacker-controlled server when untrusted pull requests are processed.

  • CI environment variables and secrets at risk.
  • Via untrusted pull requests in CI/CD.
  • Exfiltration of sensitive CI/CD secrets.

Operational Fix

Recommended remediation, mitigation, and detection steps

This vulnerability impacts the Witness CLI, a tool used in software supply chains. Teams responsible for CI/CD pipelines and the applications they build should prioritize identifying instances of Witness, assessing their exposure within build environments, and coordinating remediation with any relevant platform or vendor management teams. The first step is to locate all deployments and confirm their business criticality to plan effective mitigation.

  • Ownership: CI/CD and Application teams.
  • Verify first: Witness deployment reachability.
  • Action: Plan secure upgrade or isolation.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is Witness and how is it used?

Witness is a pluggable framework designed for software supply chain risk management. Developers use the Witness CLI to generate attestations about their build processes, helping to verify the integrity of software components as they move through a CI/CD pipeline.

What does CVE-2026-77308 mean for security?

This vulnerability is classified as CWE-15: External Control of Configuration Settings. It means the software automatically trusts and loads configuration files from the local directory. An attacker can exploit this behavior to force the tool to use malicious settings instead of legitimate ones, leading to the unauthorized disclosure of sensitive data.

How can an attacker trigger this vulnerability?

An attacker triggers this by including a malicious .witness.yaml file in a pull request. When the CI/CD pipeline checks out this untrusted code and runs the Witness CLI, the tool loads the attacker's configuration. This bug is not triggered if the tool is run in an environment where it cannot access or load external configuration files provided by untrusted sources.

Why is this relevant to my build environment?

According to Halo Surface Signal, the risk is tied to where the CLI executes. While the vulnerability exists in a CI/CD tool, the exposure is generally restricted to internal build environments rather than services exposed to the public internet. Teams that process untrusted pull requests using Witness are at the highest risk, as these pipelines are the primary vector for introducing malicious configuration files.

How do I secure my systems against this?

The most effective step is to update the Witness CLI to version 0.11.0 or later. Before upgrading, identify where the CLI is currently deployed within your CI/CD pipelines to understand the scope of impact. Prioritize securing any environments that automatically process external pull requests, as these are the most common entry points for this type of misconfiguration.

References