PT-2026-158022

CVE-2026-129514

·

Published

2026-11-24

·

Updated

2026-11-24

Description by

CVSS 4.0
10
Critical
MetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:A/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Name of the Vulnerable Software and Affected Versions hexpm versions from ab1bbcef7cc8395d1056d3b1aa6a174353492d59 through 379b0a29bcc95164249f38ad7d772a37a8ff9533
Description An unauthenticated remote attacker can execute operating system commands and read application environment data, including database URLs, storage credentials, and registry signing keys. The issue occurs because the application/vnd.hex+erlang request body parser decodes data before routing and authentication. Specifically, the HexpmWeb.ErlangFormat.decode/1 function in lib/hexpm web/erlang format.ex uses Plug.Crypto.non executable binary to term/2, which accepts maps containing a struct key. By crafting a request body in Erlang external term format, an attacker can trigger a chain through Ecto.Query.DynamicExpr and DBConnection.Stream that leads to an apply/3 call using a {module, function, args} tuple provided in the request. This flaw was actively exploited against the hex.pm service on 2026-11-23, resulting in a breach where emails, password/API key hashes, and 2FA secrets may have been accessed.
Recommendations Update hexpm to commit 379b0a29bcc95164249f38ad7d772a37a8ff9533 or later.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾