CVE-2026-129514
10.0CriticalPublished Nov 24, 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.1-flash-lite
Critical
0CVSS v4.010
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-502
What an attacker gets
Unauthenticated remote attackers can execute arbitrary OS commands by sending a crafted Erlang term format request. The parser runs before authentication, allowing exploitation via a POST request to any route.
Root cause
The application deserializes untrusted Erlang term format data using a function that allows struct instantiation, leading to a code execution chain via protocol dispatch.
Affected versions
- hex.pm service from 2016-02-23 to 2026-11-23
- hexpm/hexpm repository commits before 379b0a29bcc95164249f38ad7d772a37a8ff9533
CVSS v4.0 · CVSS:4.0/AV: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
Fix & remediation
Update the hexpm codebase to commit 379b0a29bcc95164249f38ad7d772a37a8ff9533 or later. If you cannot patch immediately, block requests with the application/vnd.hex+erlang content type at the load balancer or WAF.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
Deserialization of Untrusted Data vulnerability in the application/vnd.hex+erlang request body parser in hexpm hexpm allows an unauthenticated remote attacker to execute operating system commands via a crafted Erlang external term format request body. This vulnerability was actively exploited against the hex.pm service on 2026-11-23. HexpmWeb.ErlangFormat.decode/1 in lib/hexpm_web/erlang_format.ex decodes the body with Plug.Crypto.non_executable_binary_to_term/2, which accepts maps that have a __struct__ key. HexpmWeb.PlugParser.parse/5 returns the decoded term as the request params. The parser runs in the endpoint before routing and authentication, so a POST to any route reaches it. Elixir dispatches protocols on the __struct__ key, so the client selects which Inspect and Enumerable implementations run when error reporting inspects the params. A chain through Ecto.Query.DynamicExpr and DBConnection.Stream reaches an apply/3 call on a {module, function, args} tuple taken from the request body. This issue affects hex.pm: from 2016-02-23 before 2026-11-23; hexpm/hexpm: from ab1bbcef7cc8395d1056d3b1aa6a174353492d59 before 379b0a29bcc95164249f38ad7d772a37a8ff9533.
References
- https://cna.erlef.org/cves/CVE-2026-129514.html
- https://github.com/hexpm/hexpm/commit/379b0a29bcc95164249f38ad7d772a37a8ff9533
- https://github.com/hexpm/hexpm/commit/ab1bbcef7cc8395d1056d3b1aa6a174353492d59
- https://github.com/hexpm/hexpm/security/advisories/GHSA-9pmm-hf4r-27pg
- https://hex.pm/blog/security-incident-on-hexpm
- https://osv.dev/vulnerability/EEF-CVE-2026-129514
Related Critical CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1359339.8CriticalUnauthenticated attackers can escalate privileges to administrator. This allows full control over the WordPress site.
- CVE-2026-1359309.1CriticalUnauthenticated attackers can bypass authentication and impersonate any user, including administrators. This requires no user interaction or prior access.
- CVE-2026-1349639.9CriticalAuthenticated attackers can execute arbitrary code on the server. This requires an account with access to the plugin settings.
- CVE-2026-1061699.4CriticalAuthenticated attackers can achieve remote code execution by sending a crafted serialized Java object to the eventbus. This requires an existing account on the platform.
- CVE-2026-591039.8CriticalUnauthenticated attackers can hijack any user session, including administrators, to gain full read and write access to any company data. This is possible by sending a crafted JSON-RPC request to the Ping method over WebSocket.
- CVE-2026-1339419.3CriticalRemote attackers can execute arbitrary JavaScript in the browser of a logged-in admin. This requires a logged-in administrator to click a malicious link.