Path Traversal in Local File Store Backend
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-23939
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 15:06 UTC · Revision 1
Source evidence
Path Traversal in Local File Store Backend
core-osv · Original sourcePublished 26 Feb 2026, 19:41 UTC
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.
osv:CVE-2026-23939
Complete source record
{
"id": "5a476aba3ddb2d8f5d2f9c8b4d8d479586388e521f683b23d6fef7120501ba68",
"url": "https://osv.dev/vulnerability/CVE-2026-23939",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Path Traversal in Local File Store Backend",
"summary": "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.",
"evidence": "osv:CVE-2026-23939",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-23939",
"aliases": [
"CVE-2026-23939",
"EEF-CVE-2026-23939",
"GHSA-42mv-r64p-4869"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/hexpm/hexpm",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
},
{
"repo": "https://github.com/hexpm/hexpm.git",
"type": "GIT",
"events": [
{
"introduced": "931ee0ed46fa89218e0400a4f6e6d15f96406050"
},
{
"fixed": "5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "931ee0ed46fa89218e0400a4f6e6d15f96406050"
},
{
"fixed": "5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23939.json"
}
}
],
"modified": "2026-10-28T02:30:29.755518939Z",
"provider": "osv",
"references": [
"https://cna.erlef.org/cves/CVE-2026-23939.html",
"https://github.com",
"https://osv.dev/vulnerability/EEF-CVE-2026-23939",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23939.json",
"https://github.com/hexpm/hexpm/security/advisories/GHSA-42mv-r64p-4869",
"https://nvd.nist.gov/vuln/detail/CVE-2026-23939",
"https://github.com/hexpm/hexpm/commit/5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0",
"https://github.com/hexpm/hexpm.git"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "EEF",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23939.json"
}
},
"related_cves": [
{
"value": "CVE-2026-23939",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496663,
"published_at": "2026-02-26T19:41:18.762+00:00"
}