The Hex.pm security incident involved an exploited remote code execution flaw on November 23, 2026. Hex says it blocked the attack and deployed a fix within 20 minutes. Hex.pm users should change their passwords, reset two-factor authentication and fetch packages only from the official registry while new signing support is prepared.
What the Hex.pm Security Incident Means for Packages
Hex tracked the flaw as CVE-2026-129514. Its request parser accepted untrusted Erlang terms before authentication, and crafted struct values reached code paths that executed commands. Hex says the attacker sent 69 exploit requests between 18:16 and 18:29 UTC on November 23, affecting six web servers.
Hex says every server was running its patched build by 18:31 UTC. This is a fix to the hosted service, not a version that organizations must install on their own Hex.pm servers. Hex also plans a new registry signing system and client releases, but had not provided a release version in its November 24 notice. For supplier exposure, use third-party risk management services to record which teams depend on Hex and who owns each account action.
| Surface | Hex’s November 24 status | Reader decision |
|---|---|---|
| Hex.pm service | Patched on November 23 | Use the hosted service as normal and review account security. |
| Hex client signing | New release planned | Update when Hex publishes the signing release. |
| Package source | Mirror trust restricted | Use repo.hex.pm until the new signing system is available. |
Hex found no evidence of unauthorized package changes. It matched all 23 releases during the incident to publish or stage records, and checked 62 package files written since 18:00 UTC against database checksums. Documentation archives lack a stored checksum for the same comparison, so the finding has a defined limit.
Which Account and Data Risks Remain?
Hex says it found no unexpected database changes or lasting attacker access. Database reads were not logged, however, so Hex cannot rule out access to stored email addresses, password hashes, 2FA secrets, sessions and audit logs. Its own infrastructure credentials and token-signing keys were replaced, which logged users out of the site and clients.
Hex says API keys are stored as hashes of random 128-bit values and does not recommend rotating them solely because those hashes may have been read. Passwords have a different risk profile, especially if weak, so Hex asks users to change them.
Brandefense Blackhole counted one dark-chat post matching CVE-2026-129514 from August 26 through November 24, 2026. That count measures discussion posts, not affected accounts or additional exploitation. Hex’s own incident investigation remains the source for the confirmed attack.
What Should Hex Users Do Now?
Change the password at hex.pm and reset 2FA in the account security dashboard. Hex says a fresh authenticator setup generates a new secret and recovery codes, even when an organization requires 2FA. Store the new recovery codes safely and check that messages claiming to be from Hex lead to hex.pm before following them.
- Change the Hex.pm passwordUse a unique password for the account.
- Reset 2FASet up a new authenticator entry and store its new recovery codes.
- Check package sourceFetch from repo.hex.pm rather than a third-party mirror.
- Plan client updateInstall the new signing-capable Hex client after its release.
Package owners should review releases and account activity around the incident, then raise anomalies with Hex. Hex says it will contact affected organizations directly about private package access. The investigation did not establish a package supply-chain compromise; the software supply-chain compromise technique explains the separate risk that package integrity checks are intended to address.
Teams can compare this response with an earlier third-party incident response playbook when assigning account, supplier and package owners. Keep Hex’s published notice as the source of truth for later signing releases and any changed findings. The current decision is to secure accounts now and keep package retrieval on Hex’s official registry.
Frequently Asked Questions
What should Hex.pm account holders change now?
Hex asks users to change their password and reset 2FA, which creates a new secret and recovery codes. Store the new recovery codes safely.
Should teams use a third-party package mirror now?
Hex says to fetch packages only from repo.hex.pm until its new registry signing system and client releases are available.
