
Attackers exploited CVSS 10.0 Hex.pm flaw to run commands on six package registry servers
Attackers exploited a CVSS 10.0 Hex.pm flaw to run commands on six production servers, exposing account credentials and registry signing material. The incident highlights supply-chain risk in Erlang and Elixir infrastructure, where backend and telecom dependencies can be affected even if published packages remain unchanged. Users must reset passwords and two-factor authentication while package integrity checks show no altered packages.
An attacker sent crafted POST requests to Hex.pm, the package registry used by Erlang and Elixir developers, and executed operating system commands on six production servers. The vulnerability, tracked as CVE-2026-129514 and rated CVSS 10.0, reached a parser before routing and authentication, allowing any unauthenticated request to trigger the flaw. The maintainers said every server was moved to a patched build within about 15 minutes of the first malicious request, and the fix was live by 18:31 UTC.
The evidence trail points to a deserialization flaw in Hex.pm's request parser. The decoder blocked dangerous terms but accepted maps containing a struct key, letting a request body masquerade as any loaded Elixir struct. A crafted struct then caused an error whose reporting path, via Ecto and DBConnection, led the server to call an attacker-chosen function. Load balancer logs recorded 69 exploit requests between 18:16 and 18:29 UTC from two addresses, with files appearing on six web servers.
The incident shows how a decade-old code path can remain exploitable until a single check is removed. The missing safety check was taken out on February 23, 2016, and the advisory lists Hex.pm as affected from that date until Monday. Maintainability matters here: three servers joined the attack midstream after a restart brought up machines still on the vulnerable build. Package integrity checks found no changed packages, but account data exposure could not be ruled out.
Hex.pm sits upstream of backend, telecom, and fintech software that uses Erlang and Elixir, so a compromise of registry infrastructure is a supply-chain risk even when packages themselves are unchanged. The team logged users out, replaced session and access token signing keys, and told account holders to change passwords and reset two-factor authentication. API keys are stored as HMAC-SHA256 hashes and do not need replacement, but the registry signing key has not yet been replaced and was among credentials the attacker could have read. Exposed email addresses may be used for phishing.
Erlang and Elixir developers and the telecom, fintech, and backend systems that depend on Hex.pm packages are exposed to credential theft and registry trust risk, even though no package changes were found.
Sources (1)
- [1]The Hacker News(https://thehackernews.com/2026/11/hackers-exploited-cvss-100-hexpm-rce.html)