Critical Erlang/OTP Flaw Lets Attackers Impersonate TLS Servers

This week, a high-severity security vulnerability was disclosed in Erlang/OTP under CVE-2026-124286, carrying a CVSS score of 9.1. The flaw allows attackers to pose as trusted TLS servers and intercept or alter encrypted communications when clients use TLS 1.2—even if server identity verification is enabled. TLS 1.3 remains unaffected by this issue. The bug was publicly revealed on November 24, 2026.

How the Vulnerability Works

Typically, TLS handshakes involve clients verifying server certificates to ensure they’re connecting with the right service. However, certain Erlang/OTP clients using TLS 1.2 and specific key exchange settings can complete this handshake without ever receiving a server certificate. The connection is encrypted—but the client has no proof of the server’s identity.

An attacker positioned between the client and a legitimate server can exploit this mismatch to impersonate the intended destination. Once in place, the attacker could access or modify data flowing through the connection, including sensitive elements like API tokens or requests and responses. Importantly, this weakness doesn’t enable decryption of previously recorded TLS conversations—it only affects new connections where the client is vulnerable.

Scope, Impact, and Where the Fix Comes In

The issue stems from how Erlang/OTP clients are configured by default, especially when they allow TLS 1.2 and include certain key exchange options. The problem doesn’t affect Erlang/OTP functioning as a server. Also, it can’t be remedied by tweaking user settings alone—software must be patched.

The vulnerability can be traced back as far as Erlang/OTP version 17.0. Fixes have been released in versions 29.0.3, 28.5.0.9, and 27.3.4.14. These updates include corrected SSL application builds—namely, versions 11.7.3, 11.6.0.8, and 11.2.12.10. Although earlier efforts had already resolved the issue on OTP 29 and OTP 27 branches, a change had inadvertently been left out of OTP 28.

Until systems are updated, there are mitigation paths. One is to explicitly drop TLS 1.2 support and use only TLS 1.3, though this could break compatibility with servers that don’t yet support TLS 1.3. Another fallback is using static RSA key exchange in TLS 1.2, but that has its own drawbacks—chief among them, lack of forward secrecy and increasing rejection by many servers.

What Developers Should Do Now

  • Audit all production systems running Erlang/OTP, including container images and vendor packages, especially those establishing outbound TLS connections—APIs, partner services, or internal tools.
  • Upgrade to one of the patched versions: OTP 29.0.3, 28.5.0.9, or 27.3.4.14, which include the fixed SSL application builds.
  • If upgrades aren’t immediately possible, enforce TLS 1.3-only connections on vulnerable clients where feasible—and test to ensure required endpoints are compatible.
  • Maintain peer verification (server identity checks), but recognize that without the patch, verification alone isn’t sufficient to protect against this defect.

Analytical Take: This flaw highlights once again how default configurations—especially support for older protocols like TLS 1.2—can introduce critical security gaps even when identity verification seems in place. As the software ecosystem gradually moves toward stronger, more secure defaults, vulnerabilities like this put pressure on organizations to accelerate upgrades. Teams using Erlang/OTP should prioritize this fix urgently, and wider industry effort should aim to discontinue deprecated TLS versions to reduce exposure.