Latest briefing

Erlang OTP TLS flaw CVE-2026-124286 lets attackers impersonate servers and intercept traffic

TL;DR

Erlang OTP is vulnerable to a critical TLS client authentication bypass, tracked as CVE-2026-124286. An on-path attacker can impersonate a legitimate server to intercept and modify encrypted traffic. Update to patched Erlang versions immediately or restrict connections to TLS 1.3.

What happened

A critical flaw in the Erlang OTP ssl application allows an attacker in a man-in-the-middle position to bypass server authentication. The vulnerability exists in the ssl_handshake module. When a client performs a TLS 1.2 or DTLS handshake, an attacker can send a ServerKeyExchange without a digital signature and omit the Certificate message entirely.

The implementation incorrectly reports the signature algorithm as anon and returns true for verification without a public key. This allows the handshake to complete even when the client is configured for full server authentication via verify_peer. This bypass allows the attacker to establish a connection that appears authenticated, enabling them to read and modify all application data.

Why it matters

This is a high-impact flaw because it breaks the fundamental trust model of TLS 1.2. Even if your Erlang application is configured to strictly verify peer certificates and hostnames, the handshake logic fails to ensure a certificate was actually provided. An attacker can intercept any communication where the client relies on these standard key exchange methods. Because the attacker chooses the cipher suite, they can force the connection into a vulnerable state regardless of the actual server's certificate type.

Who is affected

The following Erlang OTP and ssl versions are affected:

Product Affected Versions
Erlang OTP OTP 17.0 before OTP 27.3.4.14
Erlang OTP OTP 28.5.0 before OTP 28.5.0.9
Erlang OTP OTP 29.0 before OTP 29.0.3
Erlang ssl 5.3.4 before 11.2.12.10
Erlang ssl 11.6.0 before 11.6.0.8
Erlang ssl 11.7.3 before 11.7.3

What to do now

  1. Upgrade Erlang OTP to versions 27.3.4.14, 28.5.0.9, or 29.0.3.
  2. Restrict TLS client connections to TLS 1.3 only by setting versions to ['tlsv1.3'] in your ssl options.
  3. As a last resort, if you must use TLS 1.2, configure the client to offer only static RSA key transport suites to avoid the ServerKeyExchange bypass.

What we don't know yet

  • There is no information regarding whether this vulnerability is currently being exploited in the wild.

Sources

  1. thehackernews.comhttps://thehackernews.com/2026/11/critical-erlangotp-tls-flaw-could-let.html
  2. github.comhttps://github.com/erlang/otp/security/advisories/GHSA-7mff-v332-665j
  3. cna.erlef.orghttps://cna.erlef.org/cves/CVE-2026-124286.html
  4. osv.devhttps://osv.dev/vulnerability/EEF-CVE-2026-124286
  5. erlang.orghttps://www.erlang.org/doc/system/versions.html#order-of-versions
  6. github.comhttps://github.com/erlang/otp/security/advisories/GHSA-f7jg-qm7f-ppm8

Offensive security engineer, ethical hacker and penetration tester. Writes Unpatched Intel from h4rithd.com.