Skip to main content
Mallory
CriticalVulnerability

CVE-2026-129514: Unauthenticated RCE in Hexpm Erlang term request-body parser

Published Nov 24, 2026 · Updated today
Trending this week#43of 434,994 vulnerabilities
Mention activity · 30 days49 mentions · peak 20 in a dayToday
CVSS10.0Critical · v4
EPSS3.2%89th percentile
CISA KEVNoNot listed
In the wildReported24 exploitation records in Mallory
IdentifiersCVE-2026-129514CWE-502 · Deserialization of Untrusted Data

CVE-2026-129514 is an unauthenticated remote code execution vulnerability in the Hexpm server application's application/vnd.hex+erlang request-body parser. HexpmWeb.ErlangFormat.decode/1 uses Plug.Crypto.non_executable_binary_to_term/2 with the safe option, which rejects functions and new atoms but accepts maps containing a struct key. HexpmWeb.PlugParser.parse/5 exposes these decoded terms as request parameters before routing and authentication. Attacker-controlled struct markers select Elixir protocol implementations during error reporting, enabling a chain through Ecto.Query.DynamicExpr and DBConnection.Stream to invoke attacker-selected functions and execute operating system commands. The vulnerability affected server code introduced on February 23, 2016, until the fix deployed on November 23, 2026. It was actively exploited on November 23, 2026, and has a CVSS v4.0 score of 10.0. The locally installed Hex client is not the vulnerable component.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation permits arbitrary operating system command execution with the privileges of the BEAM process user, threatening application confidentiality, integrity, and availability. Accessible resources can include database contents, private packages and documentation, storage credentials, and the registry signing key. Exploitation on November 23, 2026, achieved command execution on six production web servers. Investigators found no evidence of unauthorized package modifications, database changes, or persistent access, but incomplete read and command logging prevented them from excluding disclosure of email addresses, password hashes, API key hashes, two-factor authentication secrets, sessions, private artifacts, or application secrets. Theft of the registry signing key and downstream supply-chain compromise were not established.

Mitigation

If you can’t patch tonight, do this now.

Until patching is complete, restrict untrusted access to affected registry deployments or block application/vnd.hex+erlang requests before they reach the application parser. Route-specific authentication is insufficient because parsing occurs before routing and authentication. For potentially compromised deployments, rotate readable infrastructure credentials and session/access-token signing keys, invalidate sessions, and review package integrity and account activity. Affected account holders should change passwords, regenerate two-factor authentication secrets and recovery codes, and reauthenticate clients. Use only the official package repository rather than third-party mirrors pending deployment of the replacement registry signing system and corresponding client updates. Registry signing-key theft was not confirmed.

Remediation

Patch, then assume compromise.

Deploy hexpm/hexpm commit 379b0a29bcc95164249f38ad7d772a37a8ff9533 or an equivalent server-side fix. The affected source range begins at commit ab1bbcef7cc8395d1056d3b1aa6a174353492d59 and ends before the fixing commit. The fix rejects decoded terms containing any map with a struct key, including nested occurrences, and returns HTTP 400. Apply the fix to every self-hosted or forked registry instance and ensure replacement or autoscaled servers use the patched build. Updating the Hex client alone does not fix this server vulnerability. Upgrade db_connection to 2.10.3 or later to address the associated execution gadget, but do not treat that dependency update as a substitute for fixing unsafe deserialization.

Public exploits

Exploits

No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
Every candidate exploit was rejected by Mallory's analysis.
FAQ

Frequently asked questions

Is CVE-2026-129514 exploited in the wild?
Yes. As of Nov 28, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2026-129514?
As of Nov 28, 2026, Mallory has found no public exploit for CVE-2026-129514.
Is there a patch for CVE-2026-129514?
Deploy hexpm/hexpm commit 379b0a29bcc95164249f38ad7d772a37a8ff9533 or an equivalent server-side fix. The affected source range begins at commit ab1bbcef7cc8395d1056d3b1aa6a174353492d59 and ends before the fixing commit.
How severe is CVE-2026-129514?
CVE-2026-129514 has a CVSS v4 score of 10.0 (Critical) and an EPSS score of 3.2% (89th percentile) as of Nov 28, 2026.
Activity feed

Recent activity

49 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
riskyNews · Nov 28, 2026Risky Bulletin: Hackers breach Erlang and Elixir package manager - Risky Business MediaA critical untrusted deserialization zero-day exploited to take over six Hex.pm backend servers. Hex.pm deployed a fix within 20 minutes of detecting the attack. Developers found no unauthorized package modifications but could not rule out user-data collection.Read more ↗spectrum security threatsNews · Nov 28, 2026hex.pm registry deserialization breach threat: detection, logs and IOCsA CVSS 10.0 unauthenticated deserialization vulnerability in hex.pm's Erlang term request parser, introduced in February 2016. Attacker-controlled maps could become arbitrary structs before routing and authentication, enabling command execution through protocol dispatch and db_connection logging functionality. An unattributed attacker exploited it on November 23, 2026, executing commands on six registry web servers. Potential exposure of account credentials, 2FA secrets and sessions could not be ruled out.Read more ↗breachnewsNews · Nov 27, 2026Hex.pm Breach: Critical Flaw Exploited on Registry ServersA CVSS 10.0 unauthenticated remote code execution vulnerability in hex.pm's request-body deserialization. Crafted maps containing a __struct__ key reached error-reporting code and triggered execution of attacker-supplied commands as the server user. An attacker exploited it on six servers on November 23, 2026. Hex found no package tampering but could not rule out database or other sensitive-data reads.Read more ↗vulnuNews · Nov 27, 2026🎓️ Vulnerable U | #196A CVSS 10 unauthenticated deserialization vulnerability exploited against hex.pm to execute commands on six web servers. Patched servers were deployed; package tampering was not found, but exposure of sensitive account data could not be ruled out because database reads were not logged.Read more ↗
+15 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity27Community discussion across Reddit, Mastodon, and other social sources.