AEGLIX News
An attacker executed operating system commands on Monday on six production servers of Hex.pm, the package registry used by Elixir and Erlang developers, according to registry maintainers. The exploited flaw, tracked as CVE-2026-129514 with a maximum CVSS score of 10.0, existed in the hex.pm parser used to read request bodies sent in an Erlang data format. Load balancer logs recorded 69 exploit requests between 18:16 and 18:29 UTC on Monday, all originating from two addresses.
The vulnerability had been present in the registry's code since February 23, 2016, after a safety check was removed from the code on that date. The flaw allowed an unauthenticated POST request to any address on the site to reach the parser because it ran before routing and authentication. The parser decoded request bodies with a function that accepts maps containing a __struct__ key, enabling protocol dispatch on attacker-controlled struct types during error reporting.
Three related Elixir libraries disclosed separate flaws involving structs built from untrusted data: ash CVE-2026-124283 fixed in 3.38.0, db_connection CVE-2026-133555 fixed in 2.10.3, and flop CVE-2026-130411 fixed in versions 0.26.7, 0.27.3, 0.28.1, and 0.29.2. These vulnerabilities share a pattern where decoding untrusted Erlang external term format allows attacker-chosen structs to reach code paths that invoke functions specified in struct fields, enabling remote code execution.
All users with a hex.pm account were logged out because maintainers replaced the keys that sign sessions and access tokens, and they were advised to change passwords and reset two-factor authentication. API keys do not need to be replaced because they are random 128-bit values stored only as HMAC-SHA256 hashes that cannot realistically be brute-forced. The registry signing key has not yet been replaced and was among the credentials the attacker could have read.
Report prepared 2026-11-25 · Based on reporting from The Hacker News. Source publication date above; subsequent developments may not be reflected.