The Hacker News
Hex.pm fixes RCE flaw after six registry servers compromised
Part of the CVE-2026-129514 story · since 24 Nov
- Tue 24 Nov, 15:55 UTC. cybersixt, first report. Hex.pm hacked through CVE-2026-129514 deserialization flaw.
- Wed 25 Nov, 10:00 UTC. The Hacker News, its first report on the story. Hex.pm fixes RCE flaw after six registry servers compromised. This article, 2nd of 3.
- Wed 25 Nov, 12:30 UTC. SOCRadar, its first report on the story. Hex.pm fixes exploited RCE after six servers were compromised.
Hex[.]pm, the package registry used by Elixir and Erlang developers, says a pre-existing flaw allowed an unauthenticated attacker to run operating system commands on six production servers. The vulnerability, tracked as CVE-2026-129514 with a maximum CVSS score of 10.0, resided in the Erlang-based parser used to read request bodies. An unsafe decoding path allowed a crafted Elixir map containing a __struct__ key to be accepted, bypassing a safety check that had been removed on 23 February 2016.
Exploitation appears to have occurred on Monday, with load balancer logs recording 69 exploit requests from two addresses between 18:16 and 18:29 UTC; files appeared on six servers within milliseconds of a request, and three additional servers joined later after a restart. The Hex[.]pm team noted the vulnerability existed in code since 2016 and that the new patch is designed to reject any term containing a map with a __struct__ key.
In its incident report, Hex[.]pm cautioned that, while no confirmed package tampering was detected, there is a possibility that account data—such as email addresses, password hashes, and two-factor authentication secrets—could have been read. The service also warned that the registry signing key could have been exposed.
In response, maintainers logged out all account holders, replaced session and access-token signing keys, and advised users to change passwords, reset two-factor authentication, and sign back in with the appropriate auth commands. They also urged staying vigilant for phishing, since exposed email addresses could be misused. API keys were not deemed necessary to replace, as they are stored only as HMAC-SHA256 hashes, while passwords are bcrypt-hashed.
For those running their own Hex[.]pm registry, the fix is implemented in the decoder so that maps with a __struct__ key are rejected, and no evidence of compromised databases has been logged beyond the attack window.
How the story developed
3 articles from 3 outlets since 24 Nov. Still developing; the latest report was 2 hours ago. This was the 2nd report, 18 hours after the first.
- Tue 24 Nov, 15:55 UTC. cybersixt, first report. Hex.pm hacked through CVE-2026-129514 deserialization flaw.
- Wed 25 Nov, 10:00 UTC. The Hacker News, its first report on the story. Hex.pm fixes RCE flaw after six registry servers compromised. This article, 2nd of 3.
- Wed 25 Nov, 12:30 UTC. SOCRadar, its first report on the story. Hex.pm fixes exploited RCE after six servers were compromised.
- CVE not in KEV
- No CVE
- Larger: an outlet’s first report
- Coverage over time
Show all 3 articles as a listHide the list
- Tue 24 NovDay 01
- Hex.pm hacked through CVE-2026-129514 deserialization flaw15:55 · cybersixt · First report
- Wed 25 NovDay 12
- Hex.pm fixes RCE flaw after six registry servers compromised10:00 · The Hacker News · This article, 2nd of 3
- Hex.pm fixes exploited RCE after six servers were compromised12:30 · SOCRadar