Hex.pm, the Elixir and Erlang package registry, was broken into through a CVSS 10 flaw (CVE-2026-129514): change your password, reset your 2FA and update the Hex client
On 23 November 2026 an attacker used a critical, no-login flaw in hex.pm to run commands on six of its web servers. The Hex team found no changed packages or database writes, but cannot rule out that account data was read, including password hashes and 2FA secrets. What to do if you have a Hex account.
How urgent
Act now
Who is affected
Anyone with a hex.pm account (Elixir, Erlang and Gleam developers who publish or use packages), and anyone who runs their own copy of the open-source hexpm server from before the fix commit 379b0a2
What to do
Change your hex.pm password, reset your two-factor authentication at hex.pm/dashboard/security and store the new recovery codes, update the Hex client (mix local.hex --force) once the new release is out in the coming days, and until then fetch packages only from repo.hex.pm. Treat emails that claim to come from Hex with care and check that links go to hex.pm
Published 25 Nov 2026 · Sources last checked 25 Nov 2026No. 122 / 168
Watch the short video
The video loads from YouTube (privacy-enhanced mode) only when you press play.
What happened
Hex.pm is the public registry where Elixir, Erlang and Gleam developers publish and download packages. On 23 November 2026, between 18:16 and 18:29 UTC, an unauthorized third party sent 69 malicious requests that ran commands on six of its web servers. The team blocked the traffic and deployed a fix within about 20 minutes, and published the incident report on 24 November.
The flaw is CVE-2026-129514, rated Critical (CVSSCVSS score A number from 0 to 10 that rates how serious a flaw is in general. From 9.0 up it is called Critical. Tap again to open the glossary 10.0). It needs no login: the server decoded a specially built request body, and a crafted object in it ended in command execution. The advisory says it was actively exploited against hex.pm on 23 November. Per the project's own history, the missing safety check dates back to 23 February 2016.
What this means
For packages, the news is reassuring. The Hex team compared a copy of the database from just before the first request and found no database writes. All 23 releases published during the incident match its audit log, and it found no sign that the attacker kept access.
For accounts, it cannot say. Database reads are not logged, so it cannot rule out that the attacker read email addresses, password hashes, API key hashes, 2FA secretsSecret (API key, token, password) Any piece of text that proves to a service that you are allowed in, such as an API key, a database password or an access token. Tap again to open the glossary, sessions and audit logs. It also cannot rule out reads of private packages and docs. The team says API keys are stored in a form that cannot be reversed and sees no need to rotate them. It has already rotated its own server credentials, which logged everyone out of hex.pm and Hex clients.
What to do
- Change your hex.pm password.
- Reset your 2FA at hex.pm/dashboard/security: under "Authenticator App" choose "Setup New App", verify a code and store the new recovery codes.
- Update the Hex client (
mix local.hex --force) when the release with the new signing system is out, which the team says will be in the coming days. Until then, use only repo.hex.pm and no third-party mirrors. - Be careful with emails that claim to come from Hex, because email addresses may have been exposed. Check that links go to hex.pm, and forward suspicious messages to [email protected].
- If you run your own hexpm server, update to the fix commit 379b0a2 or later.
What we could not confirm
Who the attacker was and what they read. The team does not know and says it cannot know, because reads were not logged. We have not read the press coverage (the Hacker News article returned an access error), so everything here comes from the Hex blog post and the GitHub advisory. The public status page showed no incident entry when we checked. We have not tested anything on hex.pm.
Keep reading
More stories on the same topic or from the same area.
- RabbitMQ and Erlang fix two critical flaws: anyone could mint an admin token on RabbitMQ consoles that use OAuth2, and Erlang TLS 1.2 clients could talk to a fake server; update RabbitMQ to 4.4.1, 4.3.8 or 4.2.13 and Erlang/OTPPlan this week 30 Nov 2026
- Remus Stealer says it can keep reading your Gmail after you change your password. Google says there is no flaw, and the claim is unverifiedPlan this week 10 Nov 2026
- nginx2root: five flaws in nginx can let a stranger run code on your web server; update to 1.31.9 or 1.30.7 and restart (turning off HTTP/2 only blocks two)Act now 19 Nov 2026
Comments
No account needed. Add a nickname if you like, or leave it empty to comment anonymously. Comments are reviewed before they appear. Links are not allowed.
We store your comment, your nickname and a scrambled form of your connection that we use only to limit spam. We do not store your IP address or set cookies. Cloudflare Turnstile checks that you are not a bot.
Sources and verification
- Hex.pm: "Security incident on hex.pm" (24 Nov 2026; blog post by the Hex team; read in full 25 Nov 2026) (opens in a new tab)
- GitHub: GHSA-9pmm-hf4r-27pg, CVE-2026-129514, hexpm/hexpm (published 24 Nov 2026; read 25 Nov 2026) (opens in a new tab)
- Hex.pm status page (checked 25 Nov 2026; shows all systems operational and no incident entry) (opens in a new tab)
We use primary sources first and say when we rely on a news report. Dates are the day we last checked each source.
Spotted a mistake? Email [email protected] and we will correct it and note the change.