Security

hex.pm Was Hit by a Short, Serious Security Incident. Change Your Password and Reset 2FA

Leave a comment

The Hex package registry, hex.pm, has published a security-incident report that every Elixir and Erlang maintainer should read. On November 23, an unauthorized party exploited a vulnerability that let them run commands on hex.pm’s web servers. The team says it blocked the traffic and deployed a fix within 20 minutes, then received a report of the same issue. The vulnerability is tracked as CVE-2026-129514. I am not going to describe how it worked.

Hex says it found no evidence of unauthorized package modifications, database changes, or the attacker keeping access. Because database reads are not logged, though, it cannot rule out that data in the database was read, including email addresses, password hashes, API key hashes, 2FA secrets, sessions, and audit logs. The company replaced credentials the attacker could have reached, which logged everyone out of hex.pm and Hex clients. Until a new registry-signing system and client releases land, Hex says not to trust third-party mirrors and to fetch packages only from repo.hex.pm.

What you should do, per the official post: change your hex.pm password, and reset 2FA in the security dashboard by setting up a new authenticator app and storing the new recovery codes. The Hacker News has also covered the incident.

My take

A 20-minute containment window is fast, and “no evidence packages were changed” is the finding you want, but the unanswered question about database reads is why the password and 2FA reset are not optional. Do those two steps, pin your installs to repo.hex.pm, and wait for the new signing clients before you get comfortable again.

God Bless, and Happy hacking!

References & Further Reading

Subscribe (RSS) Follow Security via RSS

Leave a note

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.