Hex.pm Rotates Keys After Server Breach

An attacker exploited a critical flaw on six web servers, prompting a forced logout and credential reset for users of the Erlang and Elixir package registry.

Updated on Nov. 26, 2026 in Cybersecurity

Isometric editorial illustration of a brass key lying across a dark steel slab with cable bundles behind it, in muted slate, oxblood, and cream.
Hex.pm rotated its infrastructure credentials and signing keys on November 23, 2026, after an attacker ran commands on six of its web servers, logging users out of the registry. AI Illustration. Upload story photo >

An attacker exploited a critical vulnerability on November 23, 2026, and ran commands on six Hex.pm web servers. Hex.pm rotated infrastructure credentials and the keys that sign sessions and access tokens, logging users out of the site and Hex clients.

Why it matters

The registry did not log database reads, so Hex cannot determine whether the attacker viewed account data. Users who rely on the registry for packages are being asked to take protective steps while investigators continue their review.

The advisory lists the flaw as CVE-2026-129514, with a severity score of 10.0 out of 10, and 69 malicious requests were tracked between 18:16 and 18:29 UTC on November 23, 2026. Direct reads from cloud storage went unlogged, and it remains unclear what the attacker accessed.

The players

Hex.pm

Hex.pm is the package registry used to publish and install packages for the Erlang and Elixir programming languages.

The details

Hex.pm replaced all of its servers with a patched build by 18:31 UTC on November 23, 2026. Investigators found no evidence of package tampering or continued access, and no changes to older releases, and Hex.pm found no requests for private documentation from the attacker's addresses in its CDN logs.

Timeline

  1. November 23, 2026: Attacker exploits the vulnerability and runs commands on six servers.

  2. November 23, 2026, 18:16-18:29 UTC: Hex.pm tracks 69 malicious requests.

  3. November 23, 2026, 18:31 UTC: All servers are replaced with a patched build.

  4. November 24, 2026: Hex.pm publishes its incident report.

The Tech Race

The breach shows how a single critical flaw in a package registry's web infrastructure can force a wide credential reset across an entire developer ecosystem. It also highlights the value of audit logging, since the lack of logging for database reads leaves the scope of exposure unresolved.

Users who rely on Hex.pm should change their passwords and reset authenticator-based two-factor authentication if they use it, since the registry logged users out of the site and Hex clients. Developers should expect to sign in again to Hex clients after the key rotation.

The takeaway

Account holders who use authenticator-based two-factor authentication should reset it, and anyone with a Hex account should change their password as a precaution while the investigation into possible data exposure continues.

Further reading

For broader context on how registries and developer platforms respond to intrusions, explore the Cybersecurity section.

Source note: This article includes information reported by ESecurityPlanet.