CVE-2026-96612
HIGH 7.5Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in hexpm hex allows a malicious package publisher to delete a directory outside the project's deps directory and extract package files into it when a developer fetches dependencies. A package release's requirements carry an app label that names the dependency's OTP application. Hex takes this label from the repository's signed registry and uses it as the dependency's application name without validating it (Hex.RemoteConverger.deps/2, Hex.Mix.to_lock/1). Mix derives the dependency's checkout directory as deps/<app>, and Hex.SCM.update/1 runs File.rm_rf!/1 on that directory and unpacks the package into it. hex.pm only checks the label's length, so a publisher can set it to a value such as ../../target. When a project depends on such a release directly or transitively, mix deps.get or mix deps.update deletes the directory the label resolves to and writes the labelled package's files there. This happens before any dependency code is compiled. This issue affects hex: from 0.6.0 before 2.5.2.
Severe if exploited (CVSS 7.5), but no known exploitation and low modeled probability. Patch on a normal cadence.
Exploitation likelihood
0.4%chance of exploitation in 30 days · 38th percentile
Impact if exploited
7.5CVSS 4.0 · HIGH
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityHigh
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ⚠User interaction: Requires active user interaction
- ✓Complexity: No special conditions — reliably repeatable
- ⚠Requirements: Specific conditions must be present
✓ 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-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References and research data (JSON)
Vendor product assessments
Showing 32 of 328 vendor product statements; 296 omitted. Read the full vendor advisory.
rhdh/rhdh-must-gather-rhel9 as a component of Red Hat Developer Hub · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:oci/rhdh-must-gather-rhel9?repository_url=registry.redhat.io/rhdh/rhdh-must-gather-rhel9
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00offline-knowledge-portal/rhokp-rhel9 as a component of Red Hat Offline Knowledge Portal · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:oci/rhokp-rhel9?repository_url=registry.redhat.io/offline-knowledge-portal/rhokp-rhel9
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00rabbitmq-server as a component of Red Hat OpenStack Platform 16.2 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/rabbitmq-server
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00rabbitmq-server.src as a component of Red Hat OpenStack Platform 16.2 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/rabbitmq-server?arch=src
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00rabbitmq-server as a component of Red Hat OpenStack Platform 17.1 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/rabbitmq-server
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00rabbitmq-server.src as a component of Red Hat OpenStack Platform 17.1 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/rabbitmq-server?arch=src
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00rhtas/tuffer-rhel9 as a component of Red Hat Trusted Artifact Signer · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:oci/tuffer-rhel9?repository_url=registry.redhat.io/rhtas/tuffer-rhel9
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00rhtas/tuftool-rhel9 as a component of Red Hat Trusted Artifact Signer · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:oci/tuftool-rhel9?repository_url=registry.redhat.io/rhtas/tuftool-rhel9
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00rhtpa/rhtpa-rhel10 as a component of Red Hat Trusted Profile Analyzer · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:oci/rhtpa-rhel10?repository_url=registry.redhat.io/rhtpa/rhtpa-rhel10
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00rhtpa/rhtpa-trustification-service-rhel9 as a component of Red Hat Trusted Profile Analyzer · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:oci/rhtpa-trustification-service-rhel9?repository_url=registry.redhat.io/rhtpa/rhtpa-trustification-service-rhel9
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00ansible-automation-platform/automation-orchestrator-backend-rhel9 as a component of Ansible Automation Orchestrator 2026 · under investigation
Vendor assessment for this product only.
pkg:oci/automation-orchestrator-backend-rhel9?repository_url=registry.redhat.io/ansible-automation-platform/automation-orchestrator-backend-rhel9
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00ansible-automation-platform-24/lightspeed-rhel8 as a component of Red Hat Ansible Automation Platform 2 · under investigation
Vendor assessment for this product only.
pkg:oci/lightspeed-rhel8?repository_url=registry.redhat.io/ansible-automation-platform-24/lightspeed-rhel8
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00ansible-automation-platform-27/eda-controller-rhel9 as a component of Red Hat Ansible Automation Platform 2 · under investigation
Vendor assessment for this product only.
pkg:oci/eda-controller-rhel9?repository_url=registry.redhat.io/ansible-automation-platform-27/eda-controller-rhel9
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00discovery/discovery-server-rhel9 as a component of Red Hat Discovery 2 · under investigation
Vendor assessment for this product only.
pkg:oci/discovery-server-rhel9?repository_url=registry.redhat.io/discovery/discovery-server-rhel9
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00goose.src as a component of Red Hat Enterprise Linux 10 · under investigation
Vendor assessment for this product only.
pkg:rpm/redhat/goose?arch=src
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00libwayland-egl as a component of Red Hat Enterprise Linux 10 · under investigation
Vendor assessment for this product only.
pkg:rpm/redhat/libwayland-egl
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00python3-ldb as a component of Red Hat Enterprise Linux 10 · under investigation
Vendor assessment for this product only.
pkg:rpm/redhat/python3-ldb
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00rust-lldb as a component of Red Hat Enterprise Linux 10 · under investigation
Vendor assessment for this product only.
pkg:rpm/redhat/rust-lldb
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00samba-common-libs as a component of Red Hat Enterprise Linux 10 · under investigation
Vendor assessment for this product only.
pkg:rpm/redhat/samba-common-libs
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00samba-winbind as a component of Red Hat Enterprise Linux 10 · under investigation
Vendor assessment for this product only.
pkg:rpm/redhat/samba-winbind
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00trustee-kbs as a component of Red Hat Enterprise Linux 10 · under investigation
Vendor assessment for this product only.
pkg:rpm/redhat/trustee-kbs
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00rls (rust-toolset:rhel8) as a component of Red Hat Enterprise Linux 8 · under investigation
Vendor assessment for this product only.
pkg:rpm/redhat/rls?rpmmod=rust-toolset:rhel8
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00rust (rust-toolset:rhel8) as a component of Red Hat Enterprise Linux 8 · under investigation
Vendor assessment for this product only.
pkg:rpm/redhat/rust?rpmmod=rust-toolset:rhel8
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00ctdb as a component of Red Hat Enterprise Linux 9 · under investigation
Vendor assessment for this product only.
pkg:rpm/redhat/ctdb
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00ldb-tools as a component of Red Hat Enterprise Linux 9 · under investigation
Vendor assessment for this product only.
pkg:rpm/redhat/ldb-tools
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00python3-ldb as a component of Red Hat Enterprise Linux 9 · under investigation
Vendor assessment for this product only.
pkg:rpm/redhat/python3-ldb
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00rust-gdb as a component of Red Hat Enterprise Linux 9 · under investigation
Vendor assessment for this product only.
pkg:rpm/redhat/rust-gdb
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00samba-common-tools as a component of Red Hat Enterprise Linux 9 · under investigation
Vendor assessment for this product only.
pkg:rpm/redhat/samba-common-tools
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00samba-winbind-clients as a component of Red Hat Enterprise Linux 9 · under investigation
Vendor assessment for this product only.
pkg:rpm/redhat/samba-winbind-clients
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00openshell.src as a component of Red Hat Hardened Images · under investigation
Vendor assessment for this product only.
pkg:rpm/redhat/openshell?arch=src
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00coreos-installer-dracut as a component of Red Hat OpenShift Container Platform 4 · under investigation
Vendor assessment for this product only.
pkg:rpm/redhat/coreos-installer-dracut
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00satellite/iop-vmaas-rhel9 as a component of Red Hat Satellite 6 · under investigation
Vendor assessment for this product only.
pkg:oci/iop-vmaas-rhel9?repository_url=registry.redhat.io/satellite/iop-vmaas-rhel9
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00
All CVSS metrics
- HIGH 7.5 v4.0 · CNA Primary
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - HIGH 7.5 v4.0 · NVD Secondary
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
References
Patches & mitigations
- https://github.com/hexpm/hex/commit/1b3e2ae8f0dd7273a2c2625b9e50b6c67c8568fb CVE record · EEF · Updated 2026-10-12T15:39:49.862Z
NVD · CVE-2026-96612 · Updated 2026-10-16T18:19:52.667
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00 - https://github.com/hexpm/hex/commit/72279a8e2004b32b20d8767ff010c117193dd02c CVE record · EEF · Updated 2026-10-12T15:39:49.862Z
NVD · CVE-2026-96612 · Updated 2026-10-16T18:19:52.667
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00
Advisories
- https://github.com/hexpm/hex/security/advisories/GHSA-2vjj-c5hr-6xc3 CVE record · EEF · Updated 2026-10-12T15:39:49.862Z
NVD · CVE-2026-96612 · Updated 2026-10-16T18:19:52.667
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00 - https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-96612.json Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-97508 EUVD · EUVD-2026-97508
Technical & other
- https://cna.erlef.org/cves/CVE-2026-96612.html CVE record · EEF · Updated 2026-10-12T15:39:49.862Z
NVD · CVE-2026-96612 · Updated 2026-10-16T18:19:52.667
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00 - https://osv.dev/vulnerability/EEF-CVE-2026-96612 CVE record · EEF · Updated 2026-10-12T15:39:49.862Z
NVD · CVE-2026-96612 · Updated 2026-10-16T18:19:52.667
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00 - https://github.com/hexpm/hex/commit/380f87054e1bc08ee13d2b5311bc01f98dad2fc6 CVE record · EEF · Updated 2026-10-12T15:39:49.862Z
NVD · CVE-2026-96612 · Updated 2026-10-16T18:19:52.667
Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00 - https://access.redhat.com/security/cve/CVE-2026-96612 Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00
- https://bugzilla.redhat.com/show_bug.cgi?id=2549706 Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00
- https://www.cve.org/CVERecord?id=CVE-2026-96612 Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00
- https://nvd.nist.gov/vuln/detail/CVE-2026-96612 Red Hat · CVE-2026-96612 · Updated 2026-10-20T17:39:15+00:00