Software

Hex.pm says attackers ran commands on six registry servers, with no sign packages were altered

The package registry for Elixir, Erlang and Gleam says a maximum-severity flaw let an attacker execute commands on six web servers on November 23, and that some account data may have been read.

Hex.pm, the package registry used by developers working in Elixir, Erlang and Gleam, has disclosed that an attacker exploited a critical flaw to run operating system commands on six of its web servers. According to security site GBHackers, which summarised Hex’s incident report on November 25, the attack happened on November 23.

What happened

The flaw is tracked as CVE-2026-129514 and carries the top severity score of 10.0, GBHackers reports. It says the problem was in how Hex handled data sent to it: the server decoded untrusted Erlang data before checking who was sending it, and accepted values that the application treated as trusted internal structures. Error handling then processed those values in a way that let commands run with the application’s own permissions.

GBHackers reports that 69 malicious requests were logged between 18:16 and 18:29 UTC. Hex added a firewall rule at 18:27, and every server was running a patched build by 18:31. The report says Hex blocked the malicious traffic and deployed a fix within 20 minutes. The fix makes the server reject those values and return an error.

Were packages tampered with?

Hex’s investigators found no evidence that packages were altered or that the attacker kept access, GBHackers says. They checked all 23 releases published during the incident against audit records and verified 62 package files against database checksums.

That separates this case from supply-chain attacks such as the recent Axios npm incident, which the article cites, where malicious releases reached the registry itself.

What may have been exposed

Because the compromised application could read infrastructure credentials, Hex replaced the keys it uses for storage, content delivery, email and database access. Hex does not log database reads, so investigators could not rule out that data was read. GBHackers lists email addresses, bcrypt password hashes, API key hashes, two-factor authentication secrets, sessions and audit logs as potentially exposed. Hex also could not fully exclude access to private packages or documentation and plans to contact affected organisations directly.

Hex does not recommend rotating API keys only because their hashes may have been exposed, citing how random the keys are, per the report. It did rotate the keys that sign sessions and access tokens, which logged users out of the website and Hex clients.

What users are advised to do

The report advises changing passwords and resetting two-factor authentication through the Hex security dashboard, then signing back in to clients. Hex is building a registry signing system that supports key rotation and, until updated clients are out, suggests fetching packages only from repo.hex.pm. Because exposed email addresses could be used for impersonation, users are told to open Hex directly rather than follow account-reset links in unsolicited messages.

Note: this story rests on a single news report of Hex’s incident report. The CVE number, score and timeline come from that report, and Hex’s own post was not available for checking.

Comments

Comments are checked before they appear, usually within an hour. Be kind and stay on topic; spam, ads and personal attacks are removed. Your name and comment are public. Privacy

Related stories