Erlang/OTP TLS Flaw Lets a Malicious Server Impersonate HTTPS Endpoints
Key Facts
- CVE-2026-124286 affects the Erlang/OTP TLS client and carries a CVSS score of 9.1.
- A client configured for full server authentication can complete a TLS 1.2 handshake when a malicious server sends no Certificate message and an unsigned ServerKeyExchange.
- An attacker in an adversary-in-the-middle position could impersonate a legitimate server and read or modify traffic.
- OTP releases 29.0.3, 28.5.0.9 and 27.3.4.14 fix the flaw; the ssl application is fixed in 11.7.3, 11.6.0.8 and 11.2.12.10.
- TLS 1.3 connections are not affected, and the Erlang maintainers recommend TLS 1.3 as a workaround.
The Erlang/OTP maintainers have fixed a TLS client flaw that lets a malicious server skip the step where it proves its identity. The vulnerability, tracked as CVE-2026-124286, carries a CVSS score of 9.1 and affects Erlang applications that connect to remote services over TLS 1.2.
The practical result is not a crash or a remote shell. It is a broken authentication check. A client that believes it is talking to a trusted server can be connected to an attacker instead, and the attacker can read and change the traffic that follows.
What the client accepts
TLS normally requires the server to present a certificate and prove that it holds the matching private key. Erlang/OTP clients configured for full server authentication are supposed to enforce both steps.
The advisory describes a case where they do not. A malicious server can send no Certificate message at all and follow it with an unsigned ServerKeyExchange. That combination is anonymous ECDH presented as if it were an authenticated cipher suite. The client completes the TLS 1.2 handshake anyway.
“An Erlang/OTP TLS client configured with full server authentication completes a TLS 1.2 handshake for example an ECDHE_RSA cipher suite when a malicious server sends no Certificate message and an unsigned ServerKeyExchange,” the maintainers said in the advisory.
An attacker who can sit between the client and the server can therefore answer the connection itself. The client records the session as authenticated. From that point, the attacker can observe requests and responses, and alter them in transit.
Who is exposed
The flaw is in the client-side TLS implementation. Erlang applications that act as TLS clients are in scope. TLS 1.3 connections are not affected, because the affected handshake path is specific to TLS 1.2.
The affected release ranges are broad. OTP versions from 17.0 onward are listed, with fixes in 29.0.3, 28.5.0.9 and 27.3.4.14. The ssl application from 5.3.4 onward is fixed in 11.7.3, 11.6.0.8 and 11.2.12.10.
That breadth matters for inventory. Erlang is often embedded in messaging systems, payment services, chat backends and other long-running network services. The application may not advertise Erlang in its product name, and the OTP runtime may be several layers below the code the operator maintains.
The fix and the workaround
Upgrading to a fixed OTP release is the direct remedy. Operators should check both the OTP version and the ssl application version, because the two are released on separate schedules.
Where an immediate upgrade is not possible, the maintainers recommend restricting the client to TLS 1.3. That removes the affected TLS 1.2 path. A second option is to offer only static RSA key transport suites, which have no ServerKeyExchange and are therefore not exposed to the unsigned-SKX bypass.
The maintainers describe that second option as a last resort. Static RSA does not provide forward secrecy, and many servers no longer support those suites, so handshakes may fail. It buys time rather than solving the underlying problem.
There is no indication in the advisory that the flaw has been exploited. The document describes the mechanism and the fixed versions, not a campaign. That absence of reported exploitation is not evidence that no one has tried it, particularly against internet-facing Erlang services that terminate TLS in client mode.
A year of Erlang/OTP flaws
The TLS bug is the latest in a series of high-severity Erlang/OTP issues. Over the past year, the project has fixed CVE-2025-32433 in the SSH implementation with a CVSS score of 10.0, CVE-2022-37026 at 9.8, CVE-2026-55953 at 9.1 and CVE-2026-89422 at 9.3.
Those are separate flaws with separate affected components. CVE-2025-32433, for example, is an SSH issue, and researchers reported exploitation of that flaw in 2025 against healthcare, agriculture, media and other organizations. It should not be confused with the TLS client bug described here.
The pattern is still relevant to defenders. Erlang/OTP is infrastructure software, and a flaw in one of its protocol implementations can affect many applications that never appear in a asset inventory as “Erlang.” The fix is simple once the dependency is found. Finding it is the harder part.
What to check
Operators should identify services that use Erlang/OTP as a TLS client, including internal service-to-service calls that may not cross the public internet. An adversary-in-the-middle position can be a compromised router, a malicious proxy or a hostile network, not only a public Wi-Fi hotspot.
After upgrading, confirm that the ssl application reports a fixed version. Then review whether the service can enforce TLS 1.3 for its outbound connections. If it cannot, document the exception and the reason, rather than leaving the client to negotiate TLS 1.2 by default.
The advisory does not provide indicators of compromise, and none should be expected from a protocol flaw of this kind. The useful signal is configuration: an Erlang client that still negotiates TLS 1.2 without a patched ssl application remains exposed.
Sources & References
- Erlang/OTP security advisory describing the TLS 1.2 client authentication bypass and the fixed releases. https://github.com/erlang/otp/security/advisories/GHSA-7mff-v332-665j
- NVD entry for CVE-2026-124286. https://nvd.nist.gov/vuln/detail/CVE-2026-124286
- Erlang/OTP security page listing the project's published advisories and fixed releases. https://www.erlang.org/security
- CVE-2026-124286 — National Vulnerability Database
Analyst-reviewed briefings on active exploitation, ransomware operations, nation-state campaigns, and the threat intelligence that connects them.
Security Digest
The most important cybersecurity stories, CVE alerts, and threat intelligence — one concise email. Unsubscribe anytime.
Related Articles
Best Cloud SaaS Governance Practices from CSA
Introduction Infrastructure as Service security is almost always the focus when discussing cloud security. platforms as a service (PaaS) and infrastructure as a service (IaaS). In spite of the fact...
Cisco Expressway Flaw Exploited Shortly After PoC Release to Breach Russian Organization
Attackers used CVE-2026-76466, a CVSS 9.8 Cisco Expressway flaw, to breach a Russian organization soon after a public PoC, F6 reports.
Rapid7 Details VMware vCenter SRP Authentication Bypass to Root (CVE-2026-123890)
Rapid7 explains how an unauthenticated attacker can recover an in-progress vCenter administrator session key and log in without the account password.
Cisco Investigates Products After eMudhra Root CAs Distrusted Over Private Key Exposure
Cisco is auditing which products trust eight compromised eMudhra intermediate CAs and has published fixes and guidance for IOS XE, ASA, FMC and ISE.