Skip to content

Response, New York. Noah Park: Check Point Patches Actively Exploited Management Server Path Traversal. Detection, Dallas. Ava Okello: Report Finds Nearly Half of Deployed Detections Need Attention Before SOCs Can Trust Them.

SOCtember

Always First. Fast SOC News.

A screenshot of Erlang/OTP GitHub security advisory GHSA-7mff-v332-665j, titled TLS 1.2 Client Completes Handshake Without a Server Certificate, rated Critical 9.1 out of 10, listing OTP versions 17.0 and later as affected and 29.0.3, 28.5.0.9 and 27.3.4.14 as patched, with ssl application versions 11.7.3, 11.6.0.8 and 11.2.12.10.
Image: Erlang/OTP project on GitHub (fair use), security advisory GHSA-7mff-v332-665j.

Response

Erlang's TLS Library Let an Attacker in the Middle Impersonate Any Server to Clients That Demanded a Certificate, a Critical Flaw Dating to 2014 That a Missed Patch Left Open on OTP 28

A malicious server could simply skip its certificate and the Erlang/OTP client would finish the TLS 1.2 handshake anyway, even with verify_peer switched on. Fixes shipped November 24. Every team running RabbitMQ, Elixir services or anything else on the Erlang runtime needs to know which version it is carrying.

Noah Park, ResponseNew York5 min read

NEW YORK - For most software, insisting that a server prove its identity with a certificate is the line that keeps a man-in-the-middle attacker out. In Erlang/OTP, the runtime beneath RabbitMQ, ejabberd and a large body of Elixir applications, that line had a gap for more than a decade.

The Erlang/OTP project disclosed on November 24 that its TLS client would complete a TLS 1.2 handshake with a server that never sent a certificate at all, even when the client was explicitly configured to demand one. The flaw, tracked as CVE-2026-124286 and rated critical at 9.1 out of 10 on the CVSS version 4 scale, means "an attacker in a man-in-the-middle position can therefore impersonate any TLS server to an affected client, and read and modify all traffic," the project's advisory says.

The project traces the bug to OTP 17.0, the release that introduced its current version scheme in 2014. Fixed releases are OTP 29.0.3, 28.5.0.9 and 27.3.4.14, which carry versions 11.7.3, 11.6.0.8 and 11.2.12.10 of the ssl application. The advisory credits Philip Calvin with finding and privately reporting the issue, and GitHub marks the report as having been submitted with AI assistance.

The advisory does not say whether the flaw has been exploited, and SOCtember found no public report of attacks using it.

How the bypass works

In a normal TLS 1.2 handshake using a suite such as ECDHE_RSA, the server sends its certificate and then a signed ServerKeyExchange message, and the signature ties the session's keys to the identity in the certificate. According to the advisory, an affected Erlang/OTP client would accept a handshake in which a malicious server sent no Certificate message and an unsigned ServerKeyExchange, in effect anonymous key exchange dressed up as an authenticated one.

The result is a connection that is encrypted but not authenticated: the client believes it is talking to the real service, and the attacker sits at the other end. The advisory shows the exposure applies even to a client configured with verify_peer, a trusted certificate store and server name indication, the settings developers are told to use.

The attacker chooses the cipher suite, so it does not matter what kind of key the real server's certificate uses, the project said. Any client that offers TLS 1.2 and one of the affected key exchanges is vulnerable, and that includes the default client configuration.

There are limits. TLS 1.3 connections are not affected. Cipher suites that do not use a ServerKeyExchange message, namely RSA key transport, ECDH_RSA and ECDH_ECDSA, are not affected. And Erlang/OTP acting as a TLS server is not affected. The exposure is on the client side, which in practice means any Erlang service that makes outbound TLS connections: calls to payment or partner APIs, webhooks, database and message broker links, identity providers and internal services.

A fix that missed one branch

The more uncomfortable detail is in the release notes. The Erlang team said the issue had already been fixed on the OTP 29 and OTP 27 lines before the advisory, as a hardening change made for a different scenario, but that the change was not included in the OTP 28 track by accident.

A screenshot of the GitHub release page for OTP 28.5.0.9, dated November 24, 2026, with a release note reading Added missing hardening commit, making anonymous cipher suite handling stricter, for OTP 28 track that should have been included in OTP-28.5.0.3, and that it turned out to have more serious consequences than in the scenario considered when doing the hardening, linked to CVE-2026-124286.
Image: Erlang/OTP project on GitHub (fair use), the OTP 28.5.0.9 release notes for the ssl application.

The OTP 28.5.0.9 notes, dated November 24, describe the fix as a "missing hardening commit, making anonymous cipher suite handling stricter," that "should have been included in OTP-28.5.0.3." The project added: "It turned out to have more serious consequences than in the scenario that we considered when doing the hardening."

For defenders, that means the OTP 28 line is the one most likely to be carrying the bug in production today, and that an OTP 28 build which looks recent may still be exposed. The ssl 11.6.0.8 application in that release cannot be applied on its own to an arbitrary OTP 28 installation, the release notes say, because it depends on newer crypto and public_key versions.

If you cannot patch yet

The project's main workaround is to restrict affected clients to TLS 1.3, which is unaffected. That change should be tested first, because clients will no longer be able to reach endpoints that only speak TLS 1.2.

A screenshot of the Workarounds section of the Erlang/OTP advisory, recommending TLS 1.3 only and, as a last resort for clients that must use TLS 1.2, an Erlang code sample that filters cipher suites to static RSA key transport, followed by a note that this is not recommended because static RSA provides no forward secrecy and many servers no longer accept it.
Image: Erlang/OTP project on GitHub (fair use), the advisory's workaround section.

As a last resort, a client that must stay on TLS 1.2 can offer only static RSA key transport suites, which carry no ServerKeyExchange. The advisory publishes sample code for that but says plainly that it is not recommended: static RSA offers no forward secrecy and many servers no longer accept it, so the handshake may simply fail. The project's advice is to take a patched release.

What a response team should do

  • Inventory every Erlang runtime, not just the ones you installed on purpose. Erlang ships inside RabbitMQ, ejabberd and CouchDB packages, Elixir and Phoenix releases and many container images, often bundled by a vendor. The full patch level of an installation is recorded in the OTP_VERSION file under its releases directory, which is more precise than the major release number.
  • Rank by outbound TLS exposure. Services that call partner APIs, cloud endpoints or other sites over networks you do not fully control are the priority, because the attacker needs to sit on the path between client and server.
  • Confirm the running service picked up the fix. As the advisory notes, keeping verify_peer on is still right, but it does not protect an unpatched client. Restart and check the version the process actually loaded, especially in releases that bundle their own runtime.
  • Ask your vendors. For appliances and packaged software built on Erlang, request a statement on which OTP and ssl versions they ship and when a fixed build will be available.
  • Hunt in TLS metadata. A legitimate TLS 1.2 session using an ECDHE or DHE suite with RSA or ECDSA authentication always includes a server certificate. Network sensors that log TLS handshakes, such as Zeek's ssl.log, can be queried for completed TLS 1.2 sessions from Erlang hosts with one of those suites and no server certificate recorded, which should not happen in normal traffic.

About the Author

Noah Park

Noah Park covers incident response and blue-team operations for SOCtember from New York.

Related stories

Response desk