# CVE-2026-23939: Path Traversal in Local File Store Backend

- Severity: Medium 6.9 (CVSS:4.0, scored by EEF) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-02)
- Published: 2026-02-26T19:41:18.762Z
- Modified: 2026-11-25T06:30:20.677Z
- Also known as: EEF-CVE-2026-23939, GHSA-42mv-r64p-4869
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: EEF

## 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.

(As written by CVE List.)

## Affected

- hexpm/hexpm: from 931ee0ed46fa89218e0400a4f6e6d15f96406050 before 5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0
- https://github.com/hexpm/hexpm: from 931ee0ed46fa89218e0400a4f6e6d15f96406050 before 5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0
- hex hexpm: from 2014-09-29 before 2026-02-26

## Every score

- EEF: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Erlang Ecosystem Foundation: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/hexpm/hexpm/security/advisories/GHSA-42mv-r64p-4869> (advisory, mitigation, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-23939.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-23939> (related)
- <https://github.com/hexpm/hexpm/commit/931ee0ed46fa89218e0400a4f6e6d15f96406050> (related, web)
- <https://github.com/hexpm/hexpm/commit/5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0> (fix, patch)

## Sources

- CVE List: [CVE-2026-23939](https://www.cve.org/CVERecord?id=CVE-2026-23939), CVE Terms of Use, modified 2026-11-20
- Erlang Ecosystem Foundation: [EEF-CVE-2026-23939](https://osv.dev/vulnerability/EEF-CVE-2026-23939), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-23939](https://nvd.nist.gov/vuln/detail/CVE-2026-23939), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-23939 · Whole record: https://cve.day/CVE-2026-23939.json · Rebuilt by cve.day 2026-11-25T22:59:14.970Z
