CVE-2026-63328: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in aquasecurity trivy
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.
AI Analysis
Technical Summary
Trivy, a security scanner by aquasecurity, prior to version 0.72.0, improperly limits pathnames when handling plugin manifest metadata in pkg/plugin/manager.go. This allows an attacker to craft a malicious plugin that, when installed or run by a user, can write the manifest and plugin binary to arbitrary locations writable by the user, due to lack of confinement to the ~/.trivy/plugins directory. Official plugins from the Trivy plugin index are not vulnerable. The vulnerability is addressed in version 0.72.0.
Potential Impact
An attacker who persuades a user to install or run a malicious plugin can write files to arbitrary user-writable paths on the system. This could lead to unauthorized file modification or code execution under the user's privileges. There is no indication of exploitation in the wild. The vulnerability requires user interaction and local access to run the malicious plugin.
Mitigation Recommendations
Upgrade Trivy to version 0.72.0 or later, where this path traversal vulnerability is fixed. Until then, avoid installing or running untrusted plugins. There is no official vendor advisory specifying alternative mitigations.
CVE-2026-63328: 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.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.
CVSS v4.0
Score 6.8medium
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
Trivy, a security scanner by aquasecurity, prior to version 0.72.0, improperly limits pathnames when handling plugin manifest metadata in pkg/plugin/manager.go. This allows an attacker to craft a malicious plugin that, when installed or run by a user, can write the manifest and plugin binary to arbitrary locations writable by the user, due to lack of confinement to the ~/.trivy/plugins directory. Official plugins from the Trivy plugin index are not vulnerable. The vulnerability is addressed in version 0.72.0.
Potential Impact
An attacker who persuades a user to install or run a malicious plugin can write files to arbitrary user-writable paths on the system. This could lead to unauthorized file modification or code execution under the user's privileges. There is no indication of exploitation in the wild. The vulnerability requires user interaction and local access to run the malicious plugin.
Mitigation Recommendations
Upgrade Trivy to version 0.72.0 or later, where this path traversal vulnerability is fixed. Until then, avoid installing or running untrusted plugins. There is no official vendor advisory specifying alternative mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-16T14:14:24.384Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a847b9ec6e8be03326654b7
Added to database: 08/18/2026, 15:34:54 UTC
Last enriched: 08/18/2026, 15:52:03 UTC
Last updated: 08/19/2026, 00:06:37 UTC
Views: 6
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.
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.