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.
Vulnerability Profile
| Field | Detail |
|---|---|
| CVE | CVE-2026-129514 |
| CVSS | 10.0 (Critical) |
| Type | Unauthenticated Remote Code Execution via unsafe Erlang term deserialization |
| Affected Product | Hex.pm web infrastructure (package registry for Elixir/Erlang) |
| Root Cause Age | Introduced February 2016 — latent for over 10 years |
| Active Exploitation | Yes — 69 malicious requests on Nov 23, 2026 (18:16–18:29 UTC) |
| Patch Status | Fix deployed within 20 minutes of attack; new signing system in development |
| Related Advisory | Ash 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
hex.pm/dashboard/security and re-enroll 2FA with a new authenticator entry and fresh recovery codeshex.pm before interactingStrategic 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.