{"id":"CVE-2026-23939","summary":"Path Traversal in Local File Store Backend","details":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in hexpm hexpm/hexpm (Hexpm.Store.Local module) allows Relative Path Traversal.\n\nThis 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.\n\nThis issue does NOT affect hex.pm the service. Only self-hosted deployments using the Local Storage backend are affected.\n\nThis issue affects hexpm/hexpm: from 931ee0ed46fa89218e0400a4f6e6d15f96406050 before 5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0.","aliases":["EEF-CVE-2026-23939","GHSA-42mv-r64p-4869"],"modified":"2026-11-20T19:45:58.213169888Z","published":"2026-02-26T19:41:18.762Z","database_specific":{"cna_assigner":"EEF","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23939.json"},"references":[{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-23939.html"},{"type":"WEB","url":"https://github.com"},{"type":"WEB","url":"https://osv.dev/vulnerability/EEF-CVE-2026-23939"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23939.json"},{"type":"ADVISORY","url":"https://github.com/hexpm/hexpm/security/advisories/GHSA-42mv-r64p-4869"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23939"},{"type":"FIX","url":"https://github.com/hexpm/hexpm/commit/5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0"},{"type":"FIX","url":"https://github.com/hexpm/hexpm/commit/931ee0ed46fa89218e0400a4f6e6d15f96406050"},{"type":"PACKAGE","url":"https://github.com/hexpm/hexpm"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hexpm/hexpm","events":[{"introduced":"931ee0ed46fa89218e0400a4f6e6d15f96406050"},{"fixed":"5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0"},{"fixed":"931ee0ed46fa89218e0400a4f6e6d15f96406050"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"931ee0ed46fa89218e0400a4f6e6d15f96406050"},{"fixed":"5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"931ee0ed46fa89218e0400a4f6e6d15f96406050"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0"}],"source":"REFERENCES_COMMIT"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23939.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}