Hex.pm registry compromise: what happened and what Elixir and Erlang teams should check
Short answer: on Monday 23 November 2026 an attacker ran operating system commands on six production servers of Hex.pm, the package registry Elixir and Erlang developers fetch their dependencies from. The flaw, scored CVSS 10.0, had been in the registry's code since February 2016, and the maintainers had every server on a patched build within about 15 minutes of the first malicious request (The Hacker News). They found no evidence that data was modified, but database reads are not logged, which is why Hex warns of a potential data breach (SecurityWeek).
What is known
- Six production servers of Hex.pm ran commands sent by the attacker (The Hacker News).
- The flaw is a remote code execution bug in the registry's own code, present since February 2016 and scored CVSS 10.0 (The Hacker News).
- All servers were on a patched build about 15 minutes after the first malicious request (The Hacker News).
- No evidence of data modification was found, and database reads are not logged (SecurityWeek).
What is not known yet
The reports FixLane checked name no CVE id, no tampered package and no list of affected accounts, and they do not say which data the attacker may have read. The flaw sits in the registry's server code; nothing in those reports says the mix or rebar3 clients on your machine are affected. Hex's own announcement is the place to watch for what account holders and package owners should do.
Check your projects (read-only)
A tampered registry would show up in your projects as a dependency version or checksum you did not choose. mix.lock and rebar.lock record the exact version and checksum of every Hex package, so look at what changed in them since the attack window, and at what is installed now:
git log -p --since=2026-11-20 -- mix.lock rebar.lock mix deps mix hex.audit rebar3 tree
git log -p shows every lockfile change with its author and date: a version bump or checksum change you cannot explain is the thing to investigate. mix deps lists each dependency with its locked version, mix hex.audit lists dependencies their owners have retired, and rebar3 tree prints the Erlang dependency tree. Run the same check on CI: a pipeline that resolves dependencies without a committed lockfile can pick up new versions on every run.
If you publish packages
Look at the version history of your own packages on hex.pm and confirm that every release since 23 November is one you published. Then follow Hex's announcement for any step it asks of account holders. These are reads: they change nothing on your account.
Other registry incidents this month
Hex.pm is not the only registry hit in November 2026. Two releases of Microsoft's agent-framework on PyPI carried a credential stealer (guide), and 13 NuGet packages reached .NET developers through fake job assessments (guide). For npm, see how to check an npm package for a supply chain attack.
FixLane's page: hackers exploited a Hex.pm RCE flaw to compromise 6 package registry servers.
Questions
Was Hex.pm hacked?
Yes. On Monday 23 November 2026 an attacker ran operating system commands on six Hex.pm production servers through a CVSS 10.0 flaw. Every server was patched within about 15 minutes of the first malicious request.
Were Hex packages tampered with?
The reports FixLane checked name no tampered package. Hex found no evidence that data was modified, but database reads are not logged.
Do I need to update mix or rebar3?
The flaw was in the registry's server code, and the reports FixLane checked name no client update. Watch Hex's announcement for any change.
Does the Hex.pm flaw have a CVE?
The reports FixLane checked give no CVE id. The Hacker News reports a CVSS score of 10.0.
Sources
- The Hacker News: Hackers exploited CVSS 10.0 Hex.pm RCE flaw
- SecurityWeek: Hex package manager warns of potential data breach
Check your own machine
Connect an AI agent to the free, read-only FixLane MCP server or ask the Telegram bot: it checks what you have installed against verified fixed versions and serves a reviewed fix procedure. All guides.