aquasec/trivy has 4 compromised versions.

CriticalCompromiseDocker

aquasec/trivy has 4 versions on Docker Hub flagged in 1 incident we track. Only the exact versions listed below were named by the source advisories. aquasec/trivy is a legitimate package. Only the versions listed were malicious; other versions were not affected, but a lockfile that resolved to a listed version installed the payload.

At a glanceDocker
4
Compromised versionsDo not install these

If one is in your tree, treat the machine as compromised, not just out of date.

Ecosystem
Docker
Worst severity
Critical
Incidents
1
First flagged
19 Mar 2026
Type
Compromise

Version data comes from the public advisories cited on each incident page.

Affected versions

The exact releases to look for.

Check what you actually have installed with docker image ls.

  • aquasec/trivy@latest
  • aquasec/trivy@0.69.6
  • aquasec/trivy@0.69.5
  • aquasec/trivy@0.69.4
The incident

The incident that flagged it

CriticalCompromise

Trivy GitHub Action and Docker images compromised, starting TeamPCP

Aqua Security's Trivy scanner was compromised on 19 March 2026 by the threat actor self-identifying as TeamPCP. The attacker force-pushed 76 of 77 tags in aquasecurity/trivy-action (only @0.35.0 survived) and all 7 tags in aquasecurity/setup-trivy to malicious commits, then published trojanised Trivy binary 0.69.4 + Docker images 0.69.5/0.69.6/latest. A stolen Argon-DevOps-Mgt service-account token seeded the downstream LiteLLM, Telnyx, Bitwarden CLI, and Checkmarx compromises.

Versions named here: 0.69.4, 0.69.5, 0.69.6, latestRead the incident →
What to do

Installed one of these? Start here.

Treat the machine as compromisedUpgrading is not enough. Packages in these incidents typically execute at install time, so the payload has already run with whatever credentials were in the environment.

  1. Rotate every credential that machine or CI job could reach, such as registry tokens, cloud keys, SSH keys and CI secrets, from a different machine.
  2. Pin to a version not listed above, then reinstall from a clean lockfile.
  3. Clear caches and private mirrors. Artifactory, Nexus, Verdaccio and devpi routinely keep serving a tarball after the public registry has pulled it.
  4. Read the incident write-up. Recommended actions differ per incident, and some have specific indicators of compromise worth searching your logs for.
Same campaign

Other packages in the same incident

If aquasec/trivy is in your tree, these are worth checking too. They were published by the same campaign.

Version data comes from the public advisories cited on each incident page. We list only versions those advisories name and do not infer additional ones. Think this is wrong or incomplete? Tell us.

Check your whole project

Check every dependency, not just this one.

It is usually pulled in as a transitive dependency. We do not parse Docker manifests yet, but the scanner checks npm and PyPI lockfiles and the incident write-ups list every affected package.