CVE-2026-63328
MediumCVSS 6.8Summary
Trivy, a security scanner, before version 0.72.0 uses plugin manifest metadata 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.
Risk Assessment
A user installing a malicious plugin may allow an attacker to write files to arbitrary locations, potentially leading to account takeover or system modification.
Recommendation
Update Trivy to version 0.72.0 or later, which includes a fix restricting plugin paths to the ~/.trivy/plugins directory.
Original NVD description (English source)
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.

