Skip to main content
Exploitation reportedNot in CISA KEV yetAwaiting NVD analysis

CVE-2026-129514

Unauthenticated remote code execution through struct values in Erlang term request bodies

Exploitation reported by one source. First attested on 2026-11-24 by GCVE · previdian.

  • Published2026-11-24
  • WeaknessCWE-502

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-11-2413:48CVE publishedCNA
  2. 2026-11-2414:01Listed as exploited by GCVEGCVE
  3. 2026-11-2414:01Exploitation first reportedGCVE
  4. 2026-11-2414:18CVE publishedNVD
  5. 2026-11-2511:03First public proof of conceptPoC-in-GitHub

Versions per branch

Products declared by the CNA

As EEF, the CNA that assigned this CVE, declared them in the CVE record; versions as written. NVD lists no product for this CVE yet: this is the only product data so far.

  • hexpmother versions: not affected

    package hex.pmhttps://hex.pm

    Affected
    • ≥ 2016-02-23, < 2026-11-23fixed in 2026-11-23date
  • hexpmother versions: not affected

    package hexpm/hexpmhttps://github.com

    Affected
    • ≥ ab1bbcef7cc8395d1056d3b1aa6a174353492d59, < 379b0a29bcc95164249f38ad7d772a37a8ff9533fixed in 379b0a29bcc95164249f38ad7d772a37a8ff9533git

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-24

Neither OSV.dev nor the vendor advisories we read list affected versions for CVE-2026-129514 yet.

Full record on NVD

Fix

No fix published by the sources we read yet. NVD record

Detection

read 2026-11-25 11:04 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-11-25
  • GCVEexploitation2026-11-24
  • CNACVSS 4.0102026-11-24
  • CNAweakness (CWE)CWE-5022026-11-24
  • FIRST EPSSEPSS score3.2 %2026-11-28
  • PoC-in-GitHubproof of concept1known since 2026-11-25

Identifiers

Technical details

CVSS 4.0 vector
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
Published
2026-11-24
Last modified
2026-11-24
NVD status
Awaiting Analysis

Frequently asked questions

What is CVE-2026-129514?

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.

Is CVE-2026-129514 actively exploited?

Active exploitation of CVE-2026-129514 has not been confirmed. Its EPSS score was 3.2% on 2026-11-28, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-129514?

A CVSS score has not been assigned to CVE-2026-129514 yet.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record