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
VendorProductAffected 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.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
2.5 Low
Exploitation
<1% chance of attack within 30 days
Type
CWE-24Path Traversal: '../filedir'
Timeline
Published2 Oct 2026
Updated14 Oct 2026
First seen2 Oct 2026
Sources
CVE-2026-104994 · MITRE
Track software like this
Free during beta