home / blog
2026-11-24 · critical
CVE-2026-129514: Critical hexpm vulnerability
CVE-2026-129514: unsafe deserialization in hexpm allows remote command execution. CVSS 10.0. Patch available.

CVE-2026-129514 is a Deserialization of Untrusted Data vulnerability in the application/vnd.hex+erlang request body parser in hexpm. The vulnerability allows an unauthenticated remote attacker to execute operating system commands via a crafted Erlang external term format request body. The issue is in the HexpmWeb.ErlangFormat.decode/1 function which decodes the request body without sufficient security checks.
The vulnerability has a CVSS score of 10.0, classifying it as critical. It was actively exploited against the hex.pm service on 2026-11-23, the day before its official publication in the NVD. There are GitHub repositories that claim to contain exploits for this vulnerability, though they are not fully publicly accessible. The severity is increased by the fact that the parser runs before routing and authentication, making any POST endpoint potentially vulnerable.
Immediate defense involves applying the patch by updating hexpm/hexpm to version 379b0a29bcc95164249f38ad7d772a37a8ff9533 or later. Organizations using hexpm should carefully monitor their logs for exploitation attempts and implement additional controls on incoming data. It's also recommended to restrict access to POST endpoints until the patch is applied and to check for any anomalous activity in applications that depend on libraries managed through hexpm.
At a glance
- What
- Deserialization of Untrusted Data vulnerability in the application/vnd.hex+erlang request body parser in hexpm
- Severity
- Critical (CVSS 10.0)
- Affected versions
- hexpm/hexpm: from ab1bbcef7cc8395d1056d3b1aa6a174353492d59 before 379b0a29bcc95164249f38ad7d772a37a8ff9533
- Fix
- Update to hexpm/hexpm version 379b0a29bcc95164249f38ad7d772a37a8ff9533 or later
- Status
- Actively exploited in the wild on 2026-11-23. Published in NVD on 2026-11-24
- Action
- Apply patch immediately, check for suspicious activity, monitor for public exploits
Sources: NVD, CVE-2026-129514