cve.bz

CVE-2026-104994 aquasec trivy: Path Traversal: '../filedir'

2.5 lowEPSS 0.2%

Low (2.5) in aquasec trivy. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

2.5 low
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 9th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-24 Path Traversal: '../filedir'
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-104994 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-104994?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-104994?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-104994 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
aquasec Trivybefore 0.71.0

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability is classified as Low severity because exploitation requires Trivy to scan untrusted Terraform configurations with misconfiguration scanning enabled, and information disclosure is limited to files readable by the scanner process. Trivy typically runs in ephemeral CI/CD environments or as a local CLI tool under non-privileged accounts, limiting the blast radius. Standard container image scanning workflows are not affected.

Red Hat's mitigation

Run Trivy in an ephemeral, unprivileged container or sandbox when scanning untrusted Terraform configurations. Avoid mounting sensitive host paths or exposing credentials via environment variables in the scanner's execution environment. Alternatively, inspect third-party pull requests before running misconfiguration scans against them.

ProductPackageStateAdvisory
Red Hat Hardened Imagestrivy-main-0.74.0-0.4.hum1Fixed 2026-09-28RHSA-2026:72492

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-104994.

References

Check your stackJSON