Critical Hex.pm Parser RCE Exploited Through Malicious Erlang Request Bodies
Active Exploitation · 16 sources · Updated 19h ago · First seen Nov 24, 2026

A critical unauthenticated remote code execution vulnerability in hexpm/hexpm’s Erlang request-body parser was actively exploited against hex.pm on November 23, 2026, according to the Erlang Ecosystem Foundation CNA advisory. Tracked as CVE-2026-129514 and GHSA-9pmm-hf4r-27pg, the flaw carries a CNA-assigned CVSS v4.0 score of 10.0. Crafted application/vnd.hex+erlang request bodies introduce attacker-controlled Elixir structs, triggering a chain through error reporting, protocol dispatch, and a database logging hook that executes operating system commands as the BEAM process user.
Successful exploitation could expose application secrets, including database access information, storage credentials, and the registry signing key; the advisory does not confirm theft of those secrets. Fix commit 379b0a29bcc95164249f38ad7d772a37a8ff9533 rejects decoded terms containing any map with a struct key and returns HTTP 400. Operators of affected deployments should prioritize applying the fix and investigate potential command execution and secret exposure. The flaw exemplifies MITRE’s CAPEC-586 object injection pattern, in which malicious serialized objects manipulate deserialization to enable code execution or other unauthorized actions.


