CVE-2026-55092 Trivy: Path traversal via a crafted vulnerability database or other downloaded artifacts
HighCVSS 7.0
EPSS 0.44%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| aquasec Trivy | < 0.71.1 | 0.71.1 | Fixed |
| aquasecurity trivy(Go) | < 0.71.1 | 0.71.1 | Fixed |
| aquasecurity trivy | = < 0.71.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| aquasecurity trivy(Go) | < 0.71.1 | 0.71.1 |
| aquasecurity trivy | = < 0.71.1 | No fix listed |
| aquasec Trivy | < 0.71.1 | 0.71.1 |
References
- https://github.com/aquasecurity/trivy/security/advisories/GHSA-mcj4-mphf-j9ff vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com product
- github.com
- github.com