Skip to main content

Trivy CVE-2026-63328

| EUVDEUVD-2026-60957 MEDIUM
Path Traversal (CWE-22)
2026-08-18 GitHub_M GHSA-8rc5-4fr6-64pw
6.8
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Craft plugin manifest with path traversal sequence in name field
  2. Delivery
    Host malicious plugin on unofficial repository
  3. Exploit
    Social-engineer user into installing plugin
  4. Execution
    User executes trivy plugin install
  5. Persist
    Manager resolves traversal path without confinement
  6. Impact
    Write attacker-controlled content to arbitrary user-writable path

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 the victim user to install or run a Trivy plugin obtained from an untrusted source outside the official Trivy plugin index. The attacker must control the plugin manifest and craft a malicious plugin name field containing directory traversal sequences. The official Trivy plugin index is explicitly safe per vendor advisory - only third-party or attacker-distributed plugins can carry the malicious manifest. File writes are bounded to paths writable by the victim's user account; root filesystem paths and system directories are not reachable without a separate privilege escalation primitive. Trivy deployments that enforce official-index-only plugin sourcing through policy or CI/CD controls are not exploitable. CVSS PR:N indicates no system privileges are required from the attacker's perspective; CVSS UI:A (active user interaction) confirms the mandatory install action by the victim.

Impact

The CVSS 4.0 score of 6.8 (AV:L/AC:L/AT:N/PR:N/UI:A/VI:H/VA:H) accurately reflects that exploitation requires local execution and active user interaction, significantly constraining real-world attack surface compared to network-exploitable vulnerabilities. The integrity and availability impacts are both High - an attacker writing to arbitrary user-writable paths can overwrite shell configuration, SSH keys, or cron jobs, enabling subsequent privilege escalation without this CVE itself requiring additional privileges. No EPSS data was supplied, precluding probabilistic scoring; the absence of a CISA KEV listing and public exploit code further reduces urgency relative to the raw score. The decisive risk factor is whether an organization permits installation of plugins from sources outside the official Trivy plugin index, which the vendor explicitly designates as safe. For teams enforcing official-index-only plugin sourcing, practical risk is negligible. For those allowing ad-hoc or community plugin installation - including in automated CI/CD contexts where developers pull community plugins freely - this represents a meaningful supply-chain-style threat warranting prompt patching. CVSS score and real-world risk are well-aligned here: medium priority for most deployments, elevated priority for open plugin environments.

Exploit ScenarioDerived

An attacker publishes a malicious Trivy plugin to a public repository with a plugin name field in the manifest containing a path traversal sequence targeting a sensitive user file, such as '../../../.ssh/authorized_keys'. After advertising the plugin as a useful scanning extension, the attacker persuades a developer or security engineer to run 'trivy plugin install' against the malicious source. On an unpatched Trivy installation, the plugin manager resolves the traversal path and writes attacker-controlled content to the victim's SSH authorized_keys, enabling subsequent remote access. No public exploit code exists at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 18, 2026

Arbitrary file write in Trivy's plugin manager prior to version 0.72.0 allows a malicious plugin author to escape the confines of ~/.trivy/plugins and write files to any user-writable filesystem path. The flaw exists in pkg/plugin/manager.go, where plugin manifest metadata is used to construct file paths without enforcing directory confinement, enabling a path traversal (CWE-22) attack. No public exploit has been identified and no CISA KEV listing exists, but the attack is mechanically simple and the impact extends to overwriting sensitive user files such as shell profiles or SSH authorized_keys, creating realistic subsequent privilege escalation paths.

RemediationAI

Upgrade Trivy to version 0.72.0 or later, the vendor-released patch available at https://github.com/aquasecurity/trivy/releases/tag/v0.72.0 and confirmed by commit d4213d7735c74e57f06c02ccb39ebca67abc7959. If immediate upgrade is not possible, restrict plugin installation strictly to the official Trivy plugin index and prohibit installation from arbitrary URLs or unverified third-party repositories - this eliminates the attacker-controlled manifest required for exploitation, with the trade-off of blocking community plugin functionality. Additionally, audit any previously installed third-party plugins for suspicious manifest name fields containing sequences such as '../' before upgrading, as those files may already be present on disk.

Affected VersionsENISA

trivy < 0.72.0

Affected Packages

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

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 (cpe:2.3:a:aquasecurity:trivy:*:*:*:*:*:*:*:*) is an open-source vulnerability and misconfiguration scanner widely used in container security and CI/CD pipelines. Its plugin subsystem, implemented in pkg/plugin/manager.go, allows users to extend Trivy by installing external plugins. The root cause is CWE-22 (Path Traversal): the plugin manager accepts a plugin name field from manifest metadata and uses it verbatim to construct filesystem paths under ~/.trivy/plugins without validating that the resolved path stays within that directory root. A crafted plugin name containing traversal sequences such as '../../../.ssh/authorized_keys' redirects file write operations outside the intended directory. The fix in v0.72.0, visible in commit d4213d7735c74e57f06c02ccb39ebca67abc7959, introduces an xos.Root confinement primitive in pkg/plugin/manager.go that restricts all plugin-name-derived file path operations to the plugin root, preventing traversal escapes.

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 6.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.1 HIGH

Local vector with mandatory user interaction; attacker requires no system privileges; only integrity and availability impacted via arbitrary file write to user-writable paths.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
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

2
Patch available
Aug 18, 2026 - 16:17 EUVD
CVE Published
Aug 18, 2026 - 15:14 cve.org
MEDIUM 6.8

DescriptionCVE.org

Trivy is a security scanner. Prior to 0.72.0, plugin manifest metadata is used by pkg/plugin/manager.go to construct paths under ~/.trivy/plugins without confining plugin names to that root, allowing an attacker who persuades a user to install or run a malicious plugin to write the manifest and plugin binary to arbitrary user-writable paths, while plugins from the official Trivy plugin index are not affected. This issue is fixed in version 0.72.0.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
High
widely adopted open-source scanner in enterprise DevSecOps and CI/CD pipelines
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
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: Moderate

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