PoC Monitor
← All CVEs
CVE-2026-23939published 26 Feb 2026 19:41 UTCData: JSON · API

Hexpm

Path Traversal in Local File Store Backend

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by NVD · CWE-22
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

hexpm hexpm
  • >= 931ee0ed46fa89218e0400a4f6e6d15f96406050, < 5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0

Fixed in 5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0

Mitigation

Upgrade hexpm to 5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0 or later.

Workaround

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

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published26 Feb 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.