High severity · published Feb 26, 2026
CVE-2026-23939
Path Traversal in Local File Store Backend
7.5
CVSS
0.5%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 41% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
HE
hexpm · hexpm
931ee0ed46fa89218e0400a4f6e6d15f96406050 before 5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-23939
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-23939
cna.erlef.org
https://cna.erlef.org/cves/CVE-2026-23939.html
Patch
https://github.com/hexpm/hexpm/commit/5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0
Mitigation
https://github.com/hexpm/hexpm/security/advisories/GHSA-42mv-r64p-4869
osv.dev
https://osv.dev/vulnerability/EEF-CVE-2026-23939
More from hexpm
9.8
CVE-2026-21622
Password Reset Tokens Do Not Expire
8.3
CVE-2026-75542
OAuth token exchange grants repository scopes for organizations the principal cannot access
6.5
CVE-2026-23940
Denial of Service via Oversized Package Upload
6.1
CVE-2026-21618
Cross-site scripting (XSS) in OAuth Device Authorization screen
5.3
CVE-2026-21621
Improper Scope Enforcement in OAuth client_credentials Flow Allows Read-Only API Key to Escalate to Full Access
