Home

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.

PUBLISHED Reserved 2026-01-19 | Published 2026-02-26 | Updated 2026-02-26 | Assigner EEF




MEDIUM: 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Problem types

CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

Default status
unaffected

931ee0ed46fa89218e0400a4f6e6d15f96406050 (git) before 5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0
affected

pkg:github/hexpm/hexpm@931ee0ed46fa89218e0400a4f6e6d15f96406050 (purl) before pkg:github/hexpm/hexpm@5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0
affected

Credits

Michael Lubas / Paraxial.io finder

Jonatan Männchen / EEF remediation developer

Eric Meadows-Jönsson / Hex.pm remediation reviewer

References

github.com/.../hexpm/security/advisories/GHSA-42mv-r64p-4869 vendor-advisory

github.com/...ommit/5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0 patch

cve.org (CVE-2026-23939)

nvd.nist.gov (CVE-2026-23939)

Download JSON