CVE Professor
›
Back
CVE-2026-23939

CVE-2026-23939 — Hexpm Hexpm (5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0) — CWE-22

MEDIUM CVSS 7.5 NVD+CVE.org

CVE-2026-23939 is a MEDIUM severity Path Traversal & Arbitrary File Read vulnerability (CWE-22) (CVSS 7.5/10) affecting Hexpm Hexpm (5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0). Technical vector analysis shows that an attacker can exploit this flaw remotely over the network without authentication (PR:N) with zero user interaction (UI:N), posing a direct security risk to affected deployments.

📄 Official NVD / MITRE Original Record 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. 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.

Published 26.02.2026
ISO Date 2026-02-26
CVSS Version v4.0
Source NVD+CVE.org
CVSS v4.0 Vector Metrics
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
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. Low VC:L
Vuln. Integrity None VI:N
Vuln. Avail. None VA:N
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-23939
CVSS 7.5/10 · MEDIUM · 26.02.2026
CWE: CWE-22
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
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Path Traversal / LFI
Summary: 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…
Affected: hexpm:hexpm

⚡ ATTACK CHAIN
1. Test ../../../../etc/passwd in file parameters.
2. URL encode variants: ..%2F, ..%252F, null byte %00.
3. PHP LFI to RCE via log poisoning: inject PHP in User-Agent, include access log.
4. PHP wrappers: php://filter/convert.base64-encode/resource=config.php

🔧 Tools: LFISuite, ffuf, Burp Suite, dotdotpwn
🗺️ MITRE ATT&CK: T1083 (File and Directory Discovery), T1552 (Unsecured Credentials)

🌍 REAL WORLD IMPACT

🛡️ REMEDIATION
→ Apply vendor security update for hexpm:hexpm.
→ Use realpath() canonicalization, implement allowlists.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="hexpm hexpm"
CVSS Score
7.5 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-22
Affected Products (1)
hexpm:hexpm (5d2ccd2f14f45a63225a73fb5b1c937baf36fdc0)
References & Advisories (5)
Related CVEs
5.3
CVE-2026-133520
Dokploy 0.28.0 before 0.31.1 contains a path traversal vulnerability in the patch.readRepoDirectories tRPC pro
5.1
CVE-2026-133479
A vulnerability was detected in WebKul QloApps up to 1.8.0. Affected by this vulnerability is the function pos
10.0
CVE-2026-77312
# [CRITICAL] Arbitrary file write via unguarded `data.*` / `file.*` write modules — incomplete fix of GHSA-2
9.8
CVE-2026-116439
Dell PowerStore SDNAS contains a path traversal vulnerability that could allow an unauthenticated attacker to
9.8
CVE-2026-114516
### Summary An unauthenticated path‑traversal / arbitrary file read vulnerability in Etherpad's /static/* h
9.1
CVE-2026-131202
In Splunk Enterprise Security versions below 8.7.0, a user who holds the "ess_admin" Splunk Enterprise Securit