Erlang/OTP — Critical TLS Client Vulnerability Permits Server Impersonation and Traffic Interception (CVE-2026-124286)
Publication date: November 30, 2026
Category: Network Security / Vulnerability
Introduction
A critical security vulnerability has been disclosed in the TLS client implementation of Erlang/Open Telecom Platform (OTP), which can be exploited by an on-path network attacker to impersonate legitimate HTTPS/TLS servers and intercept encrypted communications. Discovered by security researcher Philip Calvin, the primary flaw is tracked as CVE-2026-124286 and impacts multiple versions across the framework. This finding follows a concerning sequence of critical vulnerabilities recently patched in the ecosystem, highlighting ongoing risks in cryptographic key exchange and authentication logic.
What is the Erlang/OTP TLS Client Vulnerability? (General Analysis)
The Erlang/OTP ecosystem provides foundational libraries for building distributed, fault-tolerant, high-availability systems. Within this framework, the transport security module (ssl) handles encrypted network connections utilizing TLS and DTLS protocols.
The vulnerability CVE-2026-124286 represents a severe flaw in cryptographic signature verification within the ssl_handshake module. Specifically, when a maliciously configured remote server omits the Certificate message and responds with an unsigned ServerKeyExchange —emulating an anonymous key exchange despite being requested as an authenticated suite— the client logic incorrectly parses the algorithm as anonymous (anon) and validates the operation positively without requiring a public key.
- CVE-2026-124286: CVSS v4.0 score of 9.1 (CRITICAL) [Official vector:
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]. CWE classification: CWE-347 (Improper Verification of Cryptographic Signature) [Confirmed NVD data].
How Does It Work? (Technical Analysis)
The exploitation mechanism relies on manipulating the TLS 1.2 or DTLS handshake protocol by an adversary-in-the-middle (AitM) attacker:
- Exploit Entry Phase: The Erlang/OTP client initiates a connection configured with strict server authentication. An attacker intercepts the network traffic and acts as an intermediary.
- Credential Omission: The malicious server controlled by the attacker withholds any digital certificate and presents a
ServerKeyExchangemessage lacking a digital signature. - Flawed Validation: The function
ssl_handshake:decode_server_key/3flags the algorithm asanon. Subsequently,ssl_handshake:verify_signature/5returns a successful validation (true) without verifying public keys. - Bypassed Security Checks: Because the client does not strictly mandate a certificate for authentication under this manipulated flow, the handshake completes successfully using cipher suites such as
ecdhe_rsa,ecdhe_ecdsa,dhe_rsa, ordhe_dss. Certificate path validation, custom verify functions (verify_fun), and hostname checks are completely bypassed. The functionssl:connect/3returns{ok, Socket}even though the counterpart lacks a verifiable identity.
Affected Systems / Environments
The issue affects the Erlang/OTP platform from version 17.0 prior to the security patch releases, directly impacting the ssl module.
| CVE | Category (CWE) | Impact | CVSS | Vector (summary) |
|---|---|---|---|---|
| CVE-2026-124286 | CWE-347 | Server impersonation & traffic interception | 9.1 (Critical) | AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H |
| CVE-2025-32433 | CWE-306 | Unauthenticated Remote Code Execution (SSH) | 10.0 (Critical) | AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| CVE-2022-37026 | Not reported | Client Authentication Bypass (SSL/TLS/DTLS) | 9.8 (Critical) | AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H |
| CVE-2026-55953 | CWE-757 | Unverified Cipher Suite Selection | 9.1 (Critical) | AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H |
| CVE-2026-89422 | CWE-322 | Key Exchange without Entity Authentication (TLS 1.3) | 9.3 (Critical) | AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H |
Version Notes:
- CVE-2026-124286: Affects OTP from OTP 17.0 prior to OTP 27.3.4.14, OTP 28.5.0.9, and OTP 29.0.3 (corresponding to
sslfrom 5.3.4 before 11.2.12.10, 11.6.0.8, and 11.7.3). - CVE-2025-32433: Exhibits active in-the-wild exploitation (listed in CISA KEV) targeting healthcare, agriculture, and high-tech sectors to deliver reverse shells.
Mitigation and Detection
Remediation
The highest priority for engineering and security teams is updating production environments to the patched releases provided by the Erlang/OTP project:
- Upgrade to OTP 27.3.4.14, OTP 28.5.0.9, OTP 29.0.3, or later.
- As a temporary mitigation where immediate patching is unfeasible, configure clients to use TLS 1.3 only (TLS 1.3 connections are immune to this specific vector).
- Avoid restricting clients exclusively to static RSA transport suites as a workaround due to the lack of forward secrecy and widespread server deprecation.
Detection
Defensive teams (Blue Teams) should implement the following monitoring guidelines:
- Network traffic auditing to identify TLS 1.2 handshakes utilizing anomalous anonymous ephemeral cipher suites or failing proper client certificate trust chain validation.
- Rigorous review of Erlang application logs for anomalies in connection states returned by
ssl:connect/3. - Monitoring for anomalous activity on exposed SSH servers associated with prior vectors like CVE-2025-32433.
Threat Intelligence Advisory: Attackers’ ability to forge identities by omitting signatures in TLS 1.2 entirely neutralizes default client trust mechanisms, permitting full reading and modification of application traffic without generating visible software layer alerts.
Wrapping Up
Recent vulnerabilities in Erlang/OTP —led by the cryptographic flaw CVE-2026-124286— underscore the inherent complexity of implementing intricate cryptographic protocols such as TLS and SSH. The capacity for attackers to force anonymous handshakes and evade certificate validation puts enterprise distributed systems at severe risk. Prompt framework upgrades and definitive migration toward TLS 1.3 are essential steps to narrow the attack surface.
References
- Erlang/OTP. (2026). Advisory: Improper Verification of Cryptographic Signature in ssl_handshake (CVE-2026-124286). GitHub Security Advisory. https://github.com/erlang/otp/security/advisories/GHSA-7mff-v332-665j
- Erlang/OTP. (2025). Advisory: Unauthenticated RCE in SSH server (CVE-2025-32433). GitHub Security Advisory. https://github.com/erlang/otp/security/advisories/GHSA-37cp-fgq5-7wc2
- Erlang/OTP. (2022). Advisory: Client Authentication Bypass in SSL/TLS/DTLS (CVE-2022-37026). GitHub Security Advisory. https://github.com/erlang/otp/security/advisories/GHSA-f7jg-qm7f-ppm8
- Erlang/OTP. (2026). Advisory: TLS 1.2 Client Cipher Suite Mismatch (CVE-2026-55953). GitHub Security Advisory. https://github.com/erlang/otp/security/advisories/GHSA-c6cw-pr89-w882
- Erlang/OTP. (2026). Advisory: Key Exchange without Entity Authentication in TLS 1.3 (CVE-2026-89422). GitHub Security Advisory. https://github.com/erlang/otp/security/advisories/GHSA-rgxr-4g4w-j875
- National Vulnerability Database (NVD). NIST NVD - CVE-2026-124286 Detail. https://cna.erlef.org/cves/CVE-2026-124286.html
- National Vulnerability Database (NVD). NIST NVD - CVE-2025-32433 Detail. https://github.com/erlang/otp/commit/0fcd9c56524b28615e8ece65fc0c3f66ef6e4c12
- Lakshmanan, R. (2026). Critical Erlang/OTP TLS Flaw Could Let Attackers Impersonate Servers and Intercept Encrypted Traffic. The Hacker News. https://thehackernews.com/2026/11/critical-erlangotp-tls-flaw-could-let.html