Hex.pm says a CVSS 10.0 flaw was used to run commands on its servers
An attacker ran commands on six Hex.pm production servers on November 23, 2026, exploiting a maximum-severity flaw; no packages were changed.
Key points
- An attacker exploited CVE-2026-129514, rated CVSS 10.0, to run commands on six Hex.pm production servers on November 23, 2026.
- No package modifications were found, but possible reads of stored account data including passwords and two-factor authentication secrets could not be ruled out.
- Every hex.pm account holder was signed out and should change their password, reset two-factor authentication, and log back in to their Hex client.
- A new Hex client release with an updated registry signing system is expected within days, The Hacker News said.
On November 23, 2026, an attacker ran operating system commands on six production servers belonging to Hex.pm, the package registry that serves Elixir and Erlang developers when they pull in project dependencies. Peter Ullrich, Jonatan Männchen, and Eric Meadows-Jönsson signed the official incident report, which said the team cut off the malicious traffic and shipped a corrected build within 20 minutes.
The weakness behind the attack is now listed as CVE-2026-129514 and carries the highest possible CVSS rating of 10.0, The Hacker News reported. Investigators confirmed no package files were altered. Whether account records stored in the database were viewed by the attacker, however, is a question the team has not been able to close.
Key facts about how the hex.pm CVSS 10.0 flaw was used
- Load balancer records show 69 exploit requests arriving from two addresses across the 18:16-to-18:29 UTC window on Monday, the Hex.pm team said in its incident report.
- Six web servers were hit; all were running on a corrected build inside roughly 15 minutes from when the attack began, The Hacker News reported.
- CVE-2026-129514 scores 10.0 on the CVSS scale, the top of the range, The Hacker News said.
- No package was found to have been altered, though possible reads of stored credentials and two-factor authentication data could not be ruled out.
- The team notified the Swedish data protection authority, CISA in the United States, and ENISA in the European Union on Monday night, The Hacker News reported.
- Every account holder was signed out when the team replaced the cryptographic keys that protect sessions and access tokens.
Background
The gap had existed in the codebase since a safety check was deleted on February 23, 2016, The Hacker News reported. That left the entry point dormant for a decade before anyone exploited it.
At the center of the flaw was a custom parser that processed incoming request bodies in an Erlang data format. This parser executed before the application handled routing or checked identity, so any unauthenticated POST request could reach it. The decoder was designed to block dangerous input, but it allowed maps carrying a struct identifier key to slip through. An attacker could therefore send data that the runtime would treat as a trusted internal object.
When one of those crafted values reached the application, it triggered an error. The error-reporting code then ran an inspection step on the malformed value. Through a sequence of library calls, that inspection created an opening for the attacker to nominate which function the server would execute next, ultimately enabling operating system commands to run under the registry service account's privileges.
Alongside the incident, maintainers disclosed a related flaw in ash 3.38.0, tracked as CVE-2026-124283, The Hacker News said; that was an independent issue and not a separate attack on Hex.pm.
What it means for you
Hex.pm is the central hub for Elixir and Erlang package distribution. When a registry is compromised, the worst-case scenario involves altered packages that push harmful code into every project that updates a dependency. That did not happen here: no evidence of package tampering was found.
The outstanding concern involves personal account data. The database stores email addresses, password hashes, two-factor authentication secrets, and session information. Because individual reads against the database are not logged, the team has no way to confirm or disprove what the attacker may have seen. The Hex.pm team wrote that "we cannot rule out that the attacker accessed data stored in the database," a statement The Hacker News cited in its report.
The registry signing key was still unrotated when The Hacker News filed its report, and it fell within the set of credentials the attacker might have obtained. Developers who never registered a hex.pm account and only retrieve public packages have nothing to reset, The Hacker News reported, citing a clarification from Peter Ullrich on the Elixir Forum. Those who signed up through GitHub should still re-authenticate their clients and reset two-factor authentication if it was active on their account.
What you can do
The Hex.pm team and The Hacker News outlined clear steps for account holders. Work through these in order:
- Change your hex.pm password. Passwords are stored as bcrypt hashes, which slow cracking but cannot prevent it against weak choices. A new password removes that exposure.
- Reset two-factor authentication. Visit hex.pm/dashboard/security, pick "Setup New App" under "Authenticator App," confirm a code from the new entry, and save the fresh set of recovery codes.
- Log your Hex client back in. Run mix hex.user auth for Elixir projects or rebar3 hex user auth for Erlang projects, since the old session keys were replaced.
- Fetch packages only from repo.hex.pm until a new Hex client arrives. Third-party mirrors should be avoided for now because the registry signing key remains unrotated.
- Update the Hex client when the release with the new signing system ships, expected within days, The Hacker News said. Run mix local.hex --force to update.
- Stay alert to phishing. Email addresses may have been seen by the attacker. Verify that any message claiming to come from Hex contains links pointing only to hex.pm, and forward anything suspicious to [email protected].
API keys require no action, the Hex.pm team said. Each key is a 128-bit random value kept only as an HMAC-SHA256 hash, a format The Hacker News said cannot realistically be reversed by brute force. Even so, all other steps above remain important.
What happens next
A new Hex client release carrying a redesigned registry signing system is expected within days, The Hacker News said. The registry signing key had not been rotated when The Hacker News published its report, making that swap a significant pending item.
Who carried out the attack remains unknown, The Hacker News reported. Whether any account data was actually viewed also remains unresolved, since the logs do not record database reads. The Hex.pm team said it is continuing work on additional hardening measures beyond the patch already in place.
FAQ
Was any package changed?
No evidence of changes was found. The Hex.pm team compared database records against a snapshot taken before the first exploit request and traced each difference to normal operations. Package and registry files written during the incident matched what the database already showed. The official Hex.pm incident report confirmed the team found no evidence of unauthorized package modifications.
What is the CVSS score for CVE-2026-129514?
The Hacker News said CVE-2026-129514 has the maximum CVSS score of 10.0.
Do API keys need to be replaced?
No. According to the Hex.pm team, as reported by The Hacker News, each API key is a 128-bit random value that the system stores only as an HMAC-SHA256 hash, a format that cannot realistically be reversed by brute force. Passwords are stored differently as bcrypt hashes, which slow cracking but do not stop it, so changing your password is still advised.
Could the attacker have read private account data?
It cannot be confirmed either way. The Hex.pm team said it could not rule out that the attacker read data held in the database, as The Hacker News reported. Database reads are not captured in logs, which is why certainty is impossible. The database stores email addresses, password hashes, two-factor authentication secrets, and session information.
Who reported the breach to regulators?
On Monday night, the Hex.pm team notified the Swedish data protection authority, CISA in the United States, and ENISA in the European Union about the breach, The Hacker News said.
Sources
More from the network
Junious Media Network ↗Macy's Thanksgiving Parade Rescheduled to Saturday After Storm
Macy's and New York City postponed the 100th Thanksgiving Day parade to Saturday, citing dangerous winds and heavy rain from an approaching coastal storm.
junidaily.media ↗Fubo Bundles Disney+, Hulu, ESPN and Fox One Into Most Plans
Fubo subscribers on Pro, Elite and Deluxe plans now get Disney+, Hulu, ESPN Unlimited and Fox One at no extra charge, adding over $75 a month in streaming value.
junidaily.media ↗Six Dead in Small Plane Crash Off Mississippi Coast
A Cessna 210 carrying a family of six crashed into the Gulf of Mexico near Pascagoula on Tuesday, killing everyone on board and prompting federal investigations.
junidaily.media ↗TSA expects about 17.6 million flyers this Thanksgiving week
The TSA projects about 17.6 million air travelers from Nov. 24 to Nov. 30, with Sunday, Nov. 29, projected to be the busiest day at more than 3 million passengers.
junidaily.media ↗