Security
Hex.pm, the Elixir and Erlang package registry, was exploited through a critical remote code execution flaw (CVE-2026-129514) before it was patched
Hex.pm says a CVSS 10.0 flaw was exploited on 23 November. No package changes were found.
- #Hex.pm
- #Elixir
- #Erlang
- #CVE-2026-129514
- #remote code execution
- #supply chain
- #package registry
- #plug_crypto
Hex.pm, the package registry for Elixir and Erlang, was exploited on 23 November through an unauthenticated remote code execution flaw, CVE-2026-129514, according to SOCRadar. The flaw has a CVSS 4.0 score of 10.0 and was patched the same day. Hex.pm says it found no modified packages, but cannot rule out access to some database data.
The essentials
- SOCRadar reports that the flaw is an unsafe deserialization in the parser of Erlang-term requests, reachable before routing and authentication.
- SOCRadar reports the first exploit request at 18:16 UTC on 23 November, with 69 malicious requests in 13 minutes and six web servers affected.
- SOCRadar reports that the Hex client installed on developers’ machines is not affected.
What was and was not found
Hex.pm reports no package modifications: the 23 releases published during the incident, 62 package files and 186 registry files match logs and checksums. Because database reads are not logged, access to email addresses, password hashes, API key hashes, 2FA secrets and sessions cannot be excluded.
What users should do
SOCRadar relays Hex’s advice: change the Hex password, reset 2FA, sign in again with mix hex.user auth, fetch packages only from repo.hex.pm and update Ash, db_connection and flop to patched versions.
What is not established
- Whether the registry signing key was actually exfiltrated: not stated in the sources; it was readable by the compromised process and not yet rotated on the morning of 24 November.
- Whether private packages or documentation were read: not stated in the sources.
- Who the attacker was: not stated in the sources.
Summary table
| Point | What is stated as of November 26, 2026 | Source |
|---|---|---|
| Flaw | CVE-2026-129514, CVSS 4.0 score 10.0 | SOCRadar |
| Exposure window | From 23 February 2016 to the fix on 23 November 2026 | SOCRadar |
| Package integrity | No modification found | SOCRadar |
FAQ
Were Hex.pm packages tampered with?
Hex.pm says it found no modified packages. It cannot exclude that some database data, such as email addresses or password hashes, was read, so it advises resetting credentials.
Sources
- SOCRadar: Hex.pm RCE (CVE-2026-129514) exploited (verified 2026-11-26)
Spotted an error in this article? Report it · Our corrections policy