Supply chain · March 21, 2026

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

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.

DisclosedMarch 21, 2026
Earliest known activityMarch 19, 2026
AffectedAqua Security, Trivy, aquasecurity/trivy-action, aquasecurity/setup-trivy, GitHub Actions, Docker Hub
TypeSupply chain
StatusResolved
CVECVE-2026-33634

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.

Am I 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 now

  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

Guides to the credentials this incident put at risk:

Timeline

  1. 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
  2. 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
  3. The trivy-action exposure window ends at about 05:40 UTC. Source
  4. Aqua publishes GHSA-69fq-xp46-6x23 (critical). Source
  5. 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
  6. NVD publishes CVE-2026-33634. Source

Indicators

From the advisories listed below. Use them to search your logs, lockfiles and workflow runs.

  • 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.

What this changes for credential handling

  • A scanner that ran in every pipeline could read every secret those pipelines held. BotPassword scopes each secret to the step that needs it rather than to the whole job environment.

Frequently asked questions

Am I affected by the Aqua Security incident?

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 was exposed in the Aqua Security incident?

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.

Which keys should I rotate?

Rotate any AWS (IAM access keys), Google Cloud (service account keys and API keys), Azure (Microsoft Entra app client secrets), GitHub, Docker Hub, npm, PyPI credentials that were reachable from affected systems, starting with the ones that can publish code or reach production.

Keep keys out of reach of the next compromised package

BotPassword is in early access. Request an invite and we'll email you when your spot opens.