Hex disclosed the incident on November 24, 2026. The attack occurred the previous day: unauthenticated commands ran on six web servers, after 69 malicious requests reached the registry. This merits L4 because a package registry was actively compromised and server-side credentials and account data were within reach. No evidence establishes malicious package distribution or an internet-wide compromise of Elixir applications.
The vulnerable component is the hexpm server, not a command-execution flaw in everyone’s Hex client. Its Erlang-term body parser ran before authentication on every route. Rejecting functions and new atoms was insufficient: a map could name an existing Elixir module through __struct__. An error caused that value to be inspected; protocol dispatch through Ecto and DBConnection reached an attacker-selected callback. Commands ran with the BEAM process’s operating-system permissions, not automatically host root.
The hosted service was patched on November 23. Self-hosted operators must deploy the decoder fix: the affected source range begins at ab1bbcef7cc8395d1056d3b1aa6a174353492d59 and ends before 379b0a29bcc95164249f38ad7d772a37a8ff9533. This service/source versioning is separate from Hex client version numbers. The server fix recursively rejects struct maps; related library hardening and the registry signing-system replacement are separate work described in the official report.
What is confirmed, and what remains unknown: Hex compared every database row against a pre-attack snapshot and reconciled the changes it found. All 23 package releases during the attack matched audit records; 62 package files and 186 registry files written since 18:00 matched database checksums or contents. It found no unexpected package modification or lasting access. These checks do not prove that no data was read, nor can the database comparison catch every change that was reverted or overwritten. Documentation archives had no stored checksum for that comparison.
Database reads, environment-variable reads and shell commands were not logged. Potentially readable account data includes email addresses, password hashes, API-key hashes, 2FA secrets, sessions and audit logs. Reads of private packages from an already compromised server could resemble legitimate service traffic; direct storage reads of private documentation were not logged. There is no verified stolen-account total, confirmed signing-key theft or named malicious package release to publish.
Hex replaced infrastructure credentials and the keys used for sessions and access tokens, forcing users to sign in again. The registry signing key is a different key and remained an exception in the report. Maintainers were preparing a new signing system with client releases expected in the following days. Use the official repository and follow the release announcement; neither an operational status page nor installing an existing client release proves that rotation is complete.
For account holders, change the Hex password if one exists, replace enabled 2FA and save its new recovery codes, then reauthenticate clients. GitHub sign-ups still need the latter steps. Anonymous users who only download public packages have no account reset to perform, but should follow the repository and client-update guidance. Hex does not require blanket API-key replacement solely for possible exposure of its strongly randomized API-key hashes; actual secret exposure or suspicious use is a separate reason to revoke one.
The DBConnection hop now has its own advisory, CVE-2026-133555 / GHSA-gmmq-fw75-wq46, published November 24. It covers db_connection >=1.1.0 and <2.10.3, with hardening in 2.10.3. A forged DBConnection.Stream or DBConnection.PrepareStream carries a :log callback selected by the attacker. The maintainers explicitly say the library is not exploitable alone: an application or dependency must first decode untrusted terms into structs and enumerate or inspect them. Upgrading this library closes this gadget, but other structs can provide alternative gadgets if the unsafe decoder remains. This is a defense within the existing Hex attack chain, not evidence of a separate registry intrusion. The maintainer’s forum post also directs Ash and Flop users to their separate updates; see Ash keyset decoding and Flop cursor decoding.