Hex Replaces Servers After Attack Raises Data-Exposure Concerns
Hex, the package manager used by Elixir and Erlang developers, says an attacker accessed its web servers on November 23 by exploiting a flaw in hex.pm. The incident was contained within minutes, but Hex cannot rule out access to information held in its database, including account and authentication-related data.
The company said it found no evidence that the attacker changed packages or database contents, or retained access to its systems. However, because commands executed on the affected servers could read credentials and because some database activity is not logged, Hex said it cannot establish whether all potentially exposed information was accessed.
Attack contained within minutes
Hex reported that the attacker sent 69 malicious requests between 18:16 and 18:29 UTC, affecting six web servers. At 18:30, Hex replaced all hex.pm servers with patched versions that rejected the malicious requests. A firewall rule fully blocked the attacker’s traffic at 18:33. The underlying security defect had been addressed within 20 minutes, according to the company.
The flaw, tracked as CVE-2026-129514 and assigned a CVSS score of 10, involved unauthenticated deserialization of untrusted data. A crafted request body using Erlang external term format could cause the server to execute operating-system commands, giving the attacker remote code execution.
Hex said it found no evidence of unauthorized package modifications or database changes. It also said observed reads of private packages came from Hex servers. That limits the ability to distinguish routine access from activity by an intruder using a compromised server, however: requests made from that infrastructure could appear legitimate. Hex added that reads of database records and private documentation are not logged, leaving a gap in its ability to confirm whether those resources were accessed.
Credentials and account protections reset
Because the attacker’s commands could read credentials used by Hex’s servers, the company replaced credentials for its storage, content delivery network, email and database systems. It also replaced the keys used to sign sessions and access tokens. The rotation logged users out of hex.pm and Hex clients, Hex said.
The potentially exposed database information includes email addresses, password hashes, API key hashes, session data, two-factor authentication secrets and audit logs. Hex has not said that these items were taken; it says access to database contents cannot be ruled out. The distinction matters for account holders and organizations that rely on Hex: the incident presents a potential exposure risk, not a confirmed report that each category of information was accessed.
Hex recommends that all account holders change their hex.pm passwords and reset their two-factor authentication. Since email addresses may have been exposed, users should also scrutinize messages claiming to come from Hex and verify that links lead to hex.pm before following them.
Package retrieval and related library flaws
Until updated Hex client versions are available, Hex advises users not to fetch packages from third-party mirrors and to use repo.hex.pm. The company is working on a registry-signing system that will support key rotation. That work is intended to strengthen trust in package distribution, but the available account does not specify when the new system or updated clients will be released.
The incident also drew attention to similar deserialization-related defects in the Elixir ecosystem. Hex said it found that Ash Framework was affected by the same class of vulnerability. Ash patched its issue on November 24 as CVE-2026-124283 and warned that it could permit code execution or SQL injection. Related security defects were also patched in the Elixir libraries db_connection, tracked as CVE-2026-133555, and flop, tracked as CVE-2026-130411.
For enterprise teams, the immediate response includes following Hex’s password, two-factor authentication and package-source guidance, while reviewing whether internal systems depend on affected libraries. The available information does not establish that packages were altered or that customer data was definitively taken. Hex’s account instead underscores the challenge of determining exposure when compromised application servers can access sensitive credentials and when reads of some data are not recorded.