Security Guides

Hex.pm Security Incident (November 2026): Commands Run on Six Web Servers, Emails and Password Hashes May Have Been Read. What Users Should Do

Hex.pm says a vulnerability let a third party run commands on six web servers. Emails and password hashes may have been read; no package tampering found. Steps.

Published 2026-11-26 Updated 2026-11-26 Last verified 2026-11-26 8 min read
On this page

For: people with a Hex.pm account (the package registry for Elixir, Erlang and Gleam), people who publish packages there, and organisations that fetch dependencies from Hex. This article is an explainer based on the service's official blog post and does not cover attack steps.

Developing: this article will be updated as the organisation publishes more

Who is affected

people with a Hex.pm account (the package registry for Elixir, Erlang and Gleam), people who publish packages there, and organisations that fetch dependencies from Hex.

Confirmed so farSee the table ↓
  • Commands run on six web servers through a vulnerability
  • Credential rotation and logout of all users
  • Notification of authorities

Listed as possibly affected

  • Emails, password hashes, API key hashes, two-factor secrets, sessions, audit logs
  • Private packages and private documentation
Not yet confirmed
  • Whether private packages were read (the service says it cannot fully rule it out and will contact affected organisations directly)
  • The release of new Hex clients
  • Completion of the new registry signing system
1 more
  • Further hardening fixes in related libraries
What to do nowSee the steps ↓
  1. Change your hex.pm password
  2. Set up two-factor authentication again
  3. Fetch packages only from the official source until new clients are out
2 more
  1. Be careful with email claiming to be from Hex
  2. If you publish packages, review your release history
Last checked
As of November 26, 2026
Follow-up plans and what we checked

The service says new Hex client releases are expected in the coming days and that it will contact affected organisations directly. When we checked on November 26, 2026, the post was the one dated November 24.

What users should do today

1

Change your hex.pm password

The service says passwords are stored as bcrypt hashes, but still asks users to change theirs. Log in to hex.pm and change it. If you reused the password elsewhere, change it there too. See how to check whether a password has leaked.

2

Set up two-factor authentication again

Because two-factor secrets may have been read, the service advises resetting two-factor authentication from the security page of your hex.pm dashboard by choosing "Setup New App", and storing the new recovery codes. See What two-factor authentication is.

3

Fetch packages only from the official source until new clients are out

The service is building a new registry signing system and says new Hex client releases are expected in the coming days. Until then it advises not trusting third-party mirrors and fetching packages only from repo.hex.pm. When the new release is out, update Hex with the command the service gives, and update rebar3 or Gleam if you use them.

4

Be careful with email claiming to be from Hex

Email addresses may have been read, so convincing fake messages are possible (a general point; our view). Check yourself that links go to hex.pm, and forward suspicious messages to the service's security contact. See What phishing is.

5

If you publish packages, review your release history

The service says the 23 releases published during the incident match its audit logs. Publishers should still check their own packages' history for anything they do not recognise (our view, not the service's advice). Organisations that use private packages should wait for direct contact from the service.

What happened (from the service's blog post)

The following is from the service's post dated November 24, 2026. Times are UTC.

  1. November 23, 18:16 to 18:29

    A third party sent 69 malicious requests to hex.pm, and six web servers were affected.
  2. November 23, 18:30 to 18:31

    All servers were replaced with a patched build that rejects such requests.
  3. November 23, 18:47 to 18:49

    A replacement cloud access key was created and the old one the affected servers used was deactivated.
  4. November 23, 20:21 to 23:26

    Most credentials were rotated. The service notified Sweden's data protection authority (IMY) at 22:58, the US CISA at 23:05, and the EU's ENISA at 23:26.
  5. November 24

    Remaining credentials were rotated, including the database password. The vulnerability, CVE-2026-129514, was published at 13:48.
6
Web servers on which commands were run (the service)
About 20 minutes
From the first request to blocking and a patched build (the service)
Not found
Package tampering, unauthorized database changes, persistent access (the service)
Key points (the service's blog post)
Cause (the service's description)
A flaw in how request bodies were decoded let an unauthenticated third party run operating system commands on the servers. The service says a safety check was removed in a change of February 23, 2016
Possibly read (the service)
Email addresses, password hashes (bcrypt), API key hashes, two-factor secrets, sessions, audit logs. Database reads are not logged, so this cannot be ruled out
Not found (the service)
Package tampering, unauthorized database changes, persistent access. It listed running processes on the affected servers and found no shells
Response (the service)
Storage, CDN, email and database credentials and the keys that sign sessions and access tokens were replaced, logging everyone out. A new registry signing system is being built
Notified (the service)
IMY, CISA and ENISA

The rating in the CVE record

The CVE record for CVE-2026-129514, published November 24, includes a CVSS v4.0 base score of 10.0 (Critical) and a statement that the flaw was actively exploited against the service on November 23. See What CVSS is for what the score means.

What is known and what is not

As of November 26, 2026. We will update the status column when more is published.

ItemContentStatus
Commands run on six web servers through a vulnerabilityNovember 23 (UTC)Confirmed (the service)
Emails, password hashes, API key hashes, two-factor secrets, sessions, audit logsMay have been read; reads are not loggedPossible (the service)
Private packages and private documentationCannot be fully ruled out; private documentation reads are not loggedPossible (the service)
Package tamperingEvery file written to storage checked against the database; nothing unexpectedNot confirmed (the service)
Unauthorized database changes, persistent accessNo evidenceNot confirmed (the service)
Credential rotation and logout of all usersDone, except the registry signing key and a few low-impact secretsConfirmed (the service)
Notification of authoritiesIMY, CISA, ENISAConfirmed (the service)
New Hex clientsExpected in the coming daysUnder investigation

What can happen when authentication data may have been read

This is general, not a statement about this case. If email addresses and password hashes were read, weak passwords can sometimes be guessed from hashes, and reused passwords put other services at risk. If two-factor secrets were read, a third party might be able to produce valid second-factor codes. That is why the service puts both resets first. For a package registry, the signing keys and distribution system are the base of trust, so the service's rebuilding of its registry signing system also matters.

This site's view

This is the type where a vulnerability is exploited in the web servers of a distribution service itself. The nearest cases on this site are ones where the contents distributed were altered, such as the TanStack, Nx Console and GitHub chain of compromises, and the distribution-path problems covered in defending against npm supply chain worms. What differs is how the service shows that distributed packages were not altered: it checked every file written to storage against its database, and says so.

The service blocked the traffic within about 20 minutes, notified three authorities the same day, and posted the next day. A one-day gap between attack and disclosure, with the cause and the scope of exposure stated in the post, gives readers what they need to pick a first step.

The order of today's steps follows from the items that may have been read. Hashed passwords and two-factor secrets can both be neutralised by resetting them, so they come first. Fetching only from the official source is a safeguard for the gap until the new signing system and Hex clients arrive, and the service explains why.

Sources (public record)

The facts in this article come from the public information below. Attack step details are not covered.

  • Hex.pm, official blog, "Security incident on hex.pm" (official; November 24, 2026; checked November 26) — hex.pm
  • CVE record for CVE-2026-129514 (official record; published November 24, 2026; CVSS v4.0 base score 10.0) — cveawg.mitre.org

Update history

2026-11-26: First version. Based on the service's blog post of November 24 and the official CVE record. The service says reads of private packages cannot be fully ruled out. We will update when more is published.

Latest breaking reports

All breaking reports →

FAQ

QWhat happened at Hex.pm?
A

According to the service's blog post of November 24, 2026, a third party exploited a vulnerability (CVE-2026-129514) on November 23 (UTC) and ran commands on six web servers. The service says it blocked the traffic and deployed a fix within about 20 minutes.

QWere packages tampered with?
A

The service says it checked every file written to package storage during the incident against its database and found nothing unexpected. It says the 23 releases published during the incident match its audit logs and that package file checksums match the database.

QWhat data may have been read?
A

The service says it cannot rule out that the database was read, which could include email addresses, password hashes, API key hashes, two-factor secrets, sessions and audit logs. Database reads are not logged.

QShould I change my password?
A

Yes. The service advises changing your hex.pm password, resetting two-factor authentication from the security page by choosing to set up a new app, and storing the new recovery codes. Change any other password you reused.

QDo I need to rotate my API keys?
A

The service says API keys are stored as hashes of 128-bit random values and that it judged rotation unnecessary. Follow the service's own guidance.

QWhat if I get an email claiming to be from Hex?
A

Do not open the link until you have checked yourself that it goes to hex.pm. The service says to forward suspicious messages to its security contact.