CVE-2026-124286 is a critical flaw in the TLS client of Erlang/OTP, the runtime and standard libraries behind Erlang and the languages built on it, such as Elixir. An on-path attacker can impersonate any server to an affected client over TLS 1.2 or DTLS 1.2 without presenting a certificate, then read and modify everything on the connection. That holds even when the client is configured with {verify, verify_peer} and a proper CA bundle. The Erlang Ecosystem Foundation published the advisory on November 24, 2026. Every OTP release from 17.0 onward is affected until OTP 29.0.3, 28.5.0.9 or 27.3.4.14, and TLS 1.3 connections are not.
That last sentence is most of the remediation plan. The rest of this piece is about why the bug happened, which of your systems are actually exposed, and how to verify a client the way an attacker would.
How does CVE-2026-124286 bypass certificate verification?
A quick refresher on the moving parts. In a TLS 1.2 handshake using an ephemeral key exchange such as ECDHE_RSA, the server sends its certificate, then a ServerKeyExchange message carrying fresh Diffie-Hellman parameters. The server signs those parameters with the private key that matches its certificate. The signature is the whole point: it binds the throwaway key exchange to an identity the client has already validated. Without it, anyone in the middle can supply their own parameters and become the other end of the encrypted session.
The advisory walks through three failures that line up. First, when ssl_handshake:decode_server_key/3 parses a ServerKeyExchange with an empty or zero-length signature, it labels the signature algorithm anon. It does that for every key exchange type, when it should only ever apply to the anonymous suites where an unsigned message is legitimate. Second, in the certify state the client calls verify_server_key/5, and because no Certificate message ever arrived, the stored public key is undefined. A clause in verify_signature/5 returns true for anon with any key, including no key at all. Third, nothing checks that a certificate was received before the client processes ServerHelloDone. So the client derives its master secret from parameters the attacker generated, sends Finished, and ssl:connect/3 hands back {ok, Socket}.
Path validation never runs. Neither does verify_fun or the hostname check. The client asked for full authentication and got none.
Anonymous ECDH dressed up as an authenticated suite is not a new trick. The advisory notes that BoringSSL's test runner, BoGo, already ships an UnauthenticatedECDH test that produces exactly this server behavior. In other words, a conformance test that has existed in another TLS stack's suite would have caught this. Phillip Calvin is credited with finding and reporting it.
Which Erlang and Elixir systems are actually exposed?
Scope this carefully, because the headline score (9.1 in coverage, with a CVSS 4.0 vector from the CNA) makes it sound broader than it is. Servers are not affected. Only code acting as a TLS client matters, and only when the connection can negotiate TLS 1.2 or DTLS 1.2. The trouble is that the default ssl:connect options allow TLS 1.2, so any client that didn't explicitly pin versions is in play.
The affected key exchanges are ecdhe_rsa, ecdhe_ecdsa, dhe_rsa and dhe_dss, which covers the suites most modern TLS 1.2 deployments actually use. Static RSA, ecdh_rsa and ecdh_ecdsa suites have no ServerKeyExchange message, so they aren't affected.
In practice, "TLS client" in a BEAM application means more than the obvious HTTP calls. Think about outbound connections to databases, message brokers, SMTP relays, LDAP directories, webhook targets, payment gateways and cluster peers. Any of those that pass through the ssl application and can fall back to 1.2 are candidates. The attacker also needs to be on-path, which sounds like a high bar until you list the places where it isn't: shared cloud networks, compromised routers, hostile Wi-Fi for embedded and IoT deployments, and DNS poisoning that quietly steers a client to the wrong address.
Inventory is the slow part, so start it early. The advisory maps the fix to versions of the ssl application as well as to OTP releases, which helps, because application:get_key(ssl, vsn) in a remote shell on a running node tells you exactly what that node loaded. Checking a live node beats trusting a Dockerfile someone wrote two years ago.
What I'd check first is any client that talks to a server outside your own network over a path you don't fully control, and any client whose server only speaks TLS 1.2.
Patch versions, the TLS 1.3 workaround, and the one to avoid
The fixed releases are OTP 29.0.3, 28.5.0.9 and 27.3.4.14, corresponding to the ssl application at 11.7.3, 11.6.0.8 and 11.2.12.10. If you run a release older than the 27 line, there is no backported fix listed in the advisory, and this is a good forcing function to move. Remember that the OTP version that matters is the one baked into your release or container image, not the one on a developer's laptop.
If you can't patch today, restrict clients to TLS 1.3 by setting versions to ['tlsv1.3'] in the client's ssl options. The TLS 1.3 client is not affected. Test it against each upstream first, because a server that only speaks 1.2 will simply refuse the handshake, which is a loud failure rather than a silent one. I'll take loud.
The advisory also describes a last-resort option for clients stuck on 1.2: offer only static RSA key exchange suites, which carry no ServerKeyExchange and so can't be fooled this way. Both the maintainers and I would steer you away from it. Static RSA gives up forward secrecy, and plenty of servers no longer accept those suites. It trades one weakness for another and should live no longer than the patch window.
How to verify a client and why Erlang keeps showing up
The advisory gives a clean behavioral test that doesn't require reading any Erlang. Point a client at a test server that answers a TLS 1.2 ClientHello with an ECDHE_RSA suite, no Certificate message and an unsigned ServerKeyExchange; BoGo's UnauthenticatedECDH test provides one. A patched client aborts with a fatal alert right after the server's first flight. A vulnerable one completes the handshake, and calling ssl:peercert/1 on the resulting socket returns {error, no_peercert}. That last detail is useful for detection too. A connection that claims to be verified but has no peer certificate is a contradiction worth logging in any client wrapper you control. Do this in a lab, against your own clients, and nowhere else.
It also joins a run of critical Erlang/OTP bugs in the code that makes trust decisions: CVE-2025-32433 in the SSH server, then CVE-2026-55953 and CVE-2026-89422 in the TLS stack earlier this year. The SSH one, an unauthenticated SSH flaw scored 10.0, was being exploited by early May 2025 according to Palo Alto Networks Unit 42, with about 70% of detections coming from firewalls protecting operational technology networks. CISA added it to the Known Exploited Vulnerabilities catalog that June. Nobody has reported exploitation of CVE-2026-124286, and on-path attacks are harder to run at scale than a network-reachable SSH bug. Still, the pattern says the BEAM's protocol code is getting serious attention from researchers, and attackers read the same advisories.
Two durable lessons come out of this. Pin your clients to TLS 1.3 wherever the other side supports it, because it removes whole categories of handshake confusion. And if you maintain a protocol implementation, borrow the other stacks' adversarial test suites. Somebody already wrote the test for the bug you haven't found yet.
References
Erlang Ecosystem Foundation. (2026, November 24). CVE-2026-124286. EEF CVE Numbering Authority. https://cna.erlef.org/cves/CVE-2026-124286.html
Open Source Vulnerabilities. (2026, November 24). EEF-CVE-2026-124286: TLS 1.2 client completes handshake without a server certificate. OSV. https://osv.dev/vulnerability/EEF-CVE-2026-124286
Lakshmanan, R. (2026, November 30). Critical Erlang/OTP TLS flaw could let attackers impersonate servers and intercept encrypted traffic. The Hacker News. https://thehackernews.com/2026/11/critical-erlangotp-tls-flaw-could-let.html
Lakshmanan, R. (2025, August 11). Researchers spot surge in Erlang/OTP SSH RCE exploits, 70% target OT firewalls. The Hacker News. https://thehackernews.com/2025/08/researchers-spot-surge-in-erlangotp-ssh.html