Certificate checks are the one thing every TLS client has to get right. They are how a client knows the server it reached is the one it meant to reach. A newly disclosed flaw in Erlang/OTP's ssl application shows what happens when that check can be skipped. Under the right conditions, an Erlang program acting as a TLS 1.2 or DTLS client will finish a handshake with a server that never sent a certificate. The connection then reports success, even when the developer explicitly asked for the peer to be verified.
The bug is tracked as CVE-2026-124286 and GitHub advisory GHSA-7mff-v332-665j. It was published on November 24, 2026, and rated Critical, with a CVSS v4.0 base score of 9.1 from the CNA. According to the NVD record, the flaw "allows an on-path attacker to impersonate any server to a TLS 1.2 or DTLS client." From that position the attacker can read or modify the traffic the client believes is protected by verified TLS.
Fixed releases are out: OTP 29.0.3, 28.5.0.9 and 27.3.4.14. None of the sources we read report exploitation of this flaw in the wild.
What went wrong, in plain English
In a TLS 1.2 handshake using an ephemeral key-exchange cipher suite (the ECDHE and DHE families that provide forward secrecy), the server normally does two things. It sends a Certificate message proving its identity. It then sends a ServerKeyExchange message carrying fresh key material, signed with the private key that matches that certificate. The client checks the signature, and that check ties the session keys to the server's verified identity.
The NVD description, which cites the vulnerable code in ssl_handshake, explains the failure. If a malicious server leaves out the Certificate message entirely and sends an unsigned ServerKeyExchange, the signature-verification routine treats the exchange as if it were an anonymous cipher suite and returns "true." Handshakes using ecdhe_rsa, ecdhe_ecdsa, dhe_rsa and dhe_dss key exchanges then complete with a cipher suite the client offered. Certificate path validation, the verify_fun callback and the hostname check do not run. The client's ssl:connect call returns {ok, Socket}, Erlang's normal success result, even when the client was configured with verify_peer, the option that is supposed to make certificate verification mandatory.
The CVE record lists the weakness as CWE-347, Improper Verification of Cryptographic Signature. In practice, the client checks a signature that was never there and accepts it anyway.
Why the default configuration is exposed
Two details in the Erlang/OTP advisory widen the risk. First, the attacker chooses the cipher suite. Because the impostor is the one answering the client, it can pick whichever affected suite the client offers, so the type of key in the real server's certificate "does not matter." An organisation whose legitimate servers use ECDSA certificates gets no protection from that, and neither does one using RSA. Second, the advisory says any client that offers TLS 1.2 and one of the affected key exchanges is vulnerable, "which is the case for the default client configuration." No unusual settings are needed.
The bug's history is also long. Per NVD, it affects OTP 17.0 up to, but not including, the fixed releases, which corresponds to ssl application versions 5.3.4 up to before 11.2.12.10, 11.6.0.8 and 11.7.3. Many years of Erlang releases are in scope.
What is not affected
- TLS 1.3 clients. NVD and the advisory both say TLS 1.3 connections are not affected.
- Servers. The advisory says servers are not affected. This is a client-side bug.
- Cipher suites with no ServerKeyExchange. RSA key transport, ECDH_RSA and ECDH_ECDSA suites do not use the message at the heart of the flaw and are listed as not affected.
The Hacker News report on the bug, dated November 30, frames the exposure the same way: an Erlang/OTP TLS client can be fooled by an attacker in an adversary-in-the-middle position. One caution for readers comparing coverage: that article's introduction describes the flaw as being in Erlang/OTP's SSH implementation. The vendor advisory and the NVD record both place it in the ssl (TLS/DTLS) application, and that is the component that matters for patching.
Who found it, and the wider pattern
The Hacker News and the Erlang/OTP advisory credit researcher Philip Calvin with finding and reporting the flaw. The advisory is flagged "This report was submitted with AI assistance." The CVE record, published by the EEF (Erlang Ecosystem Foundation) CNA, shows the ID was reserved on November 12 and published November 24, about a 12-day window from reservation to public disclosure. According to NVD, the record was still "Awaiting Analysis" at the time we read it, so NIST has not yet added its own scoring.
The advisory also notes that the issue was fixed on the OTP 29 and OTP 27 branches before the advisory, as a hardening fix for a different scenario, but by accident was not included on the OTP 28 track.
The flaw lands in a busy year for the platform. The Hacker News counts four critical Erlang/OTP vulnerabilities addressed over the last year: CVE-2025-32433 (CVSS 10.0), CVE-2022-37026 (9.8), CVE-2026-55953 (9.1) and CVE-2026-89422 (9.3). It reports that CVE-2025-32433 came under active exploitation in the wild after public disclosure. Nothing in the sources ties CVE-2026-124286 to active attacks. Still, that history is a good reason not to let this one sit in a patch queue.
What It Means for Defenders
Who is affected: any software built on Erlang/OTP (including languages and frameworks that run on the OTP platform and use its ssl application) that makes outbound TLS 1.2 or DTLS connections. Typical examples are calls to APIs, databases, message brokers, identity providers, webhooks or other internal services. Servers are not affected by this bug. The attack requires network position between your client and its destination, which is why the CVSS vector marks attack requirements as present (AT:P) but needs no privileges or user interaction.
Patch:
- OTP 29 line: upgrade to 29.0.3 (ssl 11.7.3)
- OTP 28 line: upgrade to 28.5.0.9 (ssl 11.6.0.8)
- OTP 27 line: upgrade to 27.3.4.14 (ssl 11.2.12.10)
Remember that the Erlang runtime is often bundled. Container base images, vendored release tarballs and third-party products that embed OTP each need their own update. Check the OTP or ssl version actually shipped inside each deployment, not just the one on a build machine. The affected range that NVD gives reaches back to OTP 17.0, and the advisory notes that such old, long-unsupported versions are likely exposed to other vulnerabilities as well.
If you cannot patch immediately: the advisory and the CVE record give the same workaround. Restrict client connections to TLS 1.3 only, by setting the client's allowed versions to TLS 1.3. Test this against every endpoint your applications talk to, since any peer that cannot speak TLS 1.3 will stop connecting. Where TLS 1.2 is truly unavoidable, the advisory offers a last resort: limit the client to static RSA key transport suites, which do not use ServerKeyExchange. The advisory says this is not recommended: these suites provide no forward secrecy, and many servers no longer accept them, so the handshake may simply fail. Treat it as a stopgap, not a configuration to keep.
Assess exposure: because a successful attack looks like a normal, verified connection from the client's side, application logs are unlikely to show anything odd. Prioritise Erlang clients that cross networks you do not fully control, such as the public internet, shared cloud networks, or partner and branch links. Consider whether credentials or tokens those clients sent over TLS 1.2 could have been exposed to an on-path attacker. If you cannot rule that out for a high-value connection, rotating those secrets after patching is a reasonable precaution.
For CMMC and federal contractors: a flaw that defeats server authentication is relevant to protecting data in transit. Record the affected systems, the patch or workaround applied, and the date in your vulnerability management records, so the remediation is traceable at assessment time.
Sources
- NVD record CVE-2026-124286
- GitHub Security Advisory GHSA-7mff-v332-665j: TLS 1.2 Client Completes Handshake Without a Server Certificate
- CVE record CVE-2026-124286 (CVE Services API, JSON)
- The Hacker News: Critical Erlang/OTP TLS Flaw Could Let Attackers Impersonate Servers and Intercept Encrypted Traffic