Trivy: Path Traversal in Trivy Plugin Manager Allows Arbitrary File Write
aquasecurity trivy
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/aquasecurity/trivy Go |
|
|
Original 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.
From the CVE record · GitHub_M
References
- github.com/aquasecurity/trivy/security/advisories/GHSA-8rc5-4fr6-64pw
- github.com/aquasecurity/trivy/commit/d4213d7735c74e57f06c02ccb39ebca67abc7959
- github.com/aquasecurity/trivy/releases/tag/v0.72.0
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63328.json
- nvd.nist.gov/vuln/detail/CVE-2026-63328
- github.com/aquasecurity/trivy