Monitor vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
6.9

hexpm self-hosted storage allows attackers to access unauthorized files

CVE-2026-23939
Summary

Self-hosted hexpm deployments may allow attackers to access files they shouldn't be able to see. This is a security risk because sensitive information could be exposed. If you're using self-hosted hexpm, update to the latest version to fix this issue.

Original title
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 vulnerabil...
Original 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.
nvd CVSS4.0 6.9
Vulnerability type
CWE-22 Path Traversal
Published: 26 Feb 2026 · Updated: 12 Mar 2026 · First seen: 6 Mar 2026