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 in aquasecurity's Trivy scanner before version 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 proper validation. This allows an attacker who can supply a malicious artifact to craft the annotation so that the file is written outside the intended directory, leading to arbitrary file write on the host system. The vulnerability is addressed in Trivy 0.71.1.
Potential Impact
An attacker able to make Trivy fetch a malicious OCI artifact can cause Trivy to write files to arbitrary locations on the host filesystem by exploiting the unvalidated filename annotation. This can lead to overwriting critical files, potentially resulting in system compromise or denial of service. The CVSS 4.0 score is 7.0 (high severity), indicating significant impact with no privileges required and user interaction needed.
Mitigation Recommendations
Upgrade Trivy to version 0.71.1 or later, where this path traversal vulnerability is fixed. No other mitigation is indicated. Patch status is not explicitly stated in the vendor advisory, but the description confirms the fix in 0.71.1.
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 in aquasecurity's Trivy scanner before version 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 proper validation. This allows an attacker who can supply a malicious artifact to craft the annotation so that the file is written outside the intended directory, leading to arbitrary file write on the host system. The vulnerability is addressed in Trivy 0.71.1.
Potential Impact
An attacker able to make Trivy fetch a malicious OCI artifact can cause Trivy to write files to arbitrary locations on the host filesystem by exploiting the unvalidated filename annotation. This can lead to overwriting critical files, potentially resulting in system compromise or denial of service. The CVSS 4.0 score is 7.0 (high severity), indicating significant impact with no privileges required and user interaction needed.
Mitigation Recommendations
Upgrade Trivy to version 0.71.1 or later, where this path traversal vulnerability is fixed. No other mitigation is indicated. Patch status is not explicitly stated in the vendor advisory, but the description confirms the fix in 0.71.1.
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: 06/25/2026, 17:01:14 UTC
Last updated: 06/26/2026, 01:40:55 UTC
Views: 7
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.