CVE-2026-124286: Erlang TLS flaw fakes trusted servers

A critical flaw in Erlang OTP can let an attacker sitting on the network path impersonate any server to a vulnerable TLS 1.2 client, even when that client asked for the server to be verified. The flaw, tracked as CVE-2026-124286 and scored 9.1 out of 10, was published on 24 November 2026 and reported widely on 28 November 2026.
The danger is that the connection looks safe when it is not. The client completes the handshake and reports the peer as verified, while the attacker holds the keys to read or change everything sent over that connection.
What went wrong in the TLS handshake
The problem sits in Erlang OTP's ssl module, in the code that handles the TLS handshake. When a server sends no certificate message and sends a ServerKeyExchange message without a signature, the code wrongly treats the signature algorithm as anonymous. The next check then returns true for that anonymous case even though no public key or certificate was ever presented.
Because of that, the client never runs the checks that should have stopped the connection. Certificate path validation, the custom verification function and the hostname check do not run, and the connection is accepted as if the server had proved who it was. The flaw affects the ecdhe_rsa, ecdhe_ecdsa, dhe_rsa and dhe_dss key exchanges. TLS 1.3 clients are not affected, because TLS 1.3 handles key exchange differently.
The weakness is classified as CWE-347, improper verification of a cryptographic signature. An attacker needs to be on the network path between the client and the server, for example on shared or compromised network infrastructure, to carry out the impersonation.
Who is affected
The flaw affects Erlang OTP from version 17.0 up to, but not including, OTP 27.3.4.14, OTP 28.5.0.9 and OTP 29.0.3. In terms of the ssl application, affected versions run from ssl 5.3.4 up to, but not including, ssl 11.2.12.10, 11.6.0.8 and 11.7.3.
Erlang OTP powers a wide range of telecoms, messaging and distributed systems, so the flaw matters well beyond Erlang developers themselves. Any application that uses an affected OTP release as a TLS 1.2 or DTLS client and relies on server verification is exposed. The NVD record for CVE-2026-124286 lists the affected versions, and the Erlang Ecosystem Foundation advisory gives a full technical analysis, including a proof of concept.
No public exploit has been confirmed in the wild, and the flaw was disclosed under coordinated vulnerability disclosure. That does not make it safe to ignore: the attack needs no login and no action from the user, and the whole point of the flaw is that the victim sees nothing wrong.
What to do now
Upgrade to a patched release: OTP 27.3.4.14, OTP 28.5.0.9 or OTP 29.0.3, depending on the release line in use. Teams that cannot upgrade immediately should check whether their systems use TLS 1.2 clients built on Erlang OTP, and consider moving those clients to TLS 1.3, which is not affected, or routing the traffic through a connection the organisation controls.
Administrators should also review logs for TLS connections that completed without a server certificate. A connection that reports a verified peer but has no peer certificate is a warning sign. The advisory notes that on an affected socket, asking for the peer certificate returns an error saying there is no peer certificate, which is a practical check for anyone investigating.
The flaw is a reminder that encryption alone is not authentication. A TLS connection is only as trustworthy as the check that the server is who it claims to be, and in this case that check was silently skipped.