Hex.pm hacked through CVSS 10 flaw
Hex.pm
Summary
Hex, the package registry for the Erlang and Elixir ecosystems, said an attacker exploited an unauthenticated deserialization flaw (CVE-2026-129514, CVSS 10) to run commands on six hex.pm web servers on November 23, sending 69 malicious requests in 13 minutes before patched servers and a firewall rule shut the attacker out. Hex said it found no sign that packages or its database were modified or that the attacker kept access, but it can’t rule out exposure of email addresses, password hashes, API key hashes, sessions, two-factor secrets and audit logs. It rotated credentials and signing keys, logging every user out, and urged account holders to change passwords and reset two-factor authentication. Hex found the same class of flaw in the Ash Framework, which patched it on November 24.
The attack lasted 13 minutes, according to Hex’s timeline reported by SecurityWeek. Between 18:16 and 18:29 UTC the attacker sent 69 malicious requests that reached six web servers. At 18:30 Hex swapped in patched servers, and at 18:33 a firewall rule blocked the attacker’s traffic.
The flaw, CVE-2026-129514, let crafted Erlang external term format request bodies be deserialized without authentication, leading to remote code execution. Hex found no changes to packages or the database and no sign of lasting access. Database reads and private documentation reads are not logged, though, so it can’t rule out exposure of emails, password and API key hashes, sessions, two-factor secrets and audit logs.
Hex rotated storage, CDN, email and database credentials and the keys that sign sessions and tokens, which logged every user out. It is building a new registry signing system and asked users to change passwords, reset two-factor authentication and pull packages only from repo.hex.pm for now. The same class of bug turned up in the Ash Framework (CVE-2026-124283), patched November 24, and in the db_connection and flop libraries.
Sources
Summary of published news reports, linked above. Hex.pm has no connection to Loop Data.