Hex.pm, the package registry for Elixir and Erlang, says an unauthorized third party ran commands on its web servers on November 23 by exploiting a vulnerability, and that it cannot rule out access to database contents. Its incident post says the registry blocked the traffic and deployed a fix within 20 minutes.
Hex.pm says 69 malicious requests between 18:16 and 18:29 UTC affected six of its web servers. It found no evidence of package modifications, database changes or lasting attacker access. All 23 releases published during the incident match its audit log, and the package files written since 18:00 UTC match the checksums in its database.
Database reads are not logged, so Hex.pm says it cannot exclude that the attacker read email addresses, password hashes, API key hashes, 2FA secrets, sessions and audit logs. The commands could also read server credentials, so Hex.pm replaced its storage, CDN, email and database credentials and its session and token signing keys, which logged everyone out. The flaw is tracked as CVE-2026-129514, and the post says the vulnerable decoder check had been missing since February 2016.
Users are asked to change passwords and reset 2FA. Hex.pm says API keys are 128-bit random values stored as HMAC-SHA256 hashes, so it sees no need to rotate them. New Hex client releases with a new registry signing system are due within days. Until then, fetch packages only from repo.hex.pm and avoid third-party mirrors. Because email addresses may be exposed, treat mail claiming to come from Hex with care.
Teams that build with Elixir or Erlang should change the password, reset 2FA and check internal mirrors. Package infrastructure belongs in the threat model, as the wfx-loot CI secret theft showed, and a longer package cooldown buys time when a registry is in doubt. Hex.pm says its investigation continues.