# CVE-2026-104994: Trivy before 0.71.0 allows directory traversal in Terraform filesystem functions when they try to access pathnames above the scan root.

- Severity: Low 2.5 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-10-02T19:52:36.831Z
- Modified: 2026-10-05T18:17:33.730Z
- Weaknesses: CWE-24
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- aquasec Trivy: before 0.71.0

## References

- <https://github.com/aquasecurity/trivy/security/advisories/GHSA-87hp-4m93-274g>
- <https://github.com/aquasecurity/trivy/commit/9d91b888cf63023e9c09b64259a4c1cea8dfe993>
- <https://github.com/aquasecurity/trivy/blob/main/CHANGELOG.md>
- <https://github.com/aquasecurity/trivy/pull/10664>

## Sources

- CVE List: [CVE-2026-104994](https://www.cve.org/CVERecord?id=CVE-2026-104994), CVE Terms of Use, modified 2026-10-05
- NVD: [CVE-2026-104994](https://nvd.nist.gov/vuln/detail/CVE-2026-104994), Public domain, modified 2026-10-05

---

Page: https://cve.day/CVE-2026-104994 · Whole record: https://cve.day/CVE-2026-104994.json · Rebuilt by cve.day 2026-11-25T22:59:42.004Z
