# Hex.pm Breach Exploits CVSS 10.0 Flaw: Reset Your Password and 2FA

- URL: https://usa-24.com/hex-pm-security-incident-reset-guide/
- Publisher: USA 24
- Section: Cybersecurity
- Published: 2026-11-26T13:01:38.526Z
- Updated: 2026-11-26T13:01:38.538Z
- Topics: Supply Chain Security, Package Registries, Elixir, Vulnerability Management, Password Reset

> Attackers ran commands on six hex.pm servers through a CVSS 10.0 flaw. Hex found no tampered packages, but account holders should reset passwords and 2FA.

## Key takeaways

- Attackers used CVE-2026-129514, a flaw with a CVSS v4.0 score of 10.0, to run operating system commands on six hex.pm production web servers on November 23, 2026.
- The flaw is an unauthenticated deserialization bug in hex.pm's request-body parser, and it has affected the service since February 23, 2016.
- Hex says malicious requests reached six servers between 18:16 and 18:29 UTC and that a fix was deployed within about 20 minutes.
- Hex says it found no evidence that packages were modified, but it cannot rule out reads of email addresses, password hashes and 2FA secrets.
- Account holders should change their hex.pm password, reset 2FA and fetch packages only from repo.hex.pm until the new client ships.

## What happened in the hex.pm security incident

The hex.pm security incident began on Monday, November 23, 2026, when attackers used a single flaw to run operating system commands on six production web servers, according to [Hex's own incident post](https://hex.pm/blog/security-incident-on-hexpm). The company disclosed the intrusion on Tuesday and now tells account holders to change their passwords and reset two-factor authentication. The vulnerability, tracked as CVE-2026-129514 and GHSA-9pmm-hf4r-27pg, carries a CNA-assigned CVSS v4.0 score of 10.0, the top of the scale.

Hex.pm is the package registry for Elixir and Erlang developers. It hosts more than 27,000 packages and has served over 16 billion downloads, according to its homepage. Teams that build with Elixir, Erlang or Gleam fetch dependencies from it during routine builds, so a breach of the registry server reaches well beyond one company's code.

The attack window was short. Hex says malicious requests reached six hosted web servers between 18:16 and 18:29 UTC, and it blocked the activity and deployed a fix within about 20 minutes, as [the Hex team's Elixir Forum post](https://forum.elixirforum.com/t/hex-pm-security-incident/77503) describes. Some reports put the patch at 15 to 20 minutes after the first malicious request, so the exact figure depends on the source.

The attacker appears to have been working well before that. Hex's reporting, as [CyberKendra summarizes it](https://www.cyberkendra.com/2026/11/hex-pm-breach-cve-2026-129514.html), points to activity since November 19 that suggests the attacker built a local copy of hex.pm to test against. That was possible because the hexpm server code is open source. Hex has not said who the attacker is or what they wanted.

| Date | What happened |
|---|---|
| Feb. 23, 2016 | Affected range begins for hex.pm |
| Nov. 19, 2026 | Earliest attacker activity Hex has described |
| Nov. 23, 2026, 18:16–18:29 UTC | Malicious requests reach six web servers |
| Nov. 23, 2026 | Fix deployed, about 20 minutes after the first malicious request |
| Nov. 24, 2026, 13:48 | Hex publishes its disclosure |

## How the flaw reached the request parser

The bug is an unauthenticated deserialization flaw in the request-body parser. Unauthenticated POST requests could reach that parser before routing and authentication ran, so an attacker did not need an account or a valid session, [according to ZeroHour's summary](https://zerohour.day/item/916629091cfddbe48c7acf6f31c87aab6c816739).

Hex places the fault in its own code. The team says the service decoded unauthenticated request bodies in Erlang term format. That format blocks most harmful terms, but it lets struct values through, and the attacker used that gap.

The exposure lasted more than a decade. According to [SOCRadar's analysis](https://socradar.io/blog/hex-pm-rce-cve-2026-129514-exploited/), the service has been affected since February 23, 2016, until the fix deployed on November 23, 2026. Most dependency audits examine the packages a project pulls in, not the server that serves them, so a bug like this can sit unnoticed for years. Registry operators need the same scrutiny they give the packages they host.

## Which data may be exposed

Hex says the potentially exposed information includes email addresses, password and API-key hashes, two-factor authentication secrets, sessions and audit logs, as [hn.today's summary of the disclosure](https://hn.today/s/security-incident-on-hex-pm) reports. Hashes are not plaintext passwords, but a leaked 2FA secret can weaken one of the main defenses on an account. That is why the company is asking for resets.

Hex also rotated the credentials the affected servers could reach. That covered storage, CDN, email and database credentials. The company rotated session and access-token signing keys as well, which logged users out.

The package picture is better but not settled. The Hex team's Elixir Forum post says, "We found no evidence that packages were modified," and the same post says the team cannot rule out database reads. [The Cloud Security Alliance's research note](https://labs.cloudsecurityalliance.org/research/csa-research-note-hexpm-registry-server-compromise-20261125/) says Hex cannot rule out reads of email addresses, password hashes, 2FA secrets and private packages. Hex has not published the number of affected accounts.

## What to do if you have a hex.pm account

Not every developer needs to act. Developers who only fetch public packages and never created an account have nothing to reset, according to one of the report's authors. Hex's guidance says the same for users who run dependency fetches without an account. If you do hold an account, work through these steps:

1. Change your hex.pm password in the dashboard security section.
2. Reset two-factor authentication by creating a new authenticator entry, then save the new recovery codes.
3. Log back in to your Hex client with `mix hex.user auth` or `rebar3 hex user auth`.
4. Fetch packages only from repo.hex.pm, and avoid third-party mirrors until the new client ships.
5. Check that any Hex email links point to hex.pm, and treat unsolicited reset links as suspicious.

Step five matters because breaches like this invite phishing. [GBHackers](https://gbhackers.com/hackers-exploit-critical-hex-pm-vulnerability/) advises developers to open Hex directly rather than follow account-reset links from unsolicited messages, a precaution it ties to earlier phishing campaigns against npm maintainers.

If you signed up through GitHub, one report says you should still complete the client login and package-fetch steps, and reset 2FA if you set it up. Password managers help with the reset itself. Our [1Password breach coverage](https://usa-24.com/1password-data-breach-customer-emails/) shows why exposed contact data and exposed secrets call for different responses.

API keys are the one area where the guidance is less demanding. Hex says they do not need rotation because they are stored as hashes of random 128-bit values, according to [Brandefense](https://brandefense.io/security-news/hexpm-security-incident/). Some organizations may still rotate CI publishing keys for extra assurance. For a pipeline that holds a publish token, rotating it is cheap insurance.

## Who else needs to patch

The flaw sits in hexpm server code, not in the Hex client, so updating your client does not close the hole. Organizations that run their own copy of the registry remain affected until they deploy the patched code, and that includes self-hosters running the hexpm web application, [as Khanlist reports](https://khanlist.com/story/hackers-exploited-cvss-100-hexpm-rce-flaw-to-compromise-6-c4aa0fb8).

Regulatory reporting is unsettled. [Mallory reports](https://mallory.ai/stories/01a20e1c-da02-717a-a139-f13cac0180c1) that Hex notified Sweden's data protection authority, IMY, reported the incident to CISA and sent an early warning to ENISA. Hex's own post does not confirm those filings, so treat them as unverified until the company or the agencies confirm them.

Federal tracking is also incomplete. [CISA added 10 entries to its Known Exploited Vulnerabilities catalog](https://www.cisa.gov/news-events/alerts/2026/11/25/cisa-adds-10-known-exploited-vulnerabilities-catalog) on November 25, based on evidence of active exploitation. The Hex flaw did not appear in the KEV entries reviewed for this story.

## What to watch next

Hex says a new client with registry signing support is expected "within days," but no date has been confirmed. Until that client ships, the advice to fetch only from the official registry stays in force. Teams that mirror packages should decide whether those mirrors can be trusted for now.

Several questions remain open: who the attacker is, whether private packages were read, whether CISA adds the CVE to its catalog, and whether the regulatory filings are confirmed. Hex's blog and the Elixir Forum thread will likely carry those updates first, so check them before assuming a reset is finished. Our [Barracuda coverage](https://usa-24.com/barracuda-cloud-breach-ai-vendor-key/) traced another breach to a forgotten AI vendor key, a reminder that credentials nobody remembers can outlive the people who issued them.

If the signing system ships on schedule, developers will be able to verify packages independently of the server that delivers them. That matters most for teams that never had a reason to question the registry until this week.

## Frequently asked questions

### Is my hex.pm account affected by the security incident?

Hex says the incident affects people who hold a hex.pm account, and developers who only fetch public packages without an account have nothing to reset. Potentially exposed data includes email addresses, password and API-key hashes, 2FA secrets, sessions and audit logs. The number of affected accounts has not been published, so resetting your password and 2FA is the safe move.

### What is CVE-2026-129514?

CVE-2026-129514 is the flaw attackers used to run operating system commands on six hex.pm production web servers on November 23, 2026. It is an unauthenticated deserialization bug in the request-body parser, and it carries a CNA-assigned CVSS v4.0 score of 10.0. The affected range runs from February 23, 2016, until the fix deployed on November 23, 2026.

### Do I need to rotate my hex.pm API keys?

Hex says API keys do not need rotation because they are stored as hashes of random 128-bit values. Some organizations may still choose to rotate CI publishing keys for extra assurance. Teams that keep publish tokens in automated pipelines can treat rotation as a low-cost precaution.

### Did attackers change any packages on hex.pm?

Hex says it found no evidence that packages were modified. The team also says it cannot rule out database reads, so the company has not declared the data itself safe. Developers should still fetch packages only from repo.hex.pm until the new signing client is available.

## Sources

1. [Security incident on hex.pm](https://hex.pm/blog/security-incident-on-hexpm)
2. [Hex.pm - Security incident — Elixir Programming Language Forum](https://forum.elixirforum.com/t/hex-pm-security-incident/77503)
3. [Hex.pm Security Incident: Account Actions — Brandefense](https://brandefense.io/security-news/hexpm-security-incident/)
4. [Hex.pm Registry Server Compromise: When the Registry Is the Target — Cloud Security Alliance](https://labs.cloudsecurityalliance.org/research/csa-research-note-hexpm-registry-server-compromise-20261125/)
5. [Hackers Exploit Critical Hex.pm Vulnerability to Execute Malicious Commands on Servers — GBHackers](https://gbhackers.com/hackers-exploit-critical-hex-pm-vulnerability/)
6. [Security Incident on Hex.pm — hn.today](https://hn.today/s/security-incident-on-hex-pm)
7. [Hex.pm RCE (CVE-2026-129514) Exploited in Server Attack — SOCRadar](https://socradar.io/blog/hex-pm-rce-cve-2026-129514-exploited/)
8. [Critical Hex.pm Parser RCE Exploited Through Malicious Erlang Request Bodies — Mallory](https://mallory.ai/stories/01a20e1c-da02-717a-a139-f13cac0180c1)
9. [Hackers Exploited CVSS 10.0 Hex.pm RCE Flaw to Compromise 6 Package Registry Servers — Khanlist](https://khanlist.com/story/hackers-exploited-cvss-100-hexpm-rce-flaw-to-compromise-6-c4aa0fb8)
10. [Hex.pm Breach: CVE-2026-129514 Exploited, Reset Your 2FA — CyberKendra](https://www.cyberkendra.com/2026/11/hex-pm-breach-cve-2026-129514.html)
11. [Attackers exploited Hex.pm RCE on six registry servers — ZeroHour](https://zerohour.day/item/916629091cfddbe48c7acf6f31c87aab6c816739)
12. [CISA Adds 10 Known Exploited Vulnerabilities to Catalog — CISA](https://www.cisa.gov/news-events/alerts/2026/11/25/cisa-adds-10-known-exploited-vulnerabilities-catalog)
