Trivy: Path Traversal in Trivy Plugin Manager Allows Arbitrary File Write
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Aquasecurity | trivy | before 0.72.0 | 0.72.0 | Patch available | CNA |
| — | github.com/aquasecurity/trivy (Go) | before 0.72.0 | 0.72.0 | Patch available | GHSA-8rc5-4fr6-64pw |
- trivy VendorAquasecurity Affected before 0.72.0 Fixed in 0.72.0 Patch available CNA
- github.com/aquasecurity/trivy (Go) Vendor— Affected before 0.72.0 Fixed in 0.72.0 Patch available GHSA-8rc5-4fr6-64pw
Remediation
- Fix · CNA trivy (aquasecurity) Fixed in 0.72.0
- Fix · GHSA-8rc5-4fr6-64pw github.com/aquasecurity/trivy (Go) Fixed in 0.72.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat Hardened Images
Timeline
- 2026-10-02 Threatist record created from CVE-2026-63328
- 2026-10-03 Alias added: GHSA-8rc5-4fr6-64pw
- 2026-10-09 Affected versions changed · Red Hat
- 2026-10-09 CVSS score added · Red Hat
References
More Aquasecurity vulnerabilities
- TI-2026-26015 Trivy ecosystem supply chain briefly compromised KEVCVSS 4.0CRITICAL 9.4
- TI-2026-39311 Trivy: Helm chart tar bomb causes OOM via unbounded io.ReadAll in parser CVSS 4.0MEDIUM 6.9
- TI-2026-22633 Trivy Vulnerability Scanner: Unauthorized AI Agent Execution Code Included in OpenVSX Extension Release CVSS 4.0CRITICAL 10.0
- TI-2026-21180 Trivy Action has a script injection via sourced env file in composite action CVSS 3.1HIGH 8.1
- TI-2026-39796 Trivy: Path traversal via a crafted vulnerability database or other downloaded artifacts CVSS 4.0HIGH 7.0
- TI-2024-23265 Trivy possibly leaks registry credential when scanning images from malicious registries CVSS 3.1MEDIUM 5.5
Sources
- CVE-2026-63328 · CVE Program
- CVE-2026-63328 · NVD
- FIRST EPSS
- GHSA-8rc5-4fr6-64pw · GitHub Advisory Database · CC BY 4.0
- CVE-2026-63328 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences