Key points

The attack was not improvised. Hex says the attacker’s activity since Nov 19 suggests he built a local copy of hex.pm to test against — entirely possible because the hexpm server code is open source. About 35 minutes after the fix went live, Hex received an emailed security report describing the same vulnerability; the post does not name the reporter or say whether the report is connected to the attack.

What stands out is that Hex had just completed its first independent third-party security audit in April 2026 (funded by the OpenSSF), which fixed a different unsafe-deserialization bug in the hex_core client library. This one was on the server side — a safety check removed on Feb 23, 2016 that nobody noticed for over a decade. Hex reported the incident to Sweden’s data-protection authority (IMY), the US CISA and the EU agency ENISA on the evening of Nov 23.

Hex.pm users should do three things now: change their password, reset 2FA with a new authenticator app (and save the new recovery codes), then log the client in again with mix hex.user auth or rebar3 hex user auth. Until the new client ships, fetch packages only from repo.hex.pm and do not trust third-party mirrors. Anyone running their own copy of the open-source hexpm server should update to a build containing fix commit 379b0a2. Hex also warns users to watch for phishing: check that links in emails claiming to come from Hex actually point to hex.pm.

Why it matters

Hex.pm is the foundational infrastructure of the whole Elixir/Erlang/Gleam ecosystem — one poisoned package there would spread to thousands of projects. Fortunately no packages were tampered with this time, but the incident shows that even a recently audited registry can carry a critical flaw for 10 years — and that the attacker prepared for days before striking. For developers in Vietnam using Elixir/Phoenix, this is the moment to change the password and reset 2FA, not “tomorrow”.

Sources
Hex (official statement, posted on the Elixir Forum) — “Hex.pm - Security incident”, Nov 24, 2026: elixirforum.com/t/hex-pm-security-incident/77503
CyberKendra — “Hex.pm Breach: CVE-2026-129514 Exploited, Reset Your 2FA”, Nov 24, 2026: cyberkendra.com/2026/11/hex-pm-breach-cve-2026-129514.html