Hex Package Manager Reports Unauthorized Access via Critical RCE Vulnerability in hex.pm

Hex, the official package manager for the Elixir and Erlang ecosystems, disclosed a cyberattack that granted attackers remote code execution on its web servers through an unauthenticated deserialization flaw. The incident took place on November 23 when 69 malicious requests were sent between 18:16 and 18:29 UTC, impacting six servers before the attack was contained. Hex quickly replaced all servers with patched versions and rotated credentials for storage, CDN, email, and database services, forcing a full logout of users. Although no evidence of package modifications or database alterations was found, the possibility of exposure of email addresses, password hashes, API keys, and 2FA secrets cannot be ruled out. The root cause was tracked as CVE-2026-129514 with a CVSS score of 10, and the same class of vulnerability affected the Ash Framework along with db_connection and flop libraries.

SecurityWeekTranslated from English

Read at source

Hex, the package manager for Elixir and Erlang, disclosed that it fell victim to a cyberattack involving unauthorized access to its web servers on November 23.

The attackers exploited a vulnerability in hex.pm to execute commands on the platform. The attack was immediately blocked, and the underlying security defect was addressed within 20 minutes. Between 18:16 and 18:29 UTC, the attacker sent 69 malicious requests, affecting six web servers.

At 18:30, Hex replaced all hex.pm servers with patched versions rejecting the payload, and its firewall rule fully blocked the attacker’s traffic at 18:33. “We found no evidence of unauthorized package modifications, database changes, or that the attacker maintained access to our systems,” the package manager explains.

Potential access to database contents, such as email addresses, password hashes, API key hashes, sessions, second factor authentication secrets, and audit logs, cannot be ruled out. While all observed reads of private packages came from Hex servers, any read from a compromised server would appear legitimate. Database and private documentation reads are not logged, hindering visibility into potential data exposure.

The attacker’s commands could read the credentials used by servers, prompting Hex to replace storage, CDN, email and database credentials, as well as the keys that sign sessions and access tokens. This action logged everyone out of hex.pm and Hex clients.

The attackers exploited an unauthenticated deserialization of untrusted data bug tracked as CVE-2026-129514 (CVSS score of 10) that allowed remote code execution via a crafted Erlang external term format request body. Hex discovered that the Ash Framework was also impacted by the same class of vulnerability, patched as CVE-2026-124283 on November 24. Associated defects were also fixed in db_connection (CVE-2026-133555) and flop (CVE-2026-130411).

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Supply Chain & OSS

Critical RubyGems.org Flaw Allowed Attacker-Controlled Regex in Gem Metadata Leading to Potential RCE
Q-Dir and DesktopOK Utilities Compromised to Deliver Python RAT via Official Channels
Supply Chain Attack Trojanizes Official Q-Dir and DesktopOK Installers to Deploy Python RAT