CVE
CVE-2026-129514
hexpm · hexpm
- First Reported
- Nov 25, 2026
- Latest Reported
- Nov 25, 2026
CVE Enrichment
- CVSS
- 10.0 CRITICAL
- CISA KEV
- Not listed
Description
Deserialization of Untrusted Data vulnerability in the application/vnd.hex+erlang request body parser in hexpm hexpm allows an unauthenticated remote attacker to execute operating system commands via a crafted Erlang external term format request body. This vulnerability was actively exploited against the hex.pm service on 2026-11-23. HexpmWeb.ErlangFormat.decode/1 in lib/hexpm_web/erlang_format.ex decodes the body with Plug.Crypto.non_executable_binary_to_term/2, which accepts maps that have a __struct__ key. HexpmWeb.PlugParser.parse/5 returns the decoded term as the request params. The parser runs in the endpoint before routing and authentication, so a POST to any route reaches it. Elixir dispatches protocols on the __struct__ key, so the client selects which Inspect and Enumerable implementations run when error reporting inspects the params. A chain through Ecto.Query.DynamicExpr and DBConnection.Stream reaches an apply/3 call on a {module, function, args} tuple taken from the request body. This issue affects hex.pm: from 2016-02-23 before 2026-11-23; hexpm/hexpm: from ab1bbcef7cc8395d1056d3b1aa6a174353492d59 before 379b0a29bcc95164249f38ad7d772a37a8ff9533.
Technical Details
- CVSS Version
- 4.0
- CNA / NVD Source
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- Published
- 24-Nov-2026 21:18
- Last Modified
- 25-Nov-2026 02:12
- CWE
- CWE-502
CVSS Vector
CVSS:4.0 AV:N /
AC:L /
AT:N /
PR:N /
UI:N /
VC:H /
VI:H /
VA:H /
SC:H /
SI:H /
SA:H /
E:A /
CR:X /
IR:X /
AR:X /
MAV:X /
MAC:X /
MAT:X /
MPR:X /
MUI:X /
MVC:X /
MVI:X /
MVA:X /
MSC:X /
MSI:X /
MSA:X /
S:X /
AU:X /
R:X /
V:X /
RE:X /
U:X
CNA Products / Version Status
- hexpm · hexpm
Source: CNA · 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Default status: unaffected
ab1bbcef7cc8395d1056d3b1aa6a174353492d59 ≤ version < 379b0a29bcc95164249f38ad7d772a37a8ff9533 — affected (git)
Modules: 'Elixir.HexpmWeb.ErlangFormat', 'Elixir.HexpmWeb.PlugParser'
CPEs: cpe:2.3:a:hexpm:hexpm:*:*:*:*:*:*:*:*
collectionURL: https://github.com
packageName: hexpm/hexpm
packageURL: pkg:github/hexpm/hexpm
repo: https://github.com/hexpm/hexpm
- hexpm · hexpm
Source: CNA · 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Default status: unaffected
2016-02-23 ≤ version < 2026-11-23 — affected (date)
Modules: 'Elixir.HexpmWeb.ErlangFormat', 'Elixir.HexpmWeb.PlugParser'
CPEs: cpe:2.3:a:hexpm:hexpm:*:*:*:*:*:*:*:*
collectionURL: https://hex.pm
packageName: hex.pm
References
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Sources: NVD · FIRST EPSS · CISA KEV
Latest successful provider update; providers refresh independently.
Reported Context (1)
- The flaw, tracked as CVE-2026-129514 with the maximum CVSS score of 10.0, sat in the parser hex.pm used to read request bodies sent in an Erlang data format. That parser ran before routing and authentication, so an Attackers Exploited CVE-2026-129514 to Run Commands on Six Hex.pm Servers
MITRE ATT&CK (2)
Products (1)
Countries (2)
Note: Related entities, including threat actors, malware, CVEs, MITRE ATT&CK techniques, vendors, products, tools, countries, and industries, are shown when they appear in the same reporting. Their presence does not necessarily mean they were targeted, compromised, vulnerable, responsible for the activity, or directly involved in the incident.
