Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
2.5
CVE-2026-104994: Trivy can read files outside intended scan folder
CVE-2026-104994 · published 16 days ago
Summary
If you use Trivy versions earlier than 0.71.0 to scan Terraform configurations, the tool may access files above the directory you set for scanning. This can unintentionally expose sensitive information that resides outside the scan area, especially when scanning code from untrusted sources. Update Trivy to version 0.71.0 or later to stop this behavior.
What to do
- Update aquasec trivy to version 0.71.0 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| aquasec | trivy | < 0.71.0 |
Original advisory text
Trivy before 0.71.0 allows directory traversal in Terraform filesystem functions when they try to access pathnames above the scan root. The risk occurs when using misconf scanning on untrusted inpu...
Trivy before 0.71.0 allows directory traversal in Terraform filesystem functions when they try to access pathnames above the scan root. The risk occurs when using misconf scanning on untrusted input (e.g., upon a third-party pull request that contains a Terraform configuration), if sensitive data can be found at those unintended pathnames, and an adversary can then view a sensitive data value within scan output.
References
- https://github.com/aquasecurity/trivy/commit/9d91b888cf63023e9c09b64259a4c1cea8d...
- https://github.com/aquasecurity/trivy/security/advisories/GHSA-87hp-4m93-274g
- https://github.com/aquasecurity/trivy/blob/main/CHANGELOG.md
- https://github.com/aquasecurity/trivy/pull/10664
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-1049... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-104994 Vendor Advisory
- https://github.com/aquasecurity/trivy Product
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-24Path Traversal: '../filedir'
Timeline
Published2 Oct 2026
Updated14 Oct 2026
First seen2 Oct 2026
Sources
CVE-2026-104994 · NVD
CVE-2026-104994 · MITRE
CVE-2026-104994 · OSV
GHSA-87hp-4m93-274g · GHSA
Track software like this
Free during beta