{"id":"CVE-2026-63328","aliases":["GHSA-8rc5-4fr6-64pw","GO-2026-6250"],"url":"https://o3.security/vulnerability/CVE-2026-63328","summary":"Trivy: Path Traversal in Trivy Plugin Manager Allows Arbitrary File Write","details":"## Summary\n\nTrivy's plugin manager does not fully validate metadata from a plugin's manifest before using it to construct filesystem paths under the plugin root (`~/.trivy/plugins`). A crafted plugin can cause Trivy to write its files (the manifest and the downloaded plugin binary) outside the plugin root, to an arbitrary location writable by the user running Trivy.\n\nPlugins are third-party binaries that Trivy downloads and executes, so Trivy's [documentation](https://trivy.dev/docs/latest/guide/plugin/) already advises installing only plugins you trust. This issue does not change that trust boundary: exploitation requires the user to install a malicious plugin in the first place.\n\n## Affected configurations\n\nThe vulnerability is triggered only when a user installs an attacker-controlled plugin, for example via `trivy plugin install <SOURCE>` or `trivy plugin run <SOURCE>`. An attacker has to trick a user into installing a plugin they crafted, for instance by publishing it or by getting a malicious source pasted into a command or documentation snippet.\n\nPlugins distributed through the official Trivy plugin index are not affected.\n\n## Impact\n\nA user who installs a malicious plugin can have files written outside the plugin root, to any location writable by the user running Trivy. The vulnerability does not grant any privileges beyond what that user already has.\n\n## Patches\n\nFixed in Trivy `0.72.0`. Users should upgrade to that release or later.\n\n## Workarounds\n\nOnly install Trivy plugins from sources you trust. Plugins from the official Trivy plugin index are safe. See the [plugin documentation](https://trivy.dev/docs/latest/guide/plugin/) for details.\n\n## Credits\n\nReported by @fatihhcelik.","published":"2026-08-18T15:14:21.879Z","modified":"2026-09-29T18:26:48.180867620Z","cvss":null,"epss":{"score":0.00151,"percentile":0.04657,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/aquasecurity/trivy","fixedVersion":"0.72.0"}],"fix":{"url":"https://github.com/aquasecurity/trivy/commit/d4213d7735c74e57f06c02ccb39ebca67abc7959","label":"aquasecurity/trivy@d4213d7"},"references":[{"type":"WEB","url":"https://github.com/aquasecurity/trivy/releases/tag/v0.72.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63328.json"},{"type":"ADVISORY","url":"https://github.com/aquasecurity/trivy/security/advisories/GHSA-8rc5-4fr6-64pw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63328"},{"type":"FIX","url":"https://github.com/aquasecurity/trivy/commit/d4213d7735c74e57f06c02ccb39ebca67abc7959"},{"type":"PACKAGE","url":"https://github.com/aquasecurity/trivy"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-29T18:26:48.180867620Z"}}