Skip to content
FrameFrame home
PlatformBreach CheckFrame agentExtensionPrivacyBusinessPricing
Sign inSample report
FrameFrame home

Your digital life. Back in your hands.

100% Canadian-owned · Support: support@frameprivacy.com

Product

  • Platform
  • Sample report
  • Breach Check
  • Frame agent
  • Extension
  • Mobile app
  • Pricing
  • Frame Business
  • Changelog

Resources

  • Blog
  • Help centre
  • Free leak test
  • Status
  • Data-broker catalog
  • RSS feed

Company

  • About
  • Our privacy promise
  • Contact
  • Press and brand

Legal

  • Legal hub
  • Privacy Policy
  • Terms
  • Security
  • Cookies
  • Accessibility

© 2026 Frame Labs Inc. All rights reserved.

en Englishfr Français
Your Privacy ChoicesSystem status

All posts

Breach · 4 min read

Hex.pm breach: an attacker ran commands on the Elixir package registry’s servers

A flaw dating back to 2016 let an attacker run commands on six hex.pm servers. No packages were changed, but account data such as emails, password hashes and 2FA secrets may have been read.

BBy Brody · FramePublished November 25, 2026
The Hex logo on a light panel beside a purple panel with soft arcs.

Hex.pm, the package registry that Elixir, Erlang and Gleam developers download their dependencies from, says an attacker exploited a flaw in its web application on November 23, 2026 and ran commands on six of its web servers. The team says it found no sign that any package was changed, but because database reads aren’t logged, it can’t rule out that the attacker read account data. Every hex.pm user has been logged out.

What happened

In its incident report, published November 24 by Peter Ullrich, Jonatan Männchen and Eric Meadows-Jönsson, the team gives a minute-by-minute timeline (times in UTC):

  • 18:16 to 18:29: the attacker sent 69 malicious requests. Six web servers were affected.
  • 18:27: a firewall rule to block the attacker was added, taking full effect by 18:33.
  • 18:30 to 18:31: every hex.pm server was replaced with a patched build.
  • 18:49: the AWS access key used by the affected servers was deactivated.
  • 19:07: a separate security report describing the same flaw arrived by email, after the attack had ended.
  • 22:58 to 23:26: the team reported a personal data breach to Sweden’s data protection authority (IMY), and reported the incident to CISA in the U.S. and ENISA in the EU.
  • By 10:42 on November 24: every credential the attacker could have read had been rotated, except the registry signing key and a few low-impact secrets.

The Hacker News reports that activity from the same two addresses going back to the previous week suggests the attacker had built a local copy of hex.pm to test against. Who is behind it is unknown.

How it worked

The flaw, CVE-2026-129514, scored the maximum 10.0. Hex.pm decoded unauthenticated request bodies sent in Erlang’s binary term format before routing and login checks, using a “safe” decoder that blocked most dangerous values but let fake Elixir structs through. The team explains how those structs were chained: an error was raised, the error reporting code inspected the attacker’s struct, and that inspection passed through code in the Ecto and DBConnection libraries until the server called a function the attacker chose, which ran operating system commands. The GitHub advisory lists hex.pm as affected from February 23, 2016, when a safety check was removed, until the fix. Exploitation before November 23 hasn’t been established.

What may have been read

The team compared every database table against a copy taken two minutes before the attack and traced every difference to normal activity. The 23 releases published during the attack match the audit log, no older release was changed, and package files match the database. It found no leftover shells and no new accounts or cloud keys.

But the database holds email addresses, password hashes, API key hashes, two-factor authentication secrets, sessions and audit logs, and private packages could also have been read without a trace. The team says API keys don’t need replacing: they’re random 128-bit values stored only as HMAC-SHA256 hashes. Passwords are hashed with bcrypt, which slows guessing but doesn’t stop it for weak passwords.

What you can do

If you have a hex.pm account, the team asks you to:

  1. Change your hex.pm password, and anywhere else you reused it.
  2. Reset two-factor authentication at hex.pm/dashboard/security: under “Authenticator App,” choose “Setup New App,” verify a code from the new entry and save the new recovery codes.
  3. Update your Hex client when the release with the new registry signing system ships in the coming days (mix local.hex --force, and update rebar3 or Gleam if you use them). Until then, fetch packages only from repo.hex.pm, not mirrors.
  4. Watch for phishing. Check that links in any email about Hex go to hex.pm, and forward suspicious ones to security@hex.pm.

If you only fetch public packages and never created an account, you have nothing to reset, according to a maintainer clarification on the Elixir Forum. If you run your own copy of the registry, deploy the patch.

How Frame helps

Frame can also look up your verified emails in Have I Been Pwned’s breach database. If hex.pm account data turns up and is indexed there, it will show alongside any other breaches involving your address.

Related coverage

  • Two fake releases of Microsoft’s Agent Framework on PyPI stole cloud credentials for about an hour: another package registry incident this month, where the risk was poisoned packages rather than account data.
  • Researchers planted fake keys in public container images. Bots used the first one in 8 seconds: why fast credential rotation, like Hex.pm’s, matters.

Sources

  • Hex.pm, Security incident on hex.pm, November 24, 2026
  • Hex.pm on GitHub, Security advisory GHSA-9pmm-hf4r-27pg (CVE-2026-129514), November 2026
  • Elixir Forum, Hex.pm: Security incident, November 2026
  • The Hacker News, Hackers Exploited CVSS 10.0 Hex.pm RCE Flaw to Compromise 6 Package Registry Servers, November 25, 2026
  • Breaches
  • Guides
More in Breaches

More stories

  • BreachAFP takes its AFP Forum content platform offline after an overnight cyberattackNovember 27, 2026 · 3 min read
  • BreachUK benefits and pensions services go offline after a “cyber incident” at the DWPNovember 27, 2026 · 3 min read
  • BreachFlight Centre says a “significant number” of customer records were accessed in a hotel booking system breachNovember 27, 2026 · 4 min read

New posts, by email.

About once a month. Plain-language privacy notes, nothing else. I never share your address.

Sent by Frame · privacy@frameprivacy.com · Privacy Policy

See what’s exposed about you.

Frame is in private beta. See what it finds, and how it helps you take it down, in a sample report built from made-up data.

See a sample exposure report
FrameFrame home
PlatformBreach CheckFrame agentExtensionPrivacyBusinessPricing
Sign inSample report

See what’s exposed about you.

Frame is in private beta. See what it finds, and how it helps you take it down, in a sample report built from made-up data.

See a sample exposure report