Attackers exploited Hex.pm RCE on six registry servers
Original title: Hackers Exploited CVSS 10.0 Hex.pm RCE Flaw to Compromise 6 Package Registry Servers
CVE-2026-129514 allowed unauthenticated command execution; packages were unchanged, but data access was not ruled out.
An attacker ran operating system commands on six Hex.pm production servers on Monday using CVE-2026-129514, a CVSS 10.0 flaw in the registry’s Erlang request-body parser dating to February 23, 2016. Unauthenticated POST requests could reach the parser before routing and authentication. Maintainers patched every server within about 15 minutes of the first malicious request and found no changed packages. They logged everyone out, replaced session and token keys, and could not rule out reads of emails, password hashes, API key hashes, 2FA secrets, sessions or private packages.
Unconfirmed: Database access could not be ruled out, exploitation before Monday is unestablished, and the attacker is unknown.
- Load balancer logs showed 69 exploit requests from two addresses between 18:16 and 18:29 UTC.
- Every server was on the fix by 18:31 UTC; the decoder now rejects maps with a __struct__ key.
- API keys need not be replaced; passwords are bcrypt-hashed and should still be changed.
- The registry signing key was not replaced and may have been readable.
- Separate fixes: ash 3.38.0, db_connection 2.10.3, and flop 0.26.7, 0.27.3, 0.28.1 and 0.29.2.
Impact: Unauthenticated OS command execution; possible account and package data access
| Product | Affected | Fixed in |
|---|---|---|
| hex.pm | February 23, 2016 until Monday | — |
| ash | 3.31.3 up to, but not including, 3.38.0 | 3.38.0 |
| db_connection | 1.1.0 up to, but not including, 2.10.3 | 2.10.3 |
| flop | From 0.8.0, each branch before its fixed version | 0.26.7, 0.27.3, 0.28.1, 0.29.2 |
- 1.Change hex.pm passwords, reset two-factor authentication, and store the new recovery codes.
- 2.Re-authenticate clients and fetch packages only from repo.hex.pm until the new client ships.
- 3.Upgrade ash to 3.38.0, db_connection to 2.10.3, and flop to a listed fixed version.
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-124283 | Unauthenticated RCE via keyset cursor in Ash before 3.38.0 | 8.9 | — | ||
| CVE-2026-129514 | Unauthenticated RCE via Erlang term parser in hexpm | 10.0 | — | PoC | |
| CVE-2026-130411 | Unsafe deserialization RCE in woylie flop pagination cursors | 9.2 | — | ||
| CVE-2026-133555 | Unsafe reflection in db_connection before 2.10.3 | 8.9 | — |
From the original article
5 min read at thehackernews.com
An attacker ran operating system commands on Monday on six production servers of Hex. pm, the package registry that Elixir and Erlang developers fetch their dependencies from. The flaw used in the attack had been in the registry's code since February 2016, and the team that maintains the service had every server on a patched build within about 15 minutes of the first malicious request.
thehackernews.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.