Hex.pm was breached through its request decoder, change your Hex password and 2FA
On 23 November an attacker sent 69 requests to hex.pm and ran commands on six of its web servers. The flaw (CVE-2026-129514) was in the request decoder, which accepted unauthenticated Erlang term data that a chain of Plug, Ecto and DBConnection behaviour turned into command execution. Hex blocked the traffic and deployed a fix within about 20 minutes, and found no sign of package tampering. Database reads are not logged, so it cannot rule out access to email addresses, password hashes, API key hashes and 2FA secrets. Hex rotated its signing keys, which logged everyone out. A related flaw in Ash keyset pagination (CVE-2026-124283) is fixed in ash 3.38.0, and hardening fixes for plug_crypto, plug, ecto and db_connection are in progress.
What to do Change your hex.pm password and reset your 2FA from the security dashboard. Until the new Hex client with registry signing ships, fetch packages only from repo.hex.pm, not mirrors. Upgrade to ash 3.38.0 or later if you use keyset pagination. Hex says API keys do not need rotating.
Hex.pm blog: Security incident on hex.pm