# Trivy release, trivy-action and setup-trivy tags hijacked to steal CI/CD secrets

Source: https://botpassword.com/incidents/2026-03-trivy-supply-chain-compromise
Disclosed: 2026-03-21 · Type: Supply chain · Status: Resolved · Updated: 2026-10-25

On 19 March 2026 an attacker used compromised credentials to publish a malicious Trivy v0.69.4 release, force-push 76 of 77 version tags of `aquasecurity/trivy-action` and all 7 tags of `aquasecurity/setup-trivy` to an infostealer that read secrets from the GitHub Actions runner's memory and disk. On 22 March malicious Docker Hub images 0.69.5 and 0.69.6 followed. Aqua says any pipeline that ran a compromised component must treat every secret it could access as exposed and rotate it.

Identifiers: CVE-2026-33634, GHSA-69fq-xp46-6x23

## What was exposed

Every secret available to a CI job that ran a compromised component. Per the advisory, the payload in `entrypoint.sh` ran before the real scan, so the job looked normal. It dumped the `Runner.Worker` process memory through `/proc/<pid>/mem` to recover secrets (which defeats log masking), then swept more than 50 filesystem paths for SSH keys, AWS, Google Cloud and Azure credentials, Kubernetes tokens, Docker configs, `.env` files, database credentials and cryptocurrency wallets. Data was encrypted with AES-256-CBC and RSA-4096 and sent to attacker infrastructure. If that failed and `INPUT_GITHUB_PAT` was set, it created a public `tpcp-docs` repository in the victim's GitHub account and uploaded the stolen data as a release asset. LiteLLM later said its current understanding was that an unpinned, compromised Trivy dependency in its CI exposed the release credentials used in the March LiteLLM compromise.

## Who is affected

You are affected if, during the windows above, you ran trivy v0.69.4 from GitHub releases, deb, rpm, `get.trivy.dev`, GHCR, ECR Public or Docker Hub (or `latest`), Docker Hub images 0.69.5 or 0.69.6, `trivy-action` by any tag from 0.0.1 to 0.34.2, or `setup-trivy` without SHA pinning. You are not affected if you used trivy v0.69.3 or earlier, images by digest, Homebrew's official formula, `trivy-action` 0.35.0, or SHA pins to safe commits (for trivy-action, a commit after 9 April 2025). Look for a repository named `tpcp-docs` in your GitHub organization and review workflow logs from 19 and 20 March 2026.

## What to do

1. Rotate every secret that affected pipelines could reach: cloud keys, registry and package publishing tokens, deploy keys, database passwords and GitHub tokens.
2. Move to trivy v0.69.2 or v0.69.3, trivy-action v0.35.0 and setup-trivy v0.2.6; for older trivy-action versions use the new `v`-prefixed tags.
3. Search your organization for a `tpcp-docs` repository; if one exists, assume exfiltration succeeded.
4. Remove any cached copies of trivy v0.69.4 or Docker images 0.69.5 and 0.69.6.
5. Pin all GitHub Actions to full commit SHAs instead of mutable tags.

## Keys to rotate

- [AWS (IAM access keys)](https://botpassword.com/keys/aws)
- [Google Cloud (service account keys and API keys)](https://botpassword.com/keys/google-cloud)
- [Azure (Microsoft Entra app client secrets)](https://botpassword.com/keys/azure)
- [GitHub](https://botpassword.com/keys/github)
- [Docker Hub](https://botpassword.com/keys/docker-hub)
- [npm](https://botpassword.com/keys/npm)
- [PyPI](https://botpassword.com/keys/pypi)

## Timeline

- 2026-03-01: Aqua says an earlier attack on the Trivy project, which began in late February, was disclosed on this date; credential rotation afterwards was not atomic, which may have let the attacker keep access. ([source](https://github.com/aquasecurity/trivy/security/advisories/GHSA-69fq-xp46-6x23))
- 2026-03-19: From about 17:43 UTC the attacker force-pushes trivy-action and setup-trivy tags; trivy v0.69.4 artifacts are public from 18:22 to about 21:42 UTC. setup-trivy is cleaned by about 21:44 UTC. ([source](https://github.com/aquasecurity/trivy/security/advisories/GHSA-69fq-xp46-6x23))
- 2026-03-20: The trivy-action exposure window ends at about 05:40 UTC. ([source](https://github.com/aquasecurity/trivy/security/advisories/GHSA-69fq-xp46-6x23))
- 2026-03-21: Aqua publishes GHSA-69fq-xp46-6x23 (critical). ([source](https://github.com/aquasecurity/trivy/security/advisories/GHSA-69fq-xp46-6x23))
- 2026-03-22: Using separately compromised Docker Hub credentials, the attacker pushes `aquasec/trivy:0.69.5` and `0.69.6`, live from 15:43 UTC to about 01:40 UTC on 23 March. ([source](https://github.com/aquasecurity/trivy/security/advisories/GHSA-69fq-xp46-6x23))
- 2026-03-23: NVD publishes CVE-2026-33634. ([source](https://nvd.nist.gov/vuln/detail/CVE-2026-33634))

## Indicators

- trivy v0.69.4; Docker Hub `aquasec/trivy:0.69.5` and `aquasec/trivy:0.69.6`.
- `aquasecurity/trivy-action` tags 0.0.1 to 0.34.2 and `aquasecurity/setup-trivy` v0.2.0 to v0.2.6 resolved during the exposure window.
- A public `tpcp-docs` repository in a victim GitHub account.

## Sources

- https://github.com/aquasecurity/trivy/security/advisories/GHSA-69fq-xp46-6x23
- https://nvd.nist.gov/vuln/detail/CVE-2026-33634
- https://docs.litellm.ai/blog/security-townhall-updates
