CVE-2026-55092: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in aquasecurity trivy
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.
AI Analysis
Technical Summary
CVE-2026-55092 is a path traversal vulnerability (CWE-22) in aquasecurity's Trivy scanner. Before version 0.71.1, Trivy downloads OCI artifacts and uses the org.opencontainers.image.title annotation from the artifact manifest as the destination filename without proper validation. An attacker able to supply a malicious artifact can craft this annotation to resolve to a path outside the intended directory, causing arbitrary file writes on the host filesystem. This can lead to unauthorized file modification or overwriting critical files. The issue is resolved in Trivy 0.71.1.
Potential Impact
An attacker who can cause Trivy to fetch a malicious OCI artifact can exploit this vulnerability to write files to arbitrary locations on the host filesystem. This can lead to unauthorized file modification, potential privilege escalation, or disruption of system integrity. The vulnerability has a high severity score (CVSS 7.0) indicating significant impact if exploited.
Mitigation Recommendations
Upgrade Trivy to version 0.71.1 or later, where this path traversal vulnerability is fixed. No other mitigation is indicated or required as the fix addresses the root cause by validating the destination filename.
CVE-2026-55092: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in aquasecurity trivy
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.
CVSS v4.0
Score 7.0high
Affected software
pkg:github/aquasecurity/trivyRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-55092 is a path traversal vulnerability (CWE-22) in aquasecurity's Trivy scanner. Before version 0.71.1, Trivy downloads OCI artifacts and uses the org.opencontainers.image.title annotation from the artifact manifest as the destination filename without proper validation. An attacker able to supply a malicious artifact can craft this annotation to resolve to a path outside the intended directory, causing arbitrary file writes on the host filesystem. This can lead to unauthorized file modification or overwriting critical files. The issue is resolved in Trivy 0.71.1.
Potential Impact
An attacker who can cause Trivy to fetch a malicious OCI artifact can exploit this vulnerability to write files to arbitrary locations on the host filesystem. This can lead to unauthorized file modification, potential privilege escalation, or disruption of system integrity. The vulnerability has a high severity score (CVSS 7.0) indicating significant impact if exploited.
Mitigation Recommendations
Upgrade Trivy to version 0.71.1 or later, where this path traversal vulnerability is fixed. No other mitigation is indicated or required as the fix addresses the root cause by validating the destination filename.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-16T14:41:54.578Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3d5b514853345fc13372c2
Added to database: 06/25/2026, 16:46:09 UTC
Last enriched: 07/02/2026, 22:43:39 UTC
Last updated: 08/09/2026, 03:43:17 UTC
Views: 90
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.