Key facts
- The flaw sits in the parser Hex.pm uses for request bodies.
- The parser executed before routing and authentication, allowing an unauthenticated POST request to any site address to reach it.
- No exploitation before Monday, Nov. 23, 2026, has been confirmed.
- Hex.pm operators returned all affected servers to a patched build within roughly 15 minutes after the first malicious request arrived.
An intruder ran operating system commands on Monday, Nov. 23, 2026, on six production servers at Hex.pm, the package registry that Elixir and Erlang developers use to fetch dependencies.
The Hacker News reported that the maximum CVSS score of 10.0 belongs to CVE-2026-129514. The flaw sits in the parser Hex.pm uses for request bodies. It processes request bodies written in an Erlang data format, and because it runs before routing and authentication, an unauthenticated POST request to any site address can reach it.
The vulnerability under attack had been present in the registry code since February 2016. Removing a protective check from the code on February 23, 2016, created the flaw. There is no confirmed exploitation before Monday, Nov. 23, 2026.
Load balancer logs captured 69 exploit requests from two addresses. The activity occurred between 18:16 and 18:29 UTC on Monday, Nov. 23, 2026, according to the team’s incident report. Files created by the exploit showed up on six web servers, with one appearing three milliseconds after a request. A restart launched machines still running the vulnerable build, so three servers entered the attack mid-way.
Within roughly 15 minutes after the first malicious request arrived, operators returned all affected servers to a patched build. By 18:31 UTC on Monday, Nov. 23, 2026, every hex.pm server was running the patched build.
Checks after the attack found no evidence that any package had been altered. All 23 releases published during the attack match the audit log, and no older release was altered. Records in the database match the package files and registry files written that evening.
Officials at Hex.pm said they could not rule out that the intruder read e-mail addresses and password hashes. They also could not rule out that two-factor authentication secrets were read. E-mail addresses and password hashes are in the database, along with API key hashes, two-factor authentication secrets and session data. An intruder could have read private packages without leaving a trace.
The system did not record shell commands, environment variables, database reads or direct file-storage reads. Investigators found no remaining shells, and the audit logs show no new accounts or cloud keys.
The attacker’s identity remains unknown. The team said activity from the two addresses dates to late last week. The team also believes the attacker tested against a local copy of hex.pm.
After the attack ended, a separate security report about the same flaw arrived by e-mail at 19:07 UTC on Monday, Nov. 23, 2026. By Tuesday morning, Nov. 24, 2026, the team replaced every credential the intruder might have read. The team did not replace the registry signing key.
On Monday night, Nov. 23, 2026, the team told the Swedish data protection authority about the breach. CISA in the United States was also notified. ENISA in the European Union received notice as well. The maintainers logged out all hex.pm account holders after replacing the session and access-token signing keys.
The team urged account holders to change their hex.pm password. For two-factor authentication, the team advised creating a new authenticator entry and saving the new recovery codes. According to the guidance, users should sign back in using mix hex.user auth, or rebar3 hex user auth for Erlang projects.
Users should watch for phishing because exposed e-mail addresses could be abused, and they should verify that links in Hex-related e-mail point to hex.pm, the team warned. The team said API keys do not need replacement, since they are random 128-bit values stored only as HMAC-SHA256 hashes and cannot realistically be brute-forced. According to the team, passwords use bcrypt hashing, which slows guessing but does not stop it for weak passwords, so changing passwords remains important.
Report author Peter Ullrich said in a maintainer clarification on the Elixir Forum that developers without a hex.pm account who only download public packages need to reset nothing. Users registered through GitHub must still sign back in to their clients and reset two-factor authentication if they enabled it. Until the updated client arrives, users should download packages only from repo.hex.pm and avoid third-party mirrors. The registry signing key has not been replaced, and the intruder may have accessed it among other credentials.
The fix commit makes the decoder reject maps that contain struct keys. Because the flaw lives in the hexpm server code rather than the Hex client, organizations running their own registry copy stay exposed until they deploy the patch.
Separate flaws were disclosed on Tuesday, Nov. 24, 2026, by the maintainers of three widely used Elixir libraries. Those flaws involve structs constructed from untrusted data, and fixed versions shipped that day. The Hex.pm attack is separate from these disclosures.
The Ash advisory says the vulnerability is exploitable only when keyset pagination uses a client-supplied cursor, certain sort field types are involved, and the signing secret remains at its unset default. The db_connection flaw cannot be exploited alone, because the DBConnection advisory says another component must first decode untrusted data into structs. The Flop advisory describes a flaw with similar conditions around pagination cursors.
A Hex client update with a new registry signing system is expected within days. Users should install it when it is released.

Join the discussion