Illustration of an Erlang OTP TLS vulnerability letting an attacker intercept encrypted traffic between two network nodes

Erlang OTP TLS Vulnerability: Who’s Affected and How to Patch

Key takeaways

  • CVE-2026-124286 is a critical (CVSS 9.1) flaw in the Erlang/OTP TLS client that lets a man-in-the-middle impersonate a server during a TLS 1.2 handshake.
  • Only Erlang applications acting as TLS clients are affected, and TLS 1.3 connections are not.
  • Fixed releases are OTP 29.0.3, 28.5.0.9 and 27.3.4.14, or ssl 11.7.3, 11.6.0.8 and 11.2.12.10.
  • The best workaround is restricting clients to TLS 1.3; static RSA suites are a discouraged last resort.
  • This is the latest of several critical Erlang/OTP flaws in a year, so patch tracking for the runtime deserves a permanent place in your process.

The Erlang OTP TLS vulnerability, tracked as CVE-2026-124286 with a CVSS score of 9.1, lets an attacker in a network-intercepting position impersonate a legitimate TLS server to an affected Erlang client. According to The Hacker News, the client accepts the connection as authenticated even when it is configured for full server authentication. The fix is to upgrade to a patched OTP or ssl release, or to limit clients to TLS 1.3.

Erlang/OTP (Open Telecom Platform) is the runtime and library set behind many messaging, telecom and backend systems, and its ssl application provides TLS. This flaw sits in the TLS client side, so the risk applies to services that call out to other servers over HTTPS or TLS, not to servers that merely accept connections.

Below is what the maintainers disclosed, how the attack works in plain terms, who should worry, and how to patch and verify your fix.

What is the Erlang/OTP TLS vulnerability (CVE-2026-124286)?

The maintainers’ advisory says an Erlang/OTP TLS client with full server authentication enabled completes a TLS 1.2 handshake for a suite such as ECDHE_RSA when a malicious server sends no Certificate message and an unsigned ServerKeyExchange. In other words, anonymous ECDH key exchange gets presented as if it were an authenticated suite.

Security researcher Philip Calvin is credited with discovering and reporting the issue. The flaw carries a 9.1 out of 10 CVSS score. Per the source, it affects:

Component Affected versions Fixed in
OTP >= 17.0 29.0.3, 28.5.0.9, 27.3.4.14
ssl >= 5.3.4 11.7.3, 11.6.0.8, 11.2.12.10

The affected range begins at OTP 17.0, so a very large span of deployed versions falls inside it. Check older long-lived systems carefully.

How does the impersonation attack work?

A TLS client normally proves it is talking to the right server by checking a certificate chain. The server presents a certificate, and signs its key exchange parameters so the client knows the key belongs to that certificate holder.

Here, according to the advisory, a malicious server skips both steps. It sends no Certificate message and an unsigned ServerKeyExchange. A correct client should abort. A vulnerable Erlang client instead finishes the TLS 1.2 handshake and treats the session as authenticated.

That matters because of the attacker’s position. Someone in an adversary-in-the-middle (AitM) position, such as on a compromised network path, rogue Wi-Fi or hijacked routing, can answer in place of the real server. Per the reporting, the attacker can then read and modify all traffic, even though the client was set up for full authentication. The usual sign of safety, a successful encrypted connection, becomes misleading.

This part is my analysis rather than reporting: the practical danger depends on what your Erlang clients send. API tokens, database credentials, webhook payloads, and update or configuration fetches are all attractive to an interceptor, and modified responses could feed bad data into your systems.

Who is affected, and who is not?

The source states the flaw impacts Erlang applications acting as TLS clients. Likely candidates, based on how Erlang is commonly used, include services that make outbound HTTPS calls, connect to external brokers or databases over TLS, or talk to third-party APIs. If you are unsure whether a service qualifies, inventory outbound TLS usage in your Erlang and Elixir-based applications that run on the OTP ssl application.

Not affected, per the advisory: TLS 1.3 connections. If a client negotiates only TLS 1.3, the bypass does not apply. Pure server-side usage is outside the stated scope, though mixed services that both listen and call out should still be treated as clients.

How do I patch and mitigate it?

Follow this order of preference.

  1. Upgrade to a fixed release. Move to OTP 29.0.3, 28.5.0.9 or 27.3.4.14, or update the ssl application to 11.7.3, 11.6.0.8 or 11.2.12.10. Choose the line that matches your current major version.
  2. Restrict clients to TLS 1.3. The maintainers recommend this workaround. Confirm that the servers you connect to support TLS 1.3 first, or connections will fail.
  3. Use static RSA key transport only as a last resort. If a client must use TLS 1.2 and cannot take the fix yet, offering only static RSA suites avoids the unsigned ServerKeyExchange path. The maintainers discourage this because static RSA lacks forward secrecy, and many servers no longer support those suites, so handshakes may fail.

Rebuild and redeploy containers and releases, not just hosts. Erlang releases often bundle their own runtime, so patching the operating system package may not change what your application actually runs.

How can I verify certificate validation after patching?

The advisory gives the failure condition, so you can test against it. In a staging environment only:

  • Confirm the running OTP and ssl versions inside the deployed release, not just on the build machine.
  • Point the client at a test server you control that sends no Certificate message and an unsigned ServerKeyExchange on an ECDHE_RSA suite. A patched client should refuse the handshake.
  • Check that connections to a server presenting an invalid or untrusted certificate also fail, so your verification options (peer verification and a CA trust store) are really enabled.
  • Log handshake failures and alert on them, since a sudden rise can signal interception attempts or misconfigured peers.

General guidance on TLS configuration is available from NIST, and the Erlang/OTP project site hosts release information and advisories.

Why does this keep happening with Erlang/OTP?

The Hacker News notes that four critical-severity Erlang/OTP flaws were 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). Following public disclosure, CVE-2025-32433 came under active exploitation, with attacks against healthcare, agriculture, media and entertainment, and high technology sectors in the U.S., Canada, Brazil, India and Australia to deliver reverse shells.

The source does not report active exploitation of CVE-2026-124286. Still, the history shows how quickly attackers move once details are public, a pattern also seen in cases like attackers patching ActiveMQ CVE-2023-46604 to lock out rivals. An AitM requirement makes mass exploitation harder than a remote code execution bug, but targeted attacks on shared networks or cloud paths are realistic. Teams that track runtime-level issues alongside application dependencies will respond faster; our look at AI-assisted discovery of a GitHub dependency resolution flaw shows why that matters.

A short checklist for security teams

  • Inventory every Erlang, Elixir and OTP-based service, including vendor software that embeds the runtime.
  • Identify which ones make outbound TLS connections.
  • Patch to the fixed versions above, or enforce TLS 1.3 where servers allow it.
  • Re-test certificate validation after deployment.
  • Add Erlang/OTP advisories to your vulnerability feeds. For a similar process on another stack, see our guide on assessing PHP exposure.

The Bottom Line

The Erlang OTP TLS vulnerability turns a core promise of TLS, that a validated connection reaches the right server, into something a network attacker can fake against vulnerable TLS 1.2 clients. Your next step today: list every Erlang-based service that makes outbound TLS calls, upgrade it to a fixed OTP or ssl release, and test that a certificate-less handshake is now rejected.

Frequently Asked Questions

What is CVE-2026-124286?

It is a critical flaw (CVSS 9.1) in the Erlang/OTP TLS client. A malicious server that sends no Certificate message and an unsigned ServerKeyExchange can still complete a TLS 1.2 handshake, and the client treats the connection as authenticated.

Which Erlang/OTP versions are fixed?

The fixed releases are OTP 29.0.3, 28.5.0.9 and 27.3.4.14. For the ssl application, the fixed versions are 11.7.3, 11.6.0.8 and 11.2.12.10. Affected versions start at OTP 17.0 and ssl 5.3.4.

Does the flaw affect TLS 1.3 connections?

No. According to the advisory, TLS 1.3 connections are not affected. Restricting clients to TLS 1.3 is the recommended workaround, provided the servers they connect to support it.

Are Erlang servers vulnerable, or only clients?

The flaw impacts Erlang applications acting as TLS clients. Services that only accept incoming connections are outside the stated scope, but applications that also make outbound TLS calls should be patched.

Can an attacker exploit this from anywhere on the internet?

No, the attacker needs to be in an adversary-in-the-middle position between the client and the intended server. From there they can impersonate the server and read or modify traffic.

Is static RSA a safe workaround?

It is a last resort only. Offering only static RSA key transport suites avoids the vulnerable path, but it provides no forward secrecy and many servers no longer support those suites, so handshakes may fail.

Sources

Enjoyed this? Subscribe to the InnoVirtuoso newsletter for practical AI, security and tech insights — and share your thoughts in the comments.

Browse InnoVirtuoso for more!