Critical Erlang/OTP TLS flaw lets attackers impersonate servers
CVE-2026-124286 (CVSS 9.1) lets AitM attackers bypass server certificate checks in Erlang/OTP TLS 1.2 clients; patching or forcing TLS 1.3 is urgent.
Unsigned key exchange bypasses TLS authentication
A critical authentication-bypass vulnerability tracked as CVE-2026-124286 (CVSS 9.1) has been disclosed in the Erlang/Open Telecom Platform (OTP) TLS client stack. Reported by security researcher Philip Calvin, the bug affects OTP >= 17.0 and ssl >= 5.3.4, and is patched in OTP 29.0.3, 28.5.0.9, and 27.3.4.14 (ssl 11.7.3, 11.6.0.8, 11.2.12.10).
When an Erlang/OTP application acts as a TLS client—even with full server certificate verification enabled—a malicious server can complete a TLS 1.2 handshake using a suite such as ECDHE_RSA without sending a Certificate message at all. By transmitting an unsigned ServerKeyExchange, the attacker effectively downgrades the session into anonymous ECDH while the client still treats the connection as fully authenticated.
Why this hits backend and telecom infrastructure
An adversary-in-the-middle (AitM) exploiting CVE-2026-124286 can impersonate any upstream HTTPS or TLS endpoint, reading and modifying traffic in transit. Because Erlang/OTP and Elixir underpin high-concurrency message brokers, distributed databases, and telecom switching backends, outbound TLS client connections often carry internal API tokens, webhook payloads, and replication streams that teams assume are cryptographically pinned.
The disclosure also extends a troubling run for the ecosystem. Over the past year, maintainers have patched four other critical flaws in Erlang/OTP—CVE-2025-32433 (CVSS 10.0), CVE-2022-37026 (CVSS 9.8), CVE-2026-55953 (CVSS 9.1), and CVE-2026-89422 (CVSS 9.3)—with CVE-2025-32433 rapidly exploited in the wild against healthcare, tech, and industrial targets in the US, Canada, Brazil, India, and Australia to deliver reverse shells.
Second-order risk in legacy TLS 1.2 defaults
What makes CVE-2026-124286 especially dangerous is silent compatibility fallback. Many enterprise microservices still permit TLS 1.2 alongside TLS 1.3 so older partner APIs and internal proxies stay reachable. If an attacker on a shared cloud network, BGP path, or compromised Wi-Fi link intercepts that initial ClientHello and steers negotiation to TLS 1.2 with ECDHE_RSA, the client’s strict certificate validation logic never triggers an error because the missing Certificate frame is never enforced by the state machine.
Immediate mitigations for engineering teams
TLS 1.3 connections are completely unaffected because the handshake structure removes legacy TLS 1.2 key-exchange state machines. Maintainers advise upgrading OTP immediately or restricting clients to TLS 1.3 only. While static RSA cipher suites avoid ServerKeyExchange, Erlang warns against that fallback because static RSA lacks forward secrecy and fails against modern servers that have retired non-ephemeral key transport.
Who is exposed and what to watch next
Infrastructure and DevSecOps teams running Elixir/Phoenix services, RabbitMQ clusters, or custom OTP workers should audit outbound ssl configurations for tlsv1.2 allowances today, especially in payment gateways, telecom billing, and multi-region message buses. Because BEAM applications often run inside long-lived Docker base images where OTP updates lag behind application code, container SBOM scans are essential. Expect automated AitM and proxy-scanner signatures to appear quickly, making rapid OTP/ssl patching and TLS 1.3 enforcement essential before active exploitation begins. Auditing service-to-service mTLS rules and pinning outbound cipher policies across staging and production clusters will also prevent silent protocol downgrades during future library upgrades. Treating outbound client TLS policies with the same rigor as public ingress endpoints closes a blind spot many backend teams still overlook.
// comments (0)