CVE-2026-129514: Unauthenticated remote code execution through struct values in Erlang term request bodies
Vendor fix available · Affected: hexpm · Exploitation: not established
Verdict
RoutineA fix exists and nothing on record suggests attackers are using it.
- NoAttacks seen
- NoPublic exploit code
- n/aExploit odds: not scored yet
- YesFix available: Vendor fix available
How we decide
Patch now: attacks are on record (CISA KEV, the EU exploited list, CISA marking exploitation active, or a report of exploitation), or exploit code is public for a flaw reachable over the network with no login that has exploit odds of 10% or more, or is rated critical with odds of at least 1%. Patch this cycle: any other public exploit code, scanning observed, or exploit odds of 10% or more. Routine: a fix exists and none of those. No verdict yet: no fix on record and nothing else known. The verdict says how soon to act, not how severe the flaw is, and it changes when these facts change.
What it isNVD
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.
Are you affected?
The answer appears here.
Or hand it to your AI agent. The prompt carries the facts on this page and only commands that read package and kernel state; it tells the agent to change nothing.
No EPSS score yet. The score appears once FIRST publishes it.
Not scored yet. NVD has not published a CVSS score.
Check your systemsRead-only commands per release
Assess your exposure
Commands that only read package and kernel state, for each release we checked. They change nothing on the host.
Affected versions, per the CVE record
- The CNA record lists hexpm versions from 2016-02-23 up to, but not including, 2026-11-23 as affectedchecked 24 Nov 16:02 UTC
Not checked: Red Hat, Ubuntu, Debian, SUSE, Alpine. Treat distributions and products not listed as unknown, not unaffected.
ExploitationNot established
ExploitationNot established
Not in CISA KEV as of catalogue 2026.11.23 (23 Nov)
- Not establishedNothing in the sources we check
Not seen so far: in CISA KEV · exploited (reported) · scanning observed · proof of concept public.
Weakness and public checksDeserialization of Untrusted Data
Weakness and public checks
- Public check
- No public nuclei template
- Weakness
- Deserialization of Untrusted Data · Deserialization and Object Injection
Related CVEshexpm
Other CVEs in hexpm
Every published CVE for hexpm , by how far exploitation has gone. This one is among them.
What changed1 change, latest 24 Nov
What changed
- CyberSIXT published “Hex.pm hacked through CVE-2026-129514 deserialization flaw” CyberSIXT
Coverage1 article · 1 outlet
Coverage1 article · 1 outlet
First in our coverage: cybersixt, 24 Nov.
- Hex.pm hacked through CVE-2026-129514 deserialization flawcybersixt · first in our coverage
New articles also arrive in the RSS feed.