Skip to main content
Mallory
CriticalVulnerability

CVE-2026-129514: Unauthenticated RCE in the hexpm Erlang request-body parser

Published Nov 24, 2026 · Updated today
Trending this week#58of 434,241 vulnerabilities
Mention activity · 30 days37 mentions · peak 20 in a dayToday
CVSS10.0Critical · v4
EPSS1.7%77th percentile
CISA KEVNoNot listed
In the wildReported15 exploitation records in Mallory
IdentifiersCVE-2026-129514CWE-502 · Deserialization of Untrusted Data

CVE-2026-129514 is an unauthenticated remote code execution vulnerability in hexpm, the server application powering the Hex package registry. HexpmWeb.ErlangFormat.decode/1 decodes application/vnd.hex+erlang request bodies using Plug.Crypto.non_executable_binary_to_term/2 with the safe option, which rejects executable terms but permits maps containing a struct key. HexpmWeb.PlugParser.parse/5 accepts these maps as request parameters before routing or authentication. Attacker-controlled struct markers select Elixir Inspect and Enumerable implementations during error reporting, enabling a chain through Ecto.Query.DynamicExpr and DBConnection.Stream to invoke apply/3 with attacker-controlled function selection and arguments. Commands execute with the privileges of the BEAM process user. The vulnerable implementation was present from February 23, 2016, until the November 23, 2026 patch. Active exploitation on November 23 compromised six production web servers. The vulnerability affects the server application, not the locally installed Hex client.

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 compromises the confidentiality, integrity, and availability of the registry application within the permissions of its service account. The compromised process can access database connection information, storage credentials, and the registry signing key, potentially enabling sensitive database reads, access to private packages and documentation, and downstream supply-chain attacks. Observed exploitation achieved operating system command execution on six servers. Investigators found no evidence of unauthorized package modifications, database changes, or persistent access, but incomplete read and execution logging prevented them from excluding data theft. Potentially exposed account information included email addresses, password hashes, API key hashes, two-factor authentication secrets, sessions, and audit logs. Theft or misuse of the registry signing key was not established.

Mitigation

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

Until patched, restrict network access to vulnerable registry deployments and block untrusted application/vnd.hex+erlang request bodies at a reverse proxy or equivalent ingress control. Route-specific authentication is insufficient because parsing occurs before routing and authentication. Review request logs, package releases, ownership changes, and account activity for exploitation or unauthorized changes. During incident recovery, use only the official package repository, avoid third-party mirrors, and install updated registry clients supporting the replacement signing system when available.

Remediation

Patch, then assume compromise.

For self-hosted or forked hexpm deployments, apply fixing commit 379b0a29bcc95164249f38ad7d772a37a8ff9533 or an equivalent patch, and replace every running vulnerable instance. The affected source range begins at ab1bbcef7cc8395d1056d3b1aa6a174353492d59 and ends before the fixing commit. The patch rejects decoded terms containing any map with a struct key and returns HTTP 400. Safe-mode Erlang decoding alone is insufficient. Upgrade db_connection to 2.10.3 or later as additional hardening against the related gadget vulnerability; this does not replace fixing unrestricted deserialization. For compromised deployments, rotate potentially exposed infrastructure credentials and session/access-token signing keys and investigate registry integrity. Affected Hex account holders were advised to change passwords, reset enabled two-factor authentication with fresh secrets and recovery codes, and reauthenticate clients.

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 25, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2026-129514?
As of Nov 25, 2026, Mallory has found no public exploit for CVE-2026-129514.
Is there a patch for CVE-2026-129514?
For self-hosted or forked hexpm deployments, apply fixing commit 379b0a29bcc95164249f38ad7d772a37a8ff9533 or an equivalent patch, and replace every running vulnerable instance. The affected source range begins at 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 1.7% (77th percentile) as of Nov 25, 2026.
Activity feed

Recent activity

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

View more in app →
cryptika blogNews · Nov 25, 2026Hackers Exploit Critical Hex.pm Vulnerability to Execute Commands on Six Servers | Cryptika CybersecurityA critical unauthenticated command-execution vulnerability in Hex.pm's request decoding. Crafted input resembling an internal Elixir structure was treated as trusted during error logging, allowing commands to run with application permissions before authentication. Attackers sent 69 malicious requests and achieved command execution on six servers on November 23, 2026. Hex deployed a fix within 20 minutes; all servers ran the patched build by 18:31 UTC. Investigators found no package tampering but could not rule out access to sensitive user data or private packages.Read more ↗cyber security newsNews · Nov 25, 2026Hackers Exploit Critical Hex.pm Vulnerability to Execute Commands on Six ServersA critical unauthenticated command-execution vulnerability in Hex.pm's request decoding. Crafted input resembling an internal Elixir structure was treated as trusted during error logging, executing commands with application permissions before authentication. Attackers exploited it against six web servers. Hex deployed a patch within 20 minutes; investigators found no package tampering but could not rule out access to user data or private packages.Read more ↗socradar blogNews · Nov 25, 2026Hex.pm RCE (CVE-2026-129514) Exploited in Server AttackCritical unauthenticated remote code execution vulnerability in the Hex.pm web application, rated CVSS 4.0 10.0. Its Erlang-term parser accepted attacker-controlled structs despite using a safe decoding mode, enabling a library call chain that executed operating-system commands as the Erlang VM user. An attacker exploited it against six web servers on November 23, 2026. Potential exposure included account data and application secrets; unauthorized package modifications and signing-key theft were not established. The locally installed Hex client was not affected. The hosted service was patched on November 23; self-hosted deployments require commit 379b0a2 or an equivalent fix.Read more ↗malware newsNews · Nov 25, 2026Hex.pm RCE (CVE-2026-129514) Exploited in Server Attack - Malware News - Malware Analysis, News and IndicatorsCritical unauthenticated remote code execution vulnerability in the Hex.pm web application, rated CVSS 4.0 10.0. Unsafe decoding of Erlang terms permits attacker-controlled structs to trigger a library call chain that executes operating system commands as the Erlang VM user. Exploitation on November 23, 2026 affected six web servers. Potential exposure includes account data, infrastructure credentials and the registry signing key, but theft was not confirmed and maintainers found no evidence of unauthorized package modifications. Deployments from February 23, 2016 until the November 23, 2026 fix were affected. Commit 379b0a2 fixes the issue; the local Hex client was not affected.Read more ↗
+7 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 activity24Community discussion across Reddit, Mastodon, and other social sources.