The Hex package manager, a central repository for the Elixir and Erlang programming ecosystems, recently suffered a security breach involving unauthorized access to its web infrastructure. On November 23, 2026, attackers exploited a critical vulnerability to execute arbitrary commands on the organization's web servers. The incident was short-lived, with the intrusion occurring between 18:16 and 18:29 UTC, during which time the attackers issued 69 malicious requests across six distinct web servers.
The vulnerability, tracked as CVE-2026-129514, is an unauthenticated deserialization flaw involving untrusted data. It carries a CVSS score of 10, the highest possible severity rating. By sending a crafted request body in the Erlang external term format, the attackers were able to achieve remote code execution. Hex security teams identified the breach and deployed a patch to all hex.pm servers by 18:30 UTC, with firewall rules fully blocking the malicious traffic by 18:33 UTC.
While Hex has confirmed the unauthorized server access, the extent of the data exposure remains uncertain. The organization stated that there is no evidence of package tampering or unauthorized database modifications. However, because the attackers’ commands allowed them to read server-side credentials, Hex has proactively rotated all sensitive keys, including those for storage, content delivery networks, email, and database access. This action necessitated a forced logout for all users on the platform and within Hex clients.
Hex officials acknowledged that they cannot definitively rule out the unauthorized access of sensitive database contents. Potentially exposed information includes user email addresses, password hashes, API key hashes, session data, and two-factor authentication secrets. A significant challenge in the investigation is that the platform does not log reads of private packages or documentation, meaning there is no audit trail to confirm whether specific private data was accessed during the window of compromise.
In response to the incident, Hex has advised all account holders to reset their passwords and reconfigure their two-factor authentication settings. Users are also cautioned to be vigilant against phishing attempts, as attackers may utilize the potentially exposed email addresses to impersonate the service. Hex emphasized that users should verify that any links in communications lead directly to the official hex.pm domain and warned against fetching packages from third-party mirrors until new, secure client versions are released.
The scope of this vulnerability extends beyond the Hex package manager itself. Investigations revealed that the Ash Framework was also susceptible to the same class of deserialization flaw, which was addressed on November 24 under the identifier CVE-2026-124283. This vulnerability in Ash could have facilitated both remote code execution and SQL injection attacks.
Furthermore, the discovery of this security defect has prompted patches in other related Elixir libraries. The db_connection library was updated to address CVE-2026-133555, and the flop library received a fix for CVE-2026-130411. These coordinated updates highlight the broader impact of the deserialization vulnerability across the Elixir ecosystem.
As part of its long-term remediation strategy, Hex is accelerating the development of a new registry signing system that supports key rotation. In the interim, the organization maintains that the platform is secure following the rapid deployment of patches and the comprehensive rotation of system credentials. Hex continues to monitor its infrastructure for any signs of residual unauthorized activity.




