CVE-2026-129514: fallo crítico en hexpm
Unauthenticated remote code execution through struct values in Erlang term request bodies
Publicada el · Actualizada el
Aviso por correo cuando entre en el KEV, tenga PoC pública o suba de nota.
70Vexday Risk Score
Prioriza la corrección. Ella explotación observada en la práctica y tiene prueba de concepto pública.
ssvc Actcvss 10epss 3.1%
de la publicación al armael mismo día
Publicada en NVD24 nov
1ª PoC24 nov
Explotación observada24 nov
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.
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
Productos afectados
hexpm · hexpmPoCs públicas encontradas — 1
githubgithub.com/hoarseprairie/CVE-2026-129514-Poc★ 0⚠ Recursos públicos, para evaluar la exposición de sistemas que controlas o estás autorizado a probar. Prueba solo con autorización.
CVEs relacionadas — hexpm
En el mismo producto, de las más peligrosas a las menos.
CVE-2026-23939MEDIUMPath Traversal in Local File Store BackendEPSS 0.6%CVE-2026-75542HIGHOAuth token exchange grants repository scopes for organizations the principal cannot accessEPSS 0.5%CVE-2026-23940HIGHDenial of Service via Oversized Package UploadEPSS 0.5%CVE-2026-21622CRITICALPassword Reset Tokens Do Not ExpireEPSS 0.5%CVE-2026-86698LOWRefresh tokens accepted as private repository credentials at the CDNEPSS 0.4%CVE-2026-21621HIGHImproper Scope Enforcement in OAuth client_credentials Flow Allows Read-Only API Key to Escalate to Full AccessEPSS 0.4%
Referencias
https://cna.erlef.org/cves/CVE-2026-129514.htmlhttps://github.com/hexpm/hexpm/commit/379b0a29bcc95164249f38ad7d772a37a8ff9533https://github.com/hexpm/hexpm/commit/ab1bbcef7cc8395d1056d3b1aa6a174353492d59https://github.com/hexpm/hexpm/security/advisories/GHSA-9pmm-hf4r-27pghttps://hex.pm/blog/security-incident-on-hexpmhttps://osv.dev/vulnerability/EEF-CVE-2026-129514