SecurityContext

CVE-2026-23939: hexpm hexpm - Path Traversal

  • Cve: CVE-2026-23939
  • Name: hexpm hexpm - Path Traversal
  • Description: 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.
  • Impact: Attackers can access arbitrary files on the system, potentially leading to information disclosure or further compromise.
  • Remediation: Update to commit 5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirements: Self-hosted deployment using Local Storage backend is required
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00486
  • Epss percentile: 0.42689
  • Assignee: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  • Published at: 2026-02-26T20:31:35Z
  • Age in days: 271
  • Modified at: 2026-11-20T03:17:35Z
  • Patch available: yes
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-23939
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/hexpm/hexpm/commit/5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0Patch
https://github.com/hexpm/hexpm/security/advisories/GHSA-42mv-r64p-4869Mitigation, Vendor Advisory
https://cna.erlef.org/cves/CVE-2026-23939.html
https://github.com/hexpm/hexpm/commit/931ee0ed46fa89218e0400a4f6e6d15f96406050
https://osv.dev/vulnerability/EEF-CVE-2026-23939

Products

ProductAffectedPlatform boundSourcesUrl
hex:hexpm>= 2014-09-29, < 2026-02-26nonvd/v1/products/hex/hexpm

Projects

RepositoryLink kindsIndexedUrl
hexpm/hexpmcna_commit, commit, fix, security_advisoryyes/v1/repositories/hexpm/hexpm

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts