As reported by SecurityAffairs, Hex.pm—the package registry serving the Elixir and Erlang ecosystems—disclosed a critical remote code execution vulnerability that had been lurking in production code since February 2016. The flaw, designated CVE-2026-129514 with a CVSS 10.0 severity rating, was actively exploited on November 23, 2026, when an unauthenticated attacker sent 69 crafted requests to execute commands on six Hex.pm web servers.

Security Impact: As reported by SecurityAffairs, Hex.pm—the package registry serving the Elixir and Erlang ecosystems—disclosed a critical remote code execution vulnerability that had been lurking in production code since February 2016.

Vulnerability Profile

FieldDetail
CVECVE-2026-129514
CVSS10.0 (Critical)
TypeUnauthenticated Remote Code Execution via unsafe Erlang term deserialization
Affected ProductHex.pm web infrastructure (package registry for Elixir/Erlang)
Root Cause AgeIntroduced February 2016 — latent for over 10 years
Active ExploitationYes — 69 malicious requests on Nov 23, 2026 (18:16–18:29 UTC)
Patch StatusFix deployed within 20 minutes of attack; new signing system in development
Related AdvisoryAsh keyset pagination RCE fixed in Ash 3.38.0

Why This Matters Beyond Hex.pm

This incident is a textbook case of how unsafe deserialization remains one of the most underestimated vulnerability classes in modern application security. Erlang's binary term format is powerful and convenient for distributed systems—but when it's accepted from unauthenticated external input without strict validation, it becomes an arbitrary code execution surface. The fact that this flaw survived a decade of operation, across presumably multiple code reviews and security audits, tells us something uncomfortable: assumptions about internal serialization formats being 'safe enough' are rarely revisited as infrastructure scales.

What elevates this beyond a single-registry incident is the supply chain dimension. Hex.pm is the canonical source for Elixir/Erlang packages. While Hex reports no evidence of package tampering, the inability to rule out data exfiltration—including password hashes, 2FA secrets, session data, and potentially private packages—creates a trust deficit that extends to every downstream consumer. The registry signing key replacement is still pending, which means until a new signing system ships, the integrity guarantees that users assume when pulling dependencies are operating on borrowed confidence.

The absence of database read logging is the detail that should concern defenders most. 'We found no evidence' is analytically honest but operationally incomplete when the telemetry to detect exfiltration simply doesn't exist.

Who Is Most at Risk

  • Elixir/Erlang development organizations relying on Hex.pm for dependency management — especially those using private packages that may have been exposed
  • CI/CD pipelines that authenticate to Hex.pm using API keys or session tokens stored in build environments
  • Organizations with developers who reuse Hex.pm passwords across other services — bcrypt slows guessing but doesn't prevent it for weak credentials
  • Projects using Ash framework versions prior to 3.38.0, which contains a related keyset pagination RCE/SQLi vulnerability

Shield53 Recommendations

Immediate Actions

Shield53 Recommendations
Reset all Hex.pm passwords immediately at hex.pm/dashboard/security and re-enroll 2FA with a new authenticator entry and fresh recovery codes
Audit for credential reuse — if any developer used the same password on Hex.pm and other platforms, rotate those credentials too. bcrypt with a weak password is crackable given sufficient time and compute
Review CI/CD secrets — while Hex considers 128-bit HMAC-SHA256 API key hashes safe against brute force, verify that no session tokens or other credentials were stored in build systems that authenticate against Hex.pm
Update Ash to 3.38.0 or later if your Elixir applications use the framework — the keyset pagination vulnerability is related and independently exploitable
Verify email links — Hex warns that phishing attempts may leverage this incident; confirm all links point to hex.pm before interacting

Strategic Actions

  • Inventory deserialization surfaces across your own stack — any endpoint that accepts Erlang term format, Java serialized objects, Python pickle, or similar binary serialization from untrusted input is a candidate for this class of vulnerability. Apply allowlisting or switch to safe, schema-validated formats
  • Implement database read logging — Hex's inability to determine whether data was exfiltrated is a gap many organizations share. Ensure sensitive data stores have query logging or anomaly detection
  • Plan for signing key migration — when Hex releases the new client and signing system, update all package consumers promptly. Until then, treat dependency integrity as best-effort rather than guaranteed
  • Review dependency pinning strategy — consider whether your organization should mirror critical dependencies internally or use checksum verification for high-assurance builds

The broader lesson is that package registries are high-trust, high-impact infrastructure that deserve security investment proportional to their systemic importance. A decade-old deserialization flaw in a registry serving an entire language ecosystem is not an isolated bug — it's a structural reminder that the integrity of our software supply chains depends on the security maturity of the registries we often take for granted.