## Overview
Erlang OTP has a critical vulnerability, CVE-2026-124286, that allows on-path attackers to impersonate any server to TLS 1.2 or DTLS clients. This issue arises in the ssl_handshake module when a server sends no Certificate message and a ServerKeyExchange without a signature. As reported by wisevoter.com and gbhackers.com, this flaw can lead to serious security breaches.
## Technical Details
When the server does not provide a Certificate message, the function ssl_handshake:decode_server_key/3 incorrectly reports the signature algorithm as 'anon'. Consequently, ssl_handshake:verify_signature/5 returns true for 'anon' without requiring a public key. This oversight allows the handshake to complete for various key exchanges, including ecdhe_rsa and dhe_rsa, without proper certificate validation. Notably, this vulnerability affects Erlang OTP versions from 17.0 up to 27.3.4.14, 28.5.0.9, and 29.0.3, corresponding to ssl versions from 5.3.4 to 11.2.12.10, 11.6.0.8, and 11.7.3. TLS 1.3 clients remain unaffected.
## Impact
The ability for attackers to impersonate servers poses a significant risk to data integrity and confidentiality. Clients using TLS 1.2 may unknowingly connect to malicious servers, leading to potential data interception or manipulation. Cyberpress.org emphasizes that this vulnerability can bypass TLS certificate authentication, making it critical for defenders to act.
## Mitigation
Defenders should immediately update their Erlang OTP installations to the latest versions that address this vulnerability. Regularly monitor for patches and ensure that all systems running affected versions are secured. Implement additional security measures, such as strict certificate validation and monitoring of TLS connections, to mitigate risks until updates are applied.
CSURFACE Threat Sensor