Erlang/OTP TLS 1.2 client flaw lets attackers impersonate servers and tamper with traffic
CVE-2026-124286 (CVSS 9.1) lets some TLS 1.2 handshakes finish without a server certificate. Fixes are in OTP 29.0.3, 28.5.0.9 and 27.3.4.14.
The Erlang/OTP project has fixed a critical bug in its ssl application that can let an attacker pose as a trusted TLS server to Erlang-based clients, then read or modify the traffic. The flaw, CVE-2026-124286, carries a CVSS score of 9.1 and was disclosed on November 24.
What goes wrong
Under certain TLS 1.2 handshakes, an Erlang/OTP client can complete the connection without ever receiving a server certificate, even when it is configured to verify the server's identity. That defeats the main protection TLS offers against man-in-the-middle attacks.
Key limits:
- Only the client side is affected. Erlang/OTP acting as a TLS server is not vulnerable.
- TLS 1.3 connections are not affected.
- The attacker must be positioned on the network path of a new connection. Previously recorded traffic cannot be decrypted.
Server applications are not off the hook, though. Many Erlang and Elixir services that accept inbound traffic also make outbound TLS calls to APIs, databases, payment processors or partner systems, and those outbound connections are the exposed part.
Versions
The advisory traces the bug back to OTP 17.0. Fixed releases are OTP 29.0.3, 28.5.0.9 and 27.3.4.14, which carry ssl 11.7.3, 11.6.0.8 and 11.2.12.10 respectively. The maintainers said an earlier hardening change had already closed the hole on the 29 and 27 branches, but it was accidentally left out of the 28 branch.
There are no reports of exploitation so far. The issue was found and privately reported by researcher Philip Calvin.
Practical steps
Erlang runtimes often hide inside container images and vendor products, including RabbitMQ, ejabberd and Elixir applications, so an inventory is the first job. Keep peer verification turned on, but note that it does not protect an unpatched client by itself. If patching has to wait, forcing affected clients to TLS 1.3 is the cleaner stopgap.
Who's affected
Teams running Erlang or Elixir applications, and products built on Erlang/OTP, that make outbound TLS 1.2 client connections.
What to do
Upgrade to OTP 29.0.3, 28.5.0.9 or 27.3.4.14 (or vendor builds containing them), confirm services run the patched runtime, and restrict clients to TLS 1.3 until you can patch.