CVE-2026-104994
LOW 2.5Trivy 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.
No known exploitation, public exploit, or elevated probability at this time. Track for changes.
Exploitation likelihood
0.2%chance of exploitation in 30 days · 9th percentile
Impact if exploited
2.5CVSS 3.1 · LOW
- ConfidentialityLow
- IntegrityNone
- AvailabilityNone
What an attacker needs
- ⚠Access: Requires local access to the host
- ⚠Privileges: Requires a low-privilege account
- ✓User interaction: No user interaction needed
- ⚠Complexity: Needs a race window or specific setup
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked daily for recent CVEs, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Data snapshot:
Weakness (CWE)
- CWE-24: Path Traversal: '../filedir'
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
References and research data (JSON)
Vendor product assessments
trivy-0:0.74.0-0.4.hum1@aarch64 as a component of Red Hat Hardened Images · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]?arch=aarch64&distro=hummingbird-20251124&repository_id=public-hummingbird-aarch64-rpms
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
- workaround: 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.
trivy-0:0.74.0-0.4.hum1@src as a component of Red Hat Hardened Images · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]?arch=src&distro=hummingbird-20251124&repository_id=public-hummingbird-source-rpms
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
- workaround: 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.
trivy-0:0.74.0-0.4.hum1@x86_64 as a component of Red Hat Hardened Images · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/[email protected]?arch=x86_64&distro=hummingbird-20251124&repository_id=public-hummingbird-x86_64-rpms
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
- workaround: 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.
All CVSS metrics
- LOW 2.5 v3.1 · CNA Primary
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N - LOW 2.5 v3.1 · NVD Secondary
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
References
Advisories
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-104994.json Red Hat · CVE-2026-104994 · Updated 2026-10-09T04:23:12+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-91789 EUVD · EUVD-2026-91789
Technical & other
- https://github.com/aquasecurity/trivy/security/advisories/GHSA-87hp-4m93-274g CVE record · mitre · Updated 2026-10-02T19:52:36.831Z
NVD · CVE-2026-104994 · Updated 2026-10-05T18:17:33.730
Red Hat · CVE-2026-104994 · Updated 2026-10-09T04:23:12+00:00 - https://github.com/aquasecurity/trivy/commit/9d91b888cf63023e9c09b64259a4c1cea8dfe993 CVE record · mitre · Updated 2026-10-02T19:52:36.831Z
NVD · CVE-2026-104994 · Updated 2026-10-05T18:17:33.730
Red Hat · CVE-2026-104994 · Updated 2026-10-09T04:23:12+00:00 - https://github.com/aquasecurity/trivy/blob/main/CHANGELOG.md CVE record · mitre · Updated 2026-10-02T19:52:36.831Z
NVD · CVE-2026-104994 · Updated 2026-10-05T18:17:33.730
Red Hat · CVE-2026-104994 · Updated 2026-10-09T04:23:12+00:00 - https://github.com/aquasecurity/trivy/pull/10664 CVE record · mitre · Updated 2026-10-02T19:52:36.831Z
NVD · CVE-2026-104994 · Updated 2026-10-05T18:17:33.730
Red Hat · CVE-2026-104994 · Updated 2026-10-09T04:23:12+00:00 - https://access.redhat.com/security/cve/CVE-2026-104994 Red Hat · CVE-2026-104994 · Updated 2026-10-09T04:23:12+00:00
- https://bugzilla.redhat.com/show_bug.cgi?id=2545329 Red Hat · CVE-2026-104994 · Updated 2026-10-09T04:23:12+00:00
- https://www.cve.org/CVERecord?id=CVE-2026-104994 Red Hat · CVE-2026-104994 · Updated 2026-10-09T04:23:12+00:00
- https://nvd.nist.gov/vuln/detail/CVE-2026-104994 Red Hat · CVE-2026-104994 · Updated 2026-10-09T04:23:12+00:00
- https://access.redhat.com/errata/RHSA-2026:72492 Red Hat · CVE-2026-104994 · Updated 2026-10-09T04:23:12+00:00