Path traversal in trivy - #VU134535

 

Path traversal in trivy - #VU134535

Published: June 15, 2026


Vulnerability identifier: #VU134535
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: N/A
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Aqua Security
Affected software:
trivy

Detailed vulnerability description

The vulnerability allows a remote user to write arbitrary files on the host filesystem.

The vulnerability exists due to path traversal in OCI artifact download handling when processing a crafted artifact manifest annotation. A remote user can supply a crafted OCI artifact with a malicious org.opencontainers.image.title annotation to write arbitrary files on the host filesystem.

Exploitation requires Trivy to be directed to an attacker-controlled OCI artifact through a repository override or module installation input. The impact is limited to the privilege boundary of the user running Trivy.


Remediation

Install security update from vendor's website.

Sources