---
title: "CVE-2026-96612: hexpm hex - Path Traversal"
description: "hexpm hex from 0.6.0 before 2.5.2 contains a path traversal caused by improper validation of app label in package requirements, letting malicious package publishers delete and write files outside the deps directory, exploit requires a malicious package release."
url: https://panop.io/threat-heartbeat/CVE-2026-96612/
---

# CVE-2026-96612 hexpm hex - Path Traversal

hexpm hex from 0.6.0 before 2.5.2 contains a path traversal caused by improper validation of app label in package requirements, letting malicious package publishers delete and write files outside the deps directory, exploit requires a malicious package release.

CVSS base score 7.5 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

EPSS

0.40% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-96612)

## Details

Type

Path Traversal

Impact

File System Write, Denial Of Service

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/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

Published

12 October 2026

Updated

15 October 2026

Weakness

[CWE-22](https://cwe.mitre.org/data/definitions/22.html)

## Vendor fix

Update to version 2.5.2 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-96612](https://nvd.nist.gov/vuln/detail/CVE-2026-96612)
- [https://github.com/hexpm/hex/security/advisories/GHSA-2vjj-c5hr-6xc3](https://github.com/hexpm/hex/security/advisories/GHSA-2vjj-c5hr-6xc3)
- [https://osv.dev/vulnerability/EEF-CVE-2026-96612](https://osv.dev/vulnerability/EEF-CVE-2026-96612)
- [https://cna.erlef.org/cves/CVE-2026-96612.html](https://cna.erlef.org/cves/CVE-2026-96612.html)
- [https://github.com/hexpm/hex/commit/1b3e2ae8f0dd7273a2c2625b9e50b6c67c8568fb](https://github.com/hexpm/hex/commit/1b3e2ae8f0dd7273a2c2625b9e50b6c67c8568fb)
- [https://github.com/hexpm/hex/commit/380f87054e1bc08ee13d2b5311bc01f98dad2fc6](https://github.com/hexpm/hex/commit/380f87054e1bc08ee13d2b5311bc01f98dad2fc6)
- [https://github.com/hexpm/hex/commit/72279a8e2004b32b20d8767ff010c117193dd02c](https://github.com/hexpm/hex/commit/72279a8e2004b32b20d8767ff010c117193dd02c)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
