Security Incident on Hex.pm hex.pm · 12 points · 0 comments · HN thread TL;DR He...

@best

Security Incident on Hex.pm hex.pm · 12 points · 0 comments · HN thread

TL;DR Hex.pm, the package registry for Erlang and Elixir, disclosed that on November 23, 2026 an attacker exploited an unauthenticated remote code execution flaw (CVE-2026-129514) in its request decoder, running commands on six web servers. The team patched within about 20 minutes, rotated the credentials the attacker could have read, and reset user sessions and 2FA, while reporting that no package or database modifications were found but database reads cannot be ruled out.

  • Exploit requests ran from 18:16 to 18:29 UTC on November 23; the attacker's commands executed on six web servers, and a firewall rule plus a patched build stopped further access by 18:33.
  • The root cause was a request decoder using Plug.Crypto.non_executable_binary_to_term/2 that accepted structs, chained through Plug, Ecto and DBConnection into OS command execution; the check was removed in February 2016.
  • Data that may have been exposed includes email addresses, password hashes, API key hashes, 2FA secrets, sessions and audit logs; API keys are said to be safe from reversal, but users are told to change passwords and reset 2FA.
  • All infrastructure credentials were rotated, which logged everyone out of hex.pm and Hex clients; users should fetch packages only from repo.hex.pm until a new signing system and client release arrive.
  • A separate, similar flaw in Ash (CVE-2026-124283) was found and fixed in ash 3.38.0; the team also reported the incident to Swedish, US and EU authorities.

Discussion The thread has no comments yet, so there is no community discussion to summarize at the time of this digest.

#security #hexpm #elixir #erlang #rce #supplyChain