ADVISORIES

Vulnerability

CVE-2024-35192

Trivy is a security scanner. Prior to 0.51.2, if a malicious actor is able to trigger Trivy to scan container images from a crafted malicious registry, it could result in the leakage of credentials for legitimate registries such as AWS Elastic Container Registry (ECR), Google Cloud Artifact/Container Registry, or Azure Container Registry (ACR). These tokens can then be used to push/pull images from those registries to which the identity/user running Trivy has access. Systems are not affected if the default credential provider chain is unable to obtain valid credentials. This vulnerability only applies when scanning container images directly from a registry. This vulnerability is fixed in 0.51.2.

11 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • CGA-3q42-m25r-3vqc
    CVE-2024-35192 ChainguardWolfi Updated 5 November 2026
  • CGA-6mmm-8xw9-63m7
    CVE-2024-35192 ChainguardWolfi Updated 5 November 2026
  • CGA-8xh6-jph4-fjq3
    CVE-2024-35192 ChainguardWolfi Updated 5 November 2026
  • CGA-93m7-vq9f-hf8c
    CVE-2024-35192 ChainguardWolfi Updated 5 November 2026
  • CGA-gjxv-jwjv-xx6h
    CVE-2024-35192 ChainguardWolfi Updated 5 November 2026
  • CGA-ph49-w9wm-5f9v
    CVE-2024-35192 ChainguardWolfi Updated 5 November 2026
  • GHSA-xcq4-m2r3-cmrj

    Trivy possibly leaks registry credential when scanning images from malicious registries

    Moderate CVE-2024-35192 Go Updated 10 September 2026
  • GO-2024-2870

    Credential leakage in github.com/aquasecurity/trivy

    CVE-2024-35192 Go Updated 4 February 2026
  • openSUSE-SU-2024:0268-1

    Security update for trivy

    CVE-2023-42363CVE-2024-35192CVE-2024-6257 SUSEopenSUSE Updated 4 February 2026
  • openSUSE-SU-2024:0269-1

    Security update for trivy

    CVE-2023-42363CVE-2024-35192CVE-2024-6257 SUSEopenSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14030-1

    trivy-0.52.0-1.1 on GA media

    CVE-2024-35192 openSUSE Updated 4 February 2026

References