Trivy is a security scanner. On March 19, 2026, a threat actor used compromised credentials to publish a malicious Trivy v0.69.4 release, force-push 76 of 77 version tags in `aquasecurity/trivy-action` to credential-stealing malware, and replace all 7 tags in `aquasecurity/setup-trivy` with malicious commits. This incident is a continuation of the supply chain attack that began in late February 2026. Following the initial disclosure on March 1, credential rotation was performed but was not atomic (not all credentials were revoked simultaneously). The attacker could have use a valid token to exfiltrate newly rotated secrets during the rotation window (which lasted a few days). This could have allowed the attacker to retain access and execute the March 19 attack. Affected components include the `aquasecurity/trivy` Go / Container image version 0.69.4, the `aquasecurity/trivy-action` GitHub Action versions 0.0.1 – 0.34.2 (76/77), and the`aquasecurity/setup-trivy` GitHub Action versions 0.2.0 – 0.2.6, prior to the recreation of 0.2.6 with a safe commit. Known safe versions include versions 0.69.2 and 0.69.3 of the Trivy binary, version 0.35.0 of trivy-action, and version 0.2.6 of setup-trivy. Additionally, take other mitigations to ensure the safety of secrets. If there is any possibility that a compromised version ran in one's environment, all secrets accessible to affected pipelines must be treated as exposed and rotated immediately. Check whether one's organization pulled or executed Trivy v0.69.4 from any source. Remove any affected artifacts immediately. Review all workflows using `aquasecurity/trivy-action` or `aquasecurity/setup-trivy`. Those who referenced a version tag rather than a full commit SHA should check workflow run logs from March 19–20, 2026 for signs of compromise. Look for repositories named `tpcp-docs` in one's GitHub organization. The presence of such a repository may indicate that the fallback exfiltration mechanism was triggered and secrets were successfully stolen. Pin GitHub Actions to full, immutable commit SHA hashes, don't use mutable version tags.
The attacker gained access to a valid GitHub token during the credential rotation window (lasting several days after the initial incident on March 1, 2026) because the rotation was not atomic — not all credentials were invalidated simultaneously. This allowed him to publish a malicious Trivy v0.69.4 release, overwrite 76 of 77 version tags in `aquasecurity/trivy-action` (versions 0.0.1–0.34.2) and replace all 7 tags in `aquasecurity/setup-trivy` (versions 0.2.0–0.2.6) with malicious commits containing malware. The malicious code aimed to exfiltrate secrets available in the CI/CD environment; as a fallback mechanism, a repository named `tpcp-docs` is created in the victim's organization. The vulnerability is classified as CWE-506 (Embedded Malicious Code), confirming that the attacker embedded malicious code directly in legitimately-looking artifacts.
The attacker can steal all secrets (tokens, API keys, passwords) available in CI/CD pipelines using infected components, enabling further lateral movement in the organization's infrastructure and takeover of other systems and repositories.
Immediately update to known secure versions: Trivy binary 0.69.2 or 0.69.3, trivy-action 0.35.0, setup-trivy 0.2.6 (restored with secure commit). All secrets available in pipelines where the infected version may have run should be treated as compromised and immediately rotated. Verify whether your organization downloaded or ran Trivy v0.69.4 from any source, remove all affected artifacts, and review workflow logs from March 19–20, 2026. Look for repositories named `tpcp-docs` in your GitHub organization — their presence may indicate successful secret exfiltration. Going forward: pin GitHub Actions to full, immutable commit SHA hashes instead of mutable version tags.
Aquasecurity Trivy version 0.69.4 (Go binary and container); Aquasecurity trivy-action versions 0.0.1–0.34.2 (76 of 77 tags); Aquasecurity setup-trivy versions 0.2.0–0.2.6 (prior to restoration of secure commit 0.2.6). CI/CD pipelines using LiteLLM that used the mentioned actions are also affected.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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:XAquasec Setup Trivy
APPAquasec< 0.2.6Aquasec Trivy
APPAquasec0.69.4Aquasec Trivy Action
APPAquasec< 0.35.0Litellm
APPLitellm1.82.71.82.8Telnyx
APPTelnyx4.87.14.87.2
CISA KEV — detailsi
- Vendori
- Aquasecurity
- Producti
- Trivy
- Added to KEVi
- March 26, 2026
- Remediation deadline (US Federal)i
- April 9, 2026(overdue)
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Aquasecurity Trivy contains an embedded malicious code vulnerability that could allow an attacker to gain access to everything in the CI/CD environment, including all tokens, SSH keys, cloud credentials, database passwords, and any sensitive configuration in memory.
Related vulnerabilities
SQL Injection w LiteLLM umożliwia nieautoryzowany dostęp do bazy danych
LiteLLM: pominięcie uwierzytelnienia przez manipulację nagłówkiem Host
LiteLLM: pominięcie uwierzytelnienia JWT przez kolizję klucza cache (Auth Bypass)
RCE w BerriAI/litellm poprzez endpoint /config/update
BerriAI LiteLLM – SSTI via Jinja umożliwia RCE przez endpoint /completions