Skip to main content

Trivy CVE-2026-55092

| EUVDEUVD-2026-39477 HIGH
Path Traversal (CWE-22)
2026-06-25 GitHub_M GHSA-mcj4-mphf-j9ff
7.0
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Publish crafted OCI artifact in registry
  2. Delivery
    Set malicious image.title traversal annotation
  3. Exploit
    Victim runs Trivy against artifact
  4. Execution
    Trivy writes layer to arbitrary path
  5. Persist
    Overwrite sensitive file or drop payload
  6. Impact
    Integrity/availability compromise or code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that an attacker can cause Trivy (a version prior to 0.71.1) to fetch an attacker-controlled OCI artifact - for example by hosting it in a registry the victim pulls from or by poisoning an artifact reference - and that the victim actively runs Trivy to download/scan that artifact (CVSS UI:A). The specific trigger is the org.opencontainers.image.title manifest annotation containing a traversal or absolute path; without control over that annotation value there is no exploit. Limiting factors: required user interaction (the scan must be initiated against the malicious artifact), and that organizations restricting Trivy to trusted internal registries are not realistically exposed. No authentication on the target host is needed and no special target-side configuration flag beyond normal OCI-artifact fetching behavior is required.

Impact

The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H) scores 7.0 and is internally consistent with the description: network-reachable artifact fetch, low complexity, no privileges, but Active user interaction (UI:A) because a victim must run Trivy against the malicious artifact. Impact is integrity-high and availability-high with no confidentiality loss - matching an arbitrary file-write that can corrupt or overwrite files but does not directly disclose data. No KEV listing and no POC are present in the supplied intelligence, and no EPSS score was provided, so realistic exploitation likelihood cannot be quantified from the data - this should be treated as a credible but not confirmed-exploited issue. The UI:A requirement is the main limiting factor: an attacker cannot trigger it passively but must induce a victim to scan a malicious or compromised artifact reference, which is plausible in supply-chain or poisoned-registry scenarios. Overall this is a legitimate priority for environments that pull OCI artifacts from untrusted or shared registries, but lower urgency where Trivy only fetches from trusted, controlled sources.

Exploit ScenarioDerived

An attacker publishes or compromises an OCI artifact in a registry and sets its org.opencontainers.image.title annotation to a value like ../../../../etc/cron.d/payload. A developer or CI job runs Trivy to pull and scan that artifact, and Trivy writes the layer content to the attacker-chosen path outside the intended directory, potentially overwriting a configuration file or dropping a file that leads to code execution. No public POC is identified at time of analysis, and the attack succeeds only because the victim actively initiates the scan (UI:A).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 25, 2026

Arbitrary file write in Aqua Security's Trivy scanner (prior to 0.71.1) allows an attacker who can make Trivy fetch an attacker-controlled OCI artifact to write layer content anywhere on the host filesystem. Trivy trusts the org.opencontainers.image.title manifest annotation as the output filename without sanitization, so a crafted value containing path-traversal sequences escapes the intended download directory (CWE-22). No public exploit has been identified at time of analysis; the CVSS 4.0 score is 7.0 (high), driven by high integrity and availability impact requiring user interaction.

RemediationAI

Vendor-released patch: upgrade Trivy to 0.71.1 or later, which adds validation of the OCI artifact destination path; this is the primary and recommended fix, documented in advisory GHSA-mcj4-mphf-j9ff (https://github.com/aquasecurity/trivy/security/advisories/GHSA-mcj4-mphf-j9ff). Where immediate upgrade is not possible, restrict Trivy to fetching OCI artifacts only from trusted, access-controlled registries and avoid scanning artifacts from untrusted or user-supplied references - this removes the attacker's ability to deliver a crafted manifest but reduces flexibility in multi-tenant or community-registry workflows. As a further compensating control, run Trivy as a low-privilege, non-root user inside a sandboxed or containerized context with a read-only host filesystem except for a dedicated scratch directory, limiting where an arbitrary write can land at the cost of some operational overhead. Verify the integrity and provenance of any OCI artifacts (signing/attestation) before allowing Trivy to download them.

Affected VersionsENISA

trivy < 0.71.1

Affected Packages

go github.com/aquasecurity/trivy fix: 0.71.1
euvd trivy fix: 0.71.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Trivy is an open-source vulnerability and misconfiguration scanner (cpe:2.3:a:aquasecurity:trivy) widely used in CI/CD pipelines, container registries, and developer workflows. It can retrieve OCI (Open Container Initiative) artifacts - for example databases, plugins, or modules distributed over registries - whose manifests carry standardized annotations. The org.opencontainers.image.title annotation is an OCI-spec-defined, human-readable title for an artifact layer; Trivy reused this attacker-influenceable string directly as the on-disk destination filename. Because the value is taken from the remote manifest without validating or canonicalizing the resulting path, embedding sequences such as ../ or an absolute path lets the write escape the intended directory. This is a classic CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), specifically an arbitrary-file-write variant where the traversal controls where downloaded bytes land rather than what is read.

Know when Trivy gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.0 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

Remote attacker-controlled artifact fetched over the network with low complexity and no privileges, but the victim must run the scan (UI:R); arbitrary file write yields high integrity/availability impact and no confidentiality loss.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jun 25, 2026 - 18:03 EUVD

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Aqua Security's Trivy scanner versions prior to 0.71.1 contain a critical path-traversal vulnerability (CVE-2026-55092, CVSS 7.0) that enables arbitrary file writes to the host filesystem through crafted OCI artifact manifests. Organizations using unpatched Trivy deployments risk attackers overwriting critical system or application files, compromising system integrity and availability. The vulnerability requires fetching attacker-controlled artifacts but poses significant risk to supply chain scanning infrastructure that handles external container images.

Business Impact: High
Compensating Controls

Apply vendor patch: Trivy 0.71.1 or later

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
High
widely-used open-source container/vulnerability scanner across CI/CD pipelines
Threat Intel
1
1 sources
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Vendor StatusVendor

SUSE

Severity: Important

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy