Lobste.Rs Hex.pm unauthenticated RCE via Erlang term format deserialization (CVE-2026-129514)
Article Content
- •CVE-2026-129514 is an unauthenticated deserialization flaw in hex.pm's application/vnd.hex+erlang body parser allowing OS command execution.
- •The CNA record states the vulnerability was actively exploited against hex.pm on 2026-11-23.
- •The parser runs before routing and authentication, so any POST route reaches the vulnerable decode path.
- •The affected hexpm/hexpm range runs from commit ab1bbcef7cc8395d1056d3b1aa6a174353492d59 until the fix at 379b0a29bcc95164249f38ad7d772a37a8ff9533.
- •Lobste.rs discussion argues Erlang's :safe binary_to_term option does not protect Elixir structs, and proposes Elixir-level safe conversion functions.
Hex.pm, the package registry for the Erlang and Elixir ecosystems, suffered a security incident involving its handling of Erlang external term format (ETF) request bodies. CVE-2026-129514 describes a deserialization flaw in the application/vnd.hex+erlang request body parser in hexpm that allows an unauthenticated remote attacker to execute operating system commands via a crafted request. The CNA record states the vulnerability was against the hex.pm service on 2026-11-23. The parser decodes bodies with Plug.Crypto.non_executable_binary_to_term/2, which accepts maps containing a __struct__ key; the decoded term is returned as request params before routing and authentication run, so a POST to any route reaches it. Per the CNA record, Elixir protocol dispatch on the __struct__ key lets the client select Inspect and Enumerable implementations during error reporting, and a chain through Ecto.Query.DynamicExpr and DBConnection.Stream reaches an apply/3 call on a client-supplied {module, function, args} tuple. The affected range is given as hex.pm from 2016-02-23 until 2026-11-23, and hexpm/hexpm from commit ab1bbcef7cc8395d1056d3b1aa6a174353492d59 until 379b0a29bcc95164249f38ad7d772a37a8ff9533, which is the fixed commit. The Lobste.rs discussion, which links a commit changing HexpmWeb.ErlangFormat, argues that Erlang's:safe option for binary_to_term is not sufficient in Elixir because structs are built on maps, and proposes Elixir-level safe conversion functions. The articles do not provide a CVSS score, and the Lobste.rs post does not describe the scope of data exposure or any post-exploitation activity.
Ask AI about this cluster
Answers cite the sources they use
Timeline
More articles in this cluster (3)
Following this threat?
Track CVE-2026-129514 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.
Free account · no card needed
Common questions
Am I affected?
Is this being exploited?
What should operators do first?
Continue Reading
Hex.pm Hosted Registry RCE (CVE-2026-129514) Exploited Against Six Web Servers; Account Resets Advised Hex.pm, the package registry for Erlang, Elixir and Gleam, disclosed that an unauthenticated remote code execution flaw, CVE-2026-129514 (CVSS 10.0), was exploited on November 23, 2026 to run OS commands on six hosted web servers. According to Hex's account, the attacker sent 69 exploit requests over about 13 minutes…
CVE-2026-123890: Auth bypass in VMware vCenter exploited by Armory Castle before patch CVE-2026-123890, a flaw in VMware vCenter Server rated CVSS 9.8, allows an unauthenticated remote attacker to obtain an administrator session on the platform. According to the Google Threat Intelligence Group, the flaw was exploited by the espionage group Armory Castle (formerly UNC5221), which has suspected China…