CVE-2026-129514: Unauthenticated remote code execution through struct values in Erlang term request bodies
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-30 07:36 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
What it is
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.
Description quoted from the CVE record (assigned by EEF, published 2026-11-24).
Weakness: CWE-502 Deserialization of Untrusted Data
How it can be exploited
Exploitable over the network with low attack complexity with no special attack requirements needing no privileges and no user interaction. Impact: confidentiality high, integrity high, availability high. 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
CISA assessment (SSVC): CISA has no evidence of exploitation. Automatable: no. Technical impact: total.
Public exploit evidence (Exploit Observer)
Exploit Observer found 1 code repository and 1 research write-up naming this CVE.
Code repositories that name a CVE are often scanners, copies or fakes, and some are malware. Read the code before running anything.
See all 5 references on Exploit Observer
Live scores
- EPSS
- 0.032
some chance of attack soon - VEDAS
- 0.971
strong exploit evidence - On CISA KEV
- Not listed
- Detection rule
- Suricata
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| hexpm (hex.pm) | from 2016-02-23 before 2026-11-23 | Not stated |
| hexpm (hexpm/hexpm) | from ab1bbcef7cc8 before 379b0a29bcc9 (git commit) | Not stated |
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
How to fix it
Fixed versions stated in the CVE record: 2026-11-23.
Vendor guidance:
- Unauthenticated remote code execution through struct values in Erlang term request bodies (vendor-advisory, related)
- Fix commit 379b0a2 in hexpm/hexpm (patch)
How to detect it
Suricata rules (network detection)
1 rule that alert on traffic matching this exploit: VEDAS CVE-2026-129514 Hexpm - Erlang Term Body Deserialization RCE. Add them to your Suricata rule set and reload.
Show the rules
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2026-129514 Hexpm - Erlang Term Body Deserialization RCE"; flow:established,to_server; http.method; content:"POST"; http.header; content:"application/vnd.hex+erlang"; nocase; http.request_body; content:"__struct__"; content:"DBConnection.Stream"; fast_pattern; classtype:web-application-attack; reference:cve,CVE-2026-129514; reference:url,https://www.exploit.observer/?keyword=CVE-2026-129514&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=hexpm&match=exact; sid:1148000; rev:1;)
CVE-2026-129514.rules on GitHub
Advisories on this CVE
- Hex.pm package registry breached via CVE-2026-129514 RCE flaw (full advisory)
References
Vendor advisories and patches
- Unauthenticated remote code execution through struct values in Erlang term request bodies (vendor-advisory, related)
- Fix commit 379b0a2 in hexpm/hexpm (patch)
Technical analysis and advisories
- Security incident on hex.pm (technical-description)
Other references
- EEF CNA record for CVE-2026-129514 (related)
- OSV record EEF-CVE-2026-129514 (related)
- Introducing commit ab1bbce in hexpm/hexpm (related)
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.
Supporting partners