A newly discovered security vulnerability in Erlang/OTP, identified as CVE-2026-124286 with a CVSS score of 9.1, poses a significant threat by enabling attackers to impersonate trusted servers. Disclosed on November 24, 2026, this flaw permits interception or modification of TLS-encrypted traffic.
Impact on TLS 1.2 Clients
The vulnerability primarily affects clients using TLS 1.2, even if server identity verification is configured. However, TLS 1.3 connections remain secure. During a TLS handshake, client systems rely on server certificates to authenticate the server’s identity and secure the connection.
This flaw allows certain TLS 1.2 handshakes to complete without server certificate verification, leaving the encryption intact but without certifying the server’s identity. This opens a window for attackers positioned between the client and the server to impersonate the server and potentially alter sensitive data, like API tokens and requests.
Server Impersonation Risks
The vulnerability is particularly dangerous as it allows server impersonation, not decryption of previously captured traffic. It places the attacker as one endpoint of a newly established encrypted connection. The flaw was discovered and reported by Philip Calvin.
The default client configurations are vulnerable due to their support for TLS 1.2 and specific key exchange methods. Importantly, the flaw does not impact Erlang/OTP when functioning as a TLS server.
Mitigation and Advice
Applications making outbound connections can still be vulnerable, even if they accept inbound connections. This sets it apart from previous Erlang/OTP vulnerabilities, aligning more closely with issues like the OpenSSL server authentication flaw.
The Erlang/OTP security advisory reports the flaw’s existence since OTP version 17.0, with fixes available in OTP versions 29.0.3, 28.5.0.9, and 27.3.4.14. Earlier security enhancements addressed the issue in OTP 29 and 27 branches but were mistakenly left out of OTP 28.
It is recommended to verify Erlang/OTP versions in use, including those in containers and vendor packages, prioritizing updates for applications making outbound TLS connections. After updates, ensure the service operates with the patched runtime.
If immediate updates are not feasible, restricting clients to TLS 1.3 is suggested, though testing is crucial as it may affect connectivity with TLS 1.2-only endpoints. Static RSA is a last resort for TLS 1.2 clients, but due to its lack of forward secrecy, patching remains the best solution.
