CVE-2026-55092: Trivy has a path traversal via a crafted vulnerability database or other downloaded artifacts
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.
References
- github.com/advisories/GHSA-mcj4-mphf-j9ff
- github.com/aquasecurity/trivy/commit/39e0b132260c60d59fa746c3f6dd10374b0ff6e4
- github.com/aquasecurity/trivy/commit/a72d9a4d997c25fbb6534e231b4e206c9b202b31
- github.com/aquasecurity/trivy/releases/tag/v0.71.1
- github.com/aquasecurity/trivy/security/advisories/GHSA-mcj4-mphf-j9ff
- nvd.nist.gov/vuln/detail/CVE-2026-55092
Code Behaviors & Features
Detect and mitigate CVE-2026-55092 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →