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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/aquasecurity/trivy | 0.71.1 | GHSA-mcj4-mphf-j9ff |
| Go | github.com/aquasecurity/trivy | 0.71.1 | GO-2026-6294 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://github.com/aquasecurity/trivy/security/advisories/GHSA-mcj4-mphf-j9ff x_refsource_CONFIRM