Hackers Exploited CVSS 10.0 Hex.pm RCE Flaw to Compromise 6 Package Registry Servers
Reported exploitedhex.pmOur summary
On Monday an unknown attacker exploited a maximum-severity flaw in Hex.pm, the registry Elixir and Erlang developers use for dependencies, running system commands on six production servers. The bug, CVE-2026-129514 (CVSS 10.0), had existed since a safety check was removed from the code in February 2016; it let an unauthenticated request craft a struct that, once inspected by error-handling code involving the Ecto and DBConnection libraries, triggered arbitrary OS command execution. Hex.pm's team patched every server within roughly 15 minutes of the first malicious request and found no evidence that any published package was tampered with, but cannot rule out that the attacker read the database, including email addresses, password hashes and 2FA secrets. All users have been logged out, session and token signing keys were rotated, and account holders are urged to change passwords, reset 2FA, and re-authenticate their Hex clients. Separately, maintainers of the Ash, db_connection and Flop Elixir libraries disclosed and patched related struct-decoding vulnerabilities (CVE-2026-124283, CVE-2026-133555, CVE-2026-130411) that are unconnected to the Hex.pm attack itself.
The Hacker News publishes this story on its own site; we link to it rather than reprint it.
Worried this affects your company?
Discuss a security assessment of your internet-facing systems. Scope agreed before testing.