Hex.pm says an attacker exploited CVE-2026-129514 to run commands on its web servers; it found no package tampering but cannot rule out database reads and asks users to change passwords and reset 2FA
The Hex.pm team said that on 23 November 2026 an unauthorised third party exploited a vulnerability in hex.pm that let them run commands on its web servers, and that it blocked the traffic and deployed a fix within 20 minutes (source: Hex.pm).
Hex.pm says the attacker sent 69 malicious requests between 18:16 and 18:29 UTC on 23 November, affecting six web servers, and that the flaw, tracked as CVE-2026-129514, came from decoding unauthenticated Erlang-term request bodies that allowed crafted struct values, which could be chained into remote command execution (source: Hex.pm).
Hex.pm says it found no evidence of unauthorised package modifications, database changes or continued attacker access, but because database reads are not logged it cannot rule out access to data including email addresses, password hashes, API key hashes, 2FA secrets, sessions and audit logs (source: Hex.pm).
Hex.pm says it replaced storage, CDN, email and database credentials and session and token signing keys, which logged everyone out, rotated every credential the attacker could have read except the registry signing key and a few low-impact secrets, and is building a new registry signing system with new Hex client releases in the coming days (source: Hex.pm).
Hex.pm says it reported a personal data breach to Sweden's IMY, reported the incident to CISA and sent an early warning to ENISA, and that it found the same class of flaw in Ash, fixed in ash 3.38.0 on 24 November and tracked as CVE-2026-124283 (source: Hex.pm).
- Product
- hex.pm package registry (Elixir/Erlang); Ash framework
- Versions
- hex.pm service (fixed server-side in hexpm commit 379b0a2, per Hex.pm); Ash before 3.38.0 for CVE-2026-124283 (per Hex.pm)
- Exploited in Australia?
- unknown
- Patch to
- Per Hex.pm (as of 24 Nov): change your hex.pm password; reset 2FA at hex.pm/dashboard/security ("Setup New App") and store the new recovery codes; fetch packages only from repo.hex.pm, not third-party mirrors; update the Hex client (mix local.hex --force, and rebar3 or Gleam) when the release with the new signing system is out. Ash users: ash 3.38.0.
