CVE-2026-23939
Medium 6.9No known exploitationFix availablePath Traversal in Local File Store Backend
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 42% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in hexpm hexpm/hexpm (Hexpm.Store.Local module) allows Relative Path Traversal. This vulnerability is associated with program files lib/hexpm/store/local.ex and program routines Hexpm.Store.Local.get/3, Hexpm.Store.Local.put/4, Hexpm.Store.Local.delete/2, 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/hexpm: from 931ee0ed46fa89218e0400a4f6e6d15f96406050 before 5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0.
Weakness: CWE-22
Patching and mitigation
- Patch status
- Fix available (source: NVD (reference tagged Patch))
- Fix documented (source date)
- Mitigation
- * Avoid the local file store backend in any exposed environment. * Restrict network access to the registry when using the local backend. * Production deployments should use object storage (e.g., S3-compatible backends) instead of the local filesystem store. Source (opens in a new tab)
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| hex | hexpm | from 2014-09-29 before 2026-02-26 | 2026-02-26 | NIST NVD |
| hexpm | hexpm | from 931ee0ed46fa89218e0400a4f6e6d15f96406050 before 5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0 | 5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0 | CVE Program |
Timeline
Disclosure
CVE record published by EEF
Source: CVE Program (opens in a new tab)
Patch
Fix documented by NVD (reference tagged Patch)
Vendor guidance and references
- Fix commit 5d2ccd2 in hexpm/hexpm (opens in a new tab)patch
- Path Traversal in Local File Store Backend (Development and Self-Hosted Registry Setups) (opens in a new tab)mitigation, related, vendor advisory, vendor-advisory
- EEF CNA record for CVE-2026-23939 (opens in a new tab)related
- Introducing commit 931ee0e in hexpm/hexpm (opens in a new tab)related
- OSV record EEF-CVE-2026-23939 (opens in a new tab)related