Vulnerability · Published Jun 25, 2026 · Assigned by GitHub_M

CVE-2026-55092Trivy: Path traversal via a crafted vulnerability database or other downloaded artifacts

High 7.0

In plain English

A high-severity path traversal in trivy from aquasecurity. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)7.0High
Exploit odds (30 days)0.4%top 61.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Trivy is a security scanner. Prior to 0.71.1, when Trivy downloads an OCI artifact, it uses the org.opencontainers.image.title annotation from the artifact manifest as the destination filename without validation. An attacker who can make Trivy fetch an attacker-controlled artifact can supply a crafted annotation that resolves to a path outside the intended destination, causing Trivy to write the layer content to an arbitrary location on the host filesystem. This vulnerability is fixed in 0.71.1.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/aquasecurity/trivy0.71.1GHSA-mcj4-mphf-j9ff
Gogithub.com/aquasecurity/trivy0.71.1GO-2026-6294

Affected products (as reported)

VendorProductVersions
aquasecurity trivy < 0.71.1

Weakness: CWE-22 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

References