Vulnerability Description
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in hexpm hexpm/hexpm ('Elixir.Hexpm.Store.Local' module) allows Relative Path Traversal. This vulnerability is associated with program files lib/hexpm/store/local.ex and program routines 'Elixir.Hexpm.Store.Local':get/3, 'Elixir.Hexpm.Store.Local':put/4, 'Elixir.Hexpm.Store.Local':delete/2, 'Elixir.Hexpm.Store.Local':delete_many/2. This issue does NOT affect hex.pm the service. Only self-hosted deployments using the Local Storage backend are affected. This issue affects hexpm: from 931ee0ed46fa89218e0400a4f6e6d15f96406050 before 5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Hex | Hexpm | >= 2014-09-29, < 2026-02-26 |
Related Weaknesses (CWE)
References
- https://cna.erlef.org/cves/CVE-2026-23939.html
- https://github.com/hexpm/hexpm/commit/5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0Patch
- https://github.com/hexpm/hexpm/security/advisories/GHSA-42mv-r64p-4869MitigationVendor Advisory
- https://osv.dev/vulnerability/EEF-CVE-2026-23939
FAQ
What is CVE-2026-23939?
CVE-2026-23939 is a vulnerability with a CVSS score of 7.5 (HIGH). Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in hexpm hexpm/hexpm ('Elixir.Hexpm.Store.Local' module) allows Relative Path Traversal. This vulnerability...
How severe is CVE-2026-23939?
CVE-2026-23939 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-23939?
Check the references section above for vendor advisories and patch information. Affected products include: Hex Hexpm.