Hex.pm was breached through an RCE bug that sat unpatched since 2016
An unauthenticated remote code execution flaw in the Elixir and Erlang package registry let an attacker run commands on six servers before a 15-minute patch.
Hex.pm, the package registry Elixir and Erlang developers pull dependencies from, was breached on 23 November when an attacker exploited an unauthenticated remote code execution bug to run commands on six of its web servers.
The flaw, CVE-2026-129514, rated a maximum CVSS 10.0, had sat in the registry’s Erlang-format request parser since February 2016. A crafted struct inside an Erlang term request body slipped past the decoder’s safety check, triggered an undefined-function dispatch, and chained through Ecto and DBConnection into an OS command. The attacker sent 69 requests between 18:16 and 18:29 UTC; Hex.pm blocked the traffic and had every server patched by 18:31. The team found no evidence of modified packages or database writes, but reads aren’t logged, so it can’t rule out exposure of email addresses, bcrypt password hashes, API key hashes, 2FA secrets, sessions and audit logs.
Why it matters: if you have a Hex.pm account, change your password and reset 2FA now. Bcrypt slows down guessing but doesn’t stop it against a weak password, and Hex.pm is telling users to pull packages only from repo.hex.pm until its new client-side package signing ships.
The caveat: the “no evidence of tampering” finding rests on audit logs Hex.pm does have, not a confirmed account of everything the 69 requests touched.