The Server Sent No Certificate. Erlang Trusted It Anyway.

The Server Sent No Certificate. Erlang Trusted It Anyway.

Picture the scene: your software connects to a server over TLS. You configured it the strict way — full server authentication, no shortcuts. The server sends no certificate at all. None. And your client shakes its hand anyway.

That is CVE-2026-124286, a critical flaw in the Erlang/Open Telecom Platform (OTP) TLS client, scored 9.1 out of 10. A malicious server can skip the very proof of identity TLS exists to demand — and the client accepts the connection as authenticated anyway. The flaw was found by researcher Philip Calvin.

The handshake that forgot to check

Here is how the trick works. In a normal TLS 1.2 handshake, the server proves who it is with a Certificate message — a digital ID card, signed by a certificate authority your client trusts. Then a signed ServerKeyExchange message agrees the session keys — the signature ties the keys to the identity.

In the vulnerable Erlang/OTP client, a malicious server simply leaves both pieces out. No Certificate message. An unsigned ServerKeyExchange. And the client, instead of rejecting the handshake, completes it — treating an anonymous ECDH key exchange (no identity attached at all) as if it were an ECDHE_RSA cipher suite, which promises the server is authenticated.

Read that again: the client was told, in configuration, to fully authenticate the server. The server offered no proof of anything. The client trusted it anyway.

Diagram: four failures — no certificate, unsigned key exchange, anonymous ECDH, full auth misled — converge on a client trusting a fake server.
Four failures, one fake server.

Why this one is different

Most TLS bugs need an unusual configuration to bite. This one is the opposite: the dangerous configuration is the safe one. Full server authentication, the setting chosen for the strongest guarantee, is the one that gets bypassed.

An attacker in an adversary-in-the-middle position — a hostile network, a compromised router, a poisoned DNS answer — can impersonate a legitimate server and read and modify everything that flows across the connection. Credentials, session tokens, API calls, database queries — all in the clear to the attacker, while both ends believe the channel is encrypted and verified.

Authentication failing silently is a pattern we have covered before — in one case, a cookie stood in for a password and root was the prize. The most dangerous authentication bug is the one that lets the wrong party in while every log says the check passed.

What is affected, and what fixes it

The flaw affects Erlang/OTP 17.0 and later, and the ssl application 5.3.4 and later. Fixed releases are already out: OTP 29.0.3, 28.5.0.9 and 27.3.4.14, with ssl fixes in 11.7.3, 11.6.0.8 and 11.2.12.10. Erlang powers more than people realize — telecom switches, messaging platforms, Elixir infrastructure — so check your version now.

If you cannot patch immediately, there is a good workaround: TLS 1.3 is not affected at all. The flaw lives in the TLS 1.2 handshake path, so restricting the client to TLS 1.3 only closes the hole cleanly.

The other workaround is a last resort: static RSA key-transport suites only. Those have no ServerKeyExchange message, so the bypass cannot trigger — but they have no forward secrecy, so a stolen server key decrypts every past session, and many servers no longer support them. A bandage, not a fix.

The bottom line is simple: move to a patched release, or restrict the client to TLS 1.3. One of the two, as fast as you can.

Diagram: what is new about the Erlang/OTP TLS flaw and what to do — patch to fixed OTP releases or restrict clients to TLS 1.3.
The flaw is real. The fix is ready.

Four checks to run this week

1. Patch the OTP releases. Upgrade to OTP 29.0.3, 28.5.0.9 or 27.3.4.14 — whichever matches your line — with ssl on 11.7.3, 11.6.0.8 or 11.2.12.10. Check containers, embedded runtimes and build machines too.

2. Force TLS 1.3 where you cannot patch yet. Configure Erlang/OTP TLS clients to offer TLS 1.3 only, then verify the restriction took effect — a config line that was never reloaded is the same as no config at all.

3. Audit every TLS client in your fleet. Erlang hides in places people forget: message brokers, monitoring tools, legacy services untouched for years. Inventory everything that opens a TLS connection from an Erlang runtime; put the unpatched ones on a list with owners and dates.

4. Watch for the adversary in the middle. No exploitation of this flaw has been reported yet — but the window between disclosure and patching is exactly when attackers move. Look for TLS connections to unexpected endpoints, and certificate errors that suddenly stop.

A pattern, not a one-off

This is the fourth critical-severity Erlang/OTP flaw addressed in the last year, after CVE-2025-32433 at a perfect 10.0, CVE-2022-37026 at 9.8, CVE-2026-55953 at 9.1 and CVE-2026-89422 at 9.3. The history is not theoretical: after CVE-2025-32433 was disclosed, attackers exploited it in the wild against healthcare, agriculture, media and entertainment, and high-tech organizations in the United States, Canada, Brazil, India and Australia, delivering reverse shells.

Erlang’s own ecosystem has been hit before, too — Hex.pm’s own perfect-10 flaw compromised six servers in minutes. The platform is a target precisely because it runs the systems that cannot go down.

That is the real story of CVE-2026-124286. It is not that Erlang is broken. It is that a single missing check — a certificate nobody asked for, a signature nobody verified — can quietly undo the strongest setting in the configuration. The fix is out. The workaround is one line. The only question is whether the systems that need it get it before someone on a hostile network notices.

Comments

This site uses Akismet to reduce spam. Learn how your comment data is processed.