Skip to content
OpenAdvisories
High · 7.0 CVE-2026-55092 EUVD-2026-39477GHSA-mcj4-mphf-j9ffGO-2026-6294

Trivy: Path traversal via a crafted vulnerability database or other downloaded artifacts

Published Jun 25, 2026 · Updated Jun 26, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
aquasecurity trivy < 0.71.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
SLES 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed trivy 0.71.2-2.1 openSUSE-SU-2026:11162-1
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 openSUSE-SU-2026:21761-1
openSUSE Leap 16.0 trivy 0.72.0-160000.1.1 openSUSE-SU-2026:21249-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling kubescape 4.0.15-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/aquasecurity/trivy < 0.71.1 0.71.1 GHSA-mcj4-mphf-j9ff

Advisories 5

References