Key facts
- On November 23, attackers exploited a hex.pm vulnerability to run commands on web servers.
- Hex blocked the attack right away and fixed the security flaw within 20 minutes.
- 69 malicious requests went out between 18:16 and 18:29 UTC on November 23, hitting six web servers.
- At 18:30 UTC, Hex swapped every hex.pm server for a patched version.
SecurityWeek reported that Hex disclosed a potential breach after intruders exploited a hex.pm flaw to run commands on its web servers on Nov. 23, and the project manages packages for Elixir and Erlang.
Attackers sent 69 malicious requests from 18:16 to 18:29 UTC on Nov. 23, hitting six web servers. Hex blocked the attack right away and fixed the flaw within 20 minutes. At 18:30 UTC, the project replaced every hex.pm server with a patched version. At 18:33 UTC, a firewall rule cut off the attacker’s traffic completely.
Hex said it found no evidence of altered packages, modified databases, or continued access by the attacker to its systems. The project also said commands from the intruder could read server credentials.
The project does not log database reads or reads of private documentation, a gap that limits insight into possible data exposure. Because of it, Hex says database contents may have been accessed. Hex warned that possible exposure could cover audit logs, secrets for second factor authentication, user sessions, API key hashes, password hashes, and e-mail addresses. All observed private package reads came from Hex servers, but an intruder controlling a server could make any read look legitimate.
The flaw is CVE-2026-129514, an unauthenticated deserialization vulnerability rated 10 on the CVSS scale. Deserialization turns serialized data back into objects a program can use. Attackers could run operating system commands through a request body using Erlang’s external term format, achieving remote code execution. Remote code execution lets an attacker run commands on a server.
Hex said the Ash Framework also faced the same class of vulnerability. On Nov. 24, Ash fixed CVE-2026-124283, which could lead to code execution or SQL injection. SQL injection lets an attacker manipulate a database through crafted input. Two other Elixir libraries also received patches: db_connection carries CVE-2026-133555, while flop carries CVE-2026-130411.
The project changed its storage, CDN, e-mail, and database credentials, along with the signing keys that protect sessions and access tokens. The project logged users out of hex.pm and Hex clients after making those changes. Hex told account holders to change their hex.pm passwords and reset multifactor authentication, a second login check beyond a password.
E-mail addresses may have been exposed, Hex said, so people should verify that links in messages claiming to come from Hex go to hex.pm. People should steer clear of third-party mirrors and rely only on repo.hex.pm until updated Hex clients arrive. Hex is also building a registry signing system that allows key rotation.

Join the discussion