Erlang/OTP TLS flaw lets attackers impersonate servers
A flaw in Erlang/OTP TLS clients can let attackers impersonate servers during vulnerable TLS 1.2 handshakes. Here is who needs to patch.
Erlang/OTP users have been warned about a critical TLS client flaw that can let an attacker impersonate a legitimate server and read or alter encrypted traffic. The issue affects clients using TLS 1.2; TLS 1.3 connections are not affected. 1
What the flaw does
The vulnerability, tracked as CVE-2026-124286, allows a malicious server to complete a TLS 1.2 handshake without sending a certificate when an affected client is using a vulnerable key exchange. The client can then incorrectly treat the connection as authenticated, despite the server never proving its identity. 1
That creates a serious man-in-the-middle risk. An attacker who can position themselves between an Erlang application and the service it is contacting could impersonate that service, read traffic and modify data in transit. The official Erlang/OTP advisory says servers are not affected; the vulnerable component is an Erlang application acting as a TLS client. 2
Who needs to patch
The flaw affects OTP versions 17.0 and later. Erlang lists fixes in OTP 29.0.3, 28.5.0.9 and 27.3.4.14, with corresponding fixes for the ssl application in versions 11.7.3, 11.6.0.8 and 11.2.12.10. Users should move to a patched release rather than relying on a configuration workaround. 2
The advisory recommends restricting clients to TLS 1.3 while updates are being prepared. TLS 1.2 users with no immediate alternative can limit themselves to static RSA key-transport suites, but Erlang cautions that this sacrifices forward secrecy and may fail against modern servers. 2
Our opinion
This is the sort of vulnerability that can hide behind a reassuring configuration. An application may appear to request full certificate verification while a protocol edge case quietly undermines that promise. The practical response is straightforward: identify Erlang services that make outbound TLS connections, patch them, and use TLS 1.3 wherever the deployment allows it. Treat the RSA fallback as a temporary emergency measure, not a clean long-term fix.
The risk is narrower than a general server compromise, but it is still consequential for applications that handle credentials, API traffic or private data over TLS 1.2. Teams should check their runtime versions and connection settings rather than assuming that enabling peer verification alone closes the gap.