Skip to main content
LupoSec
← All posts
Security advisory 25 November 2026

CVE-2026-129514: hexpm body parser flaw enables unauthenticated RCE

CVE-2026-129514: hexpm body parser flaw enables unauthenticated RCE. Redeploy hexpm from revision with 379b0a2. Keep internal registries off public internet. Fail CI on mix.lock hash mismatches
CVSS
10.0 critical

CVE-2026-129514 in hexpm (the hex.pm package registry for Erlang/Elixir): unauthenticated remote code execution, CVSS 4.0 score 10.0.

The application/vnd.hex+erlang body parser decodes untrusted Erlang term data and sits in the endpoint ahead of routing and auth. Any POST reaches it, and a crafted body can lead to OS command execution on the server.

The hex.pm service was affected from 2016-02-23 until 2026-11-23. Self-hosted hexpm/hexpm is affected from commit ab1bbce until commit 379b0a2.

What Elixir platform teams should do today:

  • If you run your own hexpm, rebuild and redeploy from a revision that includes 379b0a2
  • Keep internal registries off the public internet; front them with network policy or a private endpoint
  • Make sure CI fails on mix.lock hash mismatches instead of silently resolving
  • Review the hex.pm advisory for any follow-up guidance for consumers

Registries are production infrastructure, not a side service. Need hands-on help hardening build and registry paths on Kubernetes or Terraform-managed cloud? Our engineers embed with your team: luposec.io.

https://nvd.nist.gov/vuln/detail/CVE-2026-129514

Want help with this?

Our engineers do this work every day, as embedded professional services or as a turn-key project.

Start a conversation →