CyberSecurityNews

Critical Erlang/OTP Flaw Could Let Hackers Impersonate TLS Servers and Intercept Encrypted Traffic


A critical Erlang/OTP flaw, CVE-2026-124286 (CVSS 9.1), disclosed on November 24, 2026, allows attackers to impersonate trusted servers and intercept or modify TLS-protected traffic.

The flaw affects TLS 1.2 clients, even those with server identity verification enabled, but does not impact TLS 1.3 connections. During the TLS handshake, clients use server certificates to verify the intended service’s identity and establish an encrypted connection.

On affected Erlang/OTP clients, some TLS 1.2 handshakes can finish without a server certificate, even though the client is configured to require server authentication. The connection is still encrypted, but the client has not proved whom it is talking to.

An attacker who can position themselves between the client and the real server can use that gap to impersonate the intended service. The attacker could read or alter data sent over that connection, such as API tokens, requests, or responses.

This is not a way to decrypt previously recorded traffic. It is a server impersonation flaw that puts the attacker at one end of a new encrypted connection. The advisory credits Philip Calvin with finding and privately reporting the issue.

The default client configuration is exposed because it offers TLS 1.2 and affected key exchange options. The flaw does not affect Erlang/OTP when it acts as a TLS server.

Critical Erlang/OTP Flaw

However, an application that accepts inbound connections can still be exposed when it makes outbound connections as a client. That is what sets this issue apart from the earlier Erlang/OTP SSH server vulnerability.

It is closer in impact to the OpenSSL server authentication flaw, although the two bugs affect different connection setups. The official Erlang/OTP security advisory traces the flaw back to OTP 17.0, and lists fixes in OTP 29.0.3, 28.5.0.9, and 27.3.4.14.

The matching fixed versions of the bundled SSL application are 11.7.3, 11.6.0.8, and 11.2.12.10. Maintainers said earlier security hardening had already fixed the issue on the OTP 29 and 27 branches. However, that change was mistakenly omitted from the OTP 28 branch.

The GitHub advisory recommends checking Erlang/OTP versions in production, including those bundled in container images and vendor packages. Prioritize applications that make outbound TLS connections to APIs, partner services, and internal systems.

After updating, confirm that the running service uses the patched runtime. Leaving peer verification enabled is important, but that setting alone does not protect an unpatched client from this flaw.

If an upgrade must wait, the project recommends restricting affected clients to TLS 1.3 only. Test that change against required services before rollout, since clients will no longer connect to endpoints that only support TLS 1.2.

The advisory lists static RSA as a last resort for clients that cannot leave TLS 1.2, but it lacks forward secrecy, and many servers no longer accept it. Patching remains the preferred fix.

What Are Leading Organizations Doing About AI and Cyber Risks? Find Out. View Details!



Source link