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.