---
title: Hex.pm, the Elixir/Erlang package registry, says an attacker ran commands on six web servers via CVE-2026-129514; no package tampering found, account data exposure can't be ruled out | ctxsec
url: https://ctxsec.com/items/hex-pm-breach-cve-2026-129514-erlang-term-struct-rce-six-servers-nov-23-all-users-logged-out
description: "On Nov 23 (18:16 to 18:29 UTC) an attacker sent 69 malicious requests abusing unauthenticated Erlang-term request body decoding that let crafted structs chain into RCE. hex.pm blocked the traffic and shipped a patched build within about 15 minutes, rotated credentials, logged out every user, and reported the incident to IMY, CISA and ENISA."
status: "official (hex.pm blog)"
published: 2026-11-25
---

> On Nov 23 (18:16 to 18:29 UTC) an attacker sent 69 malicious requests abusing unauthenticated Erlang-term request body decoding that let crafted structs chain into RCE. hex.pm blocked the traffic and shipped a patched build within about 15 minutes, rotated credentials, logged out every user, and reported the incident to IMY, CISA and ENISA.

[← Cybersecurity News](/news) · [markdown](/items/hex-pm-breach-cve-2026-129514-erlang-term-struct-rce-six-servers-nov-23-all-users-logged-out.md)

official (hex.pm blog)

2026-11-25 2:50 PM ET

### Hex.pm, the Elixir/Erlang package registry, says an attacker ran commands on six web servers via CVE-2026-129514; no package tampering found, account data exposure can't be ruled out

The flaw (CVSS 10.0) traces to a safety check removed in February 2016. Plug.Crypto.non_executable_binary_to_term/2 blocked most harmful terms but let struct values through, and error reporting then inspected them. Every credential the attacker could have read has been rotated except the registry signing key and a few low-impact secrets; a Hex client with a new registry signing system is due in days. Until then the team says to fetch only from repo.hex.pm, not mirrors. A security report describing the same bug arrived about 40 minutes after the attack began.

Sources: [hex.pm: Security incident on hex.pm (Nov 24, 2026)](https://hex.pm/blog/security-incident-on-hexpm) · [The Hacker News (Nov 25, 2026)](https://thehackernews.com/2026/11/hackers-exploited-cvss-100-hexpm-rce.html)
