Call 800-929-5586
Let's connect
Security alertUpdated Nov 30 · Trending · Not confirmed · Actively exploited

Hex.pm package registry remote command execution (CVE-2026-129514)

Posted Nov 30, 2026, 3:33 PM PSTLast checked by BIS Nov 30, 7:39 PM PST2 updates

Trending · Not confirmed yet. CISA and Hex.pm (Erlang Ecosystem Foundation) have not confirmed this yet. This is based on reports from thehackernews.com, socradar.io, labs.cloudsecurityalliance.org, cyberkendra.com. BIS is watching it and will update this page as soon as official information is published.

Hex.pm is where developers download building blocks (called packages or dependencies) for Elixir, Erlang and Gleam software. The registry's code accepted specially crafted requests from anyone, without logging in. Those requests could be chained together to run operating system commands on the server. Hex.pm says the code had this weakness since February 2016. An attacker used it on November 23, 2026, and the team had patched every server by 18:31 UTC. Hex.pm says it found no evidence that packages or database records were changed and no sign the attacker stayed on the servers. The attacker could, however, have read the servers' secret settings. Hex.pm replaced the database, storage, CDN, email and session/token keys, which logged everyone out. It says it has not yet replaced the key that digitally signs the registry's data, and that this has to wait for a new Hex client release. The vendor says that release is due in the coming days, with no date given. Hex.pm does not log database reads, so it cannot rule out that email addresses, password hashes, API key hashes, two-factor secrets or sessions were viewed. Users are asked to change passwords and reset two-factor authentication.

Hex.pm is the public package registry for the Elixir, Erlang and Gleam programming languages. On November 23, 2026, an attacker used a maximum-severity flaw to run commands on six of its servers. The Hex.pm team fixed the flaw within about 15 minutes. They report no sign that any package was changed, but they could not rule out that some account data was read.

Download this brief (PDF) · Nov 30, 2026, 7:40 PM PT

Earlier briefs (PDF)

Who is affected

  • The hex.pm service itself, from February 23, 2016 until the fix was deployed on November 23, 2026. Hex.pm runs and has already patched this service.
  • Anyone who runs their own copy of the hexpm registry server software, until they apply the fix.
  • Hex.pm account holders, whose account data could not be ruled out as exposed.
  • The flaw is in the registry server, not in the Hex client tool on developers' computers.

Is it being exploited?

Hex.pm's own incident report says an unauthorized third party ran commands on its web servers on November 23, 2026. The CVE record published by the Erlang Ecosystem Foundation (the CVE numbering authority for this ecosystem) also states that the flaw was actively exploited against hex.pm that day. Press coverage reports 69 exploit requests from two addresses between 18:16 and 18:29 UTC. As of Nov 25, one security firm reported the flaw was not in CISA's Known Exploited Vulnerabilities list, and I did not find or open a CISA listing myself.

What you should do now

Home users

  • Most home users do not use Hex.pm and need to do nothing.
  • If you have a Hex.pm account, change your password at hex.pm and reset your two-factor authentication (hex.pm/dashboard/security, under Authenticator App, choose Setup New App and save the new recovery codes). Do the same on any other site where you reused that password.
  • Watch for phishing emails that claim to be from Hex.pm. Check that links in emails lead to hex.pm.

Businesses

  • If your developers use Elixir, Erlang or Gleam, tell them about this incident. Ask them to change Hex.pm passwords and reset two-factor authentication. Hex.pm says API keys do not need to be replaced, because the stored key hashes cannot realistically be reversed. Your team may still choose to review them.
  • Everyone was logged out of hex.pm and Hex clients. Developers must sign in again with `mix hex.user auth` (or `rebar3 hex user auth`).
  • Until a new Hex client is released, fetch packages only from repo.hex.pm and avoid third-party mirrors. Hex.pm and The Hacker News give this advice.
  • Check your build and deployment logs for unexpected dependency changes around and after November 23, 2026. Hex.pm says it found none, but a check on your side is cheap.
  • If you run your own hexpm registry server, update it to the fixed code (commit 379b0a29bcc95164249f38ad7d772a37a8ff9533, as listed in the CVE record). Then replace the database, storage and signing credentials it holds.
  • Watch the Hex.pm blog for the signing-key replacement and the new Hex client. Update the client when it is released. Third-party coverage says `mix local.hex --force` does this, and rebar3 and Gleam may also need updating.

How to check if you're affected

  • Hex.pm accounts: sign in to hex.pm and look at your account's security settings and API keys.
  • Hex client version: run `mix hex.info` in a terminal and note the Hex version. Then compare it with the Hex.pm blog announcements.
  • Self-hosted registry: check which commit your hexpm deployment was built from. It must include the fix commit that makes the decoder reject maps with a __struct__ key.

Fixed versions and workarounds

  • hex.pm hosted service: Fixed on all servers by 18:31 UTC on November 23, 2026
  • hexpm server (self-hosted): Code at or after commit 379b0a29bcc95164249f38ad7d772a37a8ff9533 (the CVE record lists this as the fix). No release version number was confirmed.

Until you can update:

  • Fetch packages only from repo.hex.pm and avoid third-party mirrors until the new client ships.

About this advisory

Researched with AI help from public sources and checked against the official advisories listed with this alert. Details can change; follow your vendor's guidance.

Security news feeds we follow

Get every BIS alert in your news reader: Technology Alerts RSS. Follow the same sources we watch: download all of them as one file (OPML) and import it into any feed reader.

Questions? Contact BIS Computer Solutions, Inc.

5500 Alta Canyada Rd., La Canada, CA 91011 USA · Phone: +1-818-248-5023 · Fax: +1-818-249-1169 · Email: support@biscomputer.com · Web: www.biscomputer.com

What you need to do

If your developers use Elixir, Erlang or Gleam, tell them about this incident. Ask them to change Hex.pm passwords and reset two-factor authentication. Hex.pm says API keys do not need to be replaced, because the stored key hashes cannot realistically be reversed. Your team may still choose to review them.

Is this a hack?

Yes, confirmed Hex.pm's own incident report says an unauthorized third party ran commands on its web servers on November 23, 2026. The CVE record published by the Erlang Ecosystem Foundation (the CVE numbering authority for this ecosystem) also states that the flaw was actively exploited against hex.pm that day. Press coverage reports 69 exploit requests from two addresses between 18:16 and 18:29 UTC. As of Nov 25, one security firm reported the flaw was not in CISA's Known Exploited Vulnerabilities list, and I did not find or open a CISA listing myself.

When BIS marks this brief Resolved, it moves to Recently resolved on the Alerts page.

← All alerts

Tell us what you need. We will show you how BIS fits.

Get started