PatchSiren cyber security CVE debrief
CVE-2026-96612 hexpm CVE debrief
CVE-2026-96612 debrief based on the supplied source corpus. The CVE record was published on 2026-10-12T15:39:49.862Z and has not been modified since then. The vulnerability is a path traversal issue in hex that allows a malicious package publisher to delete directories outside the project's deps directory and extract package files into it. This occurs when a developer fetches dependencies using unvalidated dependency app names. The issue affects hex versions from 0.6.0 before 2.5.2. Defenders should prioritize verifying and updating hex versions, reviewing dependency management practices, and monitoring for suspicious activity.
- Vendor
- hexpm
- Product
- hex
- CVSS
- HIGH 7.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-12
- Original CVE updated
- 2026-10-12
- Advisory published
- 2026-10-12
- Advisory updated
- 2026-10-12
Who should care
Defenders responsible for managing dependencies and ensuring secure package installation should assess exposure and prioritize remediation. This includes developers and DevOps teams responsible for managing dependencies and ensuring secure package installation. They should prioritize verifying and updating hex versions to 2.5.2 or later, reviewing dependency management practices, and monitoring for suspicious activity related to dependency fetching and
Why it matters
Defenders should care about CVE-2026-96612 because it allows a malicious package publisher to manipulate directories and extract package files, potentially leading to security issues. Relevant roles include developers and DevOps teams responsible for managing dependencies and ensuring secure package installation. The vulnerability affects hex versions from 0.6.0 before 2.5.2, and defenders should prioritize verifying and updating hex versions, reviewing dependency management practices, and monitoring for suspicious activity.
- Potential deletion of directories outside the project's deps directory
- Potential extraction of package files into unintended locations
- Need for verification of hex versions and dependency management practices
- Possible impact on dependency fetching and package installation processes
Technical summary
A path traversal vulnerability in hex allows a malicious package publisher to delete directories outside the project's deps directory and extract package files into it. This occurs when a developer fetches dependencies using unvalidated dependency app names. The vulnerability affects hex versions from 0.6.0 before 2.5.2. The issue arises from the lack of validation of the app label in the dependency's requirements, which is used to derive the dependency's checkout directory. 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 <
Defensive priority
Defenders should prioritize verifying and updating hex versions to 2.5.2 or later, reviewing dependency management practices, and monitoring for suspicious activity.
Recommended defensive actions
- Verify and update hex versions to 2.5.2 or later
- Review dependency management practices to prevent similar vulnerabilities
- Monitor for suspicious activity related to dependency fetching and package installation
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
Evidence notes
The CVE record and source item provide details on a path traversal vulnerability in hex, allowing a malicious package publisher to delete directories outside the project's deps directory and extract package files into it.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-96612 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-96612
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-96612 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-96612
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Path traversal in Hex via unvalidated dependency app names
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/96xxx/CVE-2026-96612.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/hexpm/hex/security/advisories/GHSA-2vjj-c5hr-6xc3
Supplemental source - related, vendor-advisory
-
Source reference
Unverified legacy reference
URL: https://cna.erlef.org/cves/CVE-2026-96612.html
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://osv.dev/vulnerability/EEF-CVE-2026-96612
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://github.com/hexpm/hex/commit/380f87054e1bc08ee13d2b5311bc01f98dad2fc6
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://github.com/hexpm/hex/commit/1b3e2ae8f0dd7273a2c2625b9e50b6c67c8568fb
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://github.com/hexpm/hex/commit/72279a8e2004b32b20d8767ff010c117193dd02c
Supplemental source - patch
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.