{"id":"CVE-2026-23939","published":"2026-02-26T19:41:18Z","modified":"2026-11-20T02:54:32Z","title":"Path Traversal in Local File Store Backend","vendor":"hexpm","product":"hexpm","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00486,"percentile":0.42707,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/hexpm/hexpm/security/advisories/GHSA-42mv-r64p-4869","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-23939.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-23939","tags":["related"]},{"url":"https://github.com/hexpm/hexpm/commit/931ee0ed46fa89218e0400a4f6e6d15f96406050","tags":["related"]},{"url":"https://github.com/hexpm/hexpm/commit/5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0","tags":["patch"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":8.54},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"hexpm","affectedVersions":[{"vendor":"hexpm","product":"hexpm","versions":[">= 931ee0ed46fa89218e0400a4f6e6d15f96406050, < 5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0"]}],"workarounds":{"items":["* 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."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-139","name":"Relative Path Traversal"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-02-26T20:24:13.786958Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-8886","exploited":false,"provenance":"source"}}