
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-63328 is a path traversal vulnerability in the Trivy security scanner's plugin manager that allows arbitrary file writes outside the intended plugin directory. The flaw exists in pkg/plugin/manager.go, which uses plugin manifest metadata to construct filesystem paths under ~/.trivy/plugins without properly confining plugin names to that root directory. All versions of Trivy prior to 0.72.0 (Go package github.com/aquasecurity/trivy) are affected; plugins distributed through the official Trivy plugin index are not impacted. It carries a CVSS v4 base score of 6.8 (Medium) (GitHub Advisory, Aqua Security Advisory). The vulnerability was originally published on June 30, 2026, and added to the GitHub Advisory Database on August 18, 2026.
The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory — Path Traversal): pkg/plugin/manager.go directly joins attacker-controlled plugin name values from the plugin manifest onto the plugin root path without sanitizing path traversal sequences (e.g., ../), allowing the resulting path to escape ~/.trivy/plugins (GitHub Advisory). Exploitation requires a user to install or run a malicious plugin via trivy plugin install or trivy plugin run — the attacker must craft a plugin manifest with a traversal-containing name field and distribute it to the victim. The fix (commit d4213d7) adopts Go's os.Root API to confine all plugin file operations within the plugin root directory, preventing path escape (Trivy Commit).
A successful exploit allows an attacker-controlled plugin to write the plugin manifest and downloaded binary to any filesystem path writable by the user running Trivy, effectively enabling arbitrary file write with the victim user's privileges. This can lead to code execution — for example, by overwriting shell initialization files, cron jobs, SSH authorized keys, or other user-writable executables — though no privilege escalation beyond the current user's permissions is possible. Integrity and availability of the affected system are rated High in the CVSS v4 assessment, while confidentiality impact is None (GitHub Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (Feedly). The NVD SSVC assessment classifies exploitation as "none" and the attack as non-automatable, reflecting the social engineering prerequisite. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires active user interaction — specifically, a user must be tricked into installing a malicious plugin from an untrusted source (Aqua Security Advisory).
plugin.yaml manifest file with a plugin name field containing path traversal sequences (e.g., ../../.ssh/authorized_keys or ../../.bashrc) to target a writable file outside ~/.trivy/plugins.trivy plugin install <malicious-source> or trivy plugin run <malicious-source>.~/.trivy/plugins/, particularly in home directory subdirectories such as ~/.ssh/, ~/.bashrc, ~/.profile, or cron directories; plugin manifest (plugin.yaml) or binary files appearing in unexpected locations.~/.trivy/plugins/ with names containing .., /, or other path traversal characters.trivy plugin install or trivy plugin run with an external or unfamiliar plugin source URL..bashrc executing on next login).Upgrade Trivy to version 0.72.0 or later, which fixes the vulnerability by using Go's os.Root API to confine all plugin file operations within the plugin root directory (Trivy v0.72.0 Release, Trivy Commit). As a workaround for users who cannot immediately upgrade, only install plugins from the official Trivy plugin index, which is not affected by this vulnerability. Avoid running trivy plugin install or trivy plugin run with plugin sources from untrusted or unverified third parties, and review plugin manifest files before installation (Aqua Security Advisory).
The vulnerability was reported by security researcher @fatihhcelik and acknowledged by the Aqua Security team (maintainer knqyf263), who published the advisory and fix on June 30, 2026 (Aqua Security Advisory). The advisory notes that the trust boundary for Trivy plugins was already documented — users are advised to only install trusted plugins — and that this issue does not fundamentally change that model. No significant broader media coverage or notable social media discussion has been identified beyond the official advisory.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."