Path traversal in trivy - #VU134535
Published: June 15, 2026
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.