CVE Tools

CVE-2026-129514

Unauthenticated remote code execution through struct values in Erlang term request bodies

CVE-2026-129514 is a deserialization in Hexpm (CVSS 8.8, High).

No known exploitation. EPSS puts it in the 89th percentile. Fixed in 2026-11-23.

Check it yourself

No ready-made check. Neither Nuclei nor OpenVAS has one for this CVE yet.

Request a scan

Published Updated Sources: CVE.org, NVD

What to do

Find your product and version, then upgrade to the build on the right.

  • HexpmAffected: ≥ 2016-02-23, < 2026-11-23Upgrade to: 2026-11-23Stated by: CVE record

Versions as the sources state them. Full version matrix after sign-in

Steps

Written by AI from the record
  1. Check whether you run your own hexpm instance (self-hosted Hex package registry) rather than just using the public hex.pm site.
  2. If you self-host hexpm, assume it may already be compromised and take it offline or isolate it from the internet immediately.
  3. Update to the fixed version released 2026-11-23 (commit 379b0a29) and redeploy from a clean environment.
  4. Rotate any credentials, API keys, or secrets stored on or accessible to the hexpm server.
  5. If you only consume packages from the public hex.pm, watch for vendor advisories about tampered packages and verify package checksums before relying on anything pulled during the affected window.

Coverage timeline

3 publishers
  1. Attackers breached Hex.pm, taking over backend servers via a zero-day deserialization flaw and prompting password/2FA resets and client key updates.

    ·SecurityWeek summary

Sourced from public security reporting — each date is when it was published, not when it happened. 1 further article named this CVE in wider roundups without reporting it as a distinct event.

What it is

From the CVE record

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.

In plain language

Written by AI from the record

A package-registry server called hexpm had a critical flaw that let attackers run commands on the server just by sending it a web request, with no password needed — if you run your own copy of this software, treat it as already under attack and fix it now.

Unauthenticated RCE in hexpm via unsafe deserialization of Erlang external term format request bodies (CWE-502), where attacker-controlled __struct__ values drive protocol dispatch into an apply/3 call on attacker-supplied module/function/args, reachable pre-authentication on any endpoint; confirmed exploited against hex.pm on 2026-11-23.

If you're affected

  • Full server takeover
  • Malicious package injection/supply-chain compromise
  • Service outage for package downloads
  • Exposure of registry credentials/secrets

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS89th
CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

No public exploit or proof of concept found in the sources we track.

EPSS

3.2% chance of exploitation activity in the next 30 days, which ranks it in the 89th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Attention now

Sustained, driven by in-the-wild reports.

Lifecycle

6 events over 6 days, from the signal feeds we watch.

  1. Record updated
  2. Publishedweakness classified, att&ck mapped, record updated, record updated

Affected products

Technical detail

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Scored 8.8 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required NoneNo authentication required — anyone can exploit this
  • User Interaction RequiredA user must click a link, open a file, or perform some action

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability HighTotal denial of service — the component is completely unavailable

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Questions about CVE-2026-129514

Is CVE-2026-129514 being exploited?
No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 3.2%.
Which versions are affected by CVE-2026-129514?
Hexpm: ≥ 2016-02-23, < 2026-11-23.
How do I fix or mitigate CVE-2026-129514?
Upgrade to 2026-11-23 or later.

Last updated

Related articles

All articles

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Hexpm, not every advisory.