TLS Authentication Bypass: Why Erlang’s Workarounds Cancel Out
Key points
- Erlang/OTP's ssl library has repeatedly treated a missing proof as a passed check: no server Certificate in TLS 1.2 (CVE-2026-124286, CVSS 9.1), an unoffered pre_shared_key in TLS 1.3 (CVE-2026-89422, CVSS 9.3), and a skippable client signature on servers that demand client certificates (EEF CNA, 2026b; The Hacker News, 2026; IngelaAndin, 2025).
- The configuration workarounds cancel each other out: the TLS 1.2 flaw's advice is to go TLS 1.3-only, while the TLS 1.3 flaw's only stopgap is to force TLS 1.2, and its advisory states that no configuration both keeps TLS 1.3 and mitigates it (EEF CNA, 2026a; EEF CNA, 2026b).
- Default client settings are exposed on both paths, because default ssl:connect allows TLS 1.2 and the default TLS 1.3 client is affected even with session tickets disabled, reaching httpc over HTTPS, database and messaging clients and TLS distribution (EEF CNA, 2026a; EEF CNA, 2026b; Guard, 2026).
- Patch targets differ per flaw: on the OTP 28 train, 28.5.0.7 fixes the TLS 1.3 bug but the TLS 1.2 bug needs 28.5.0.9, partly because an earlier hardening fix reached OTP 29 and OTP 27 but accidentally skipped OTP 28 (EEF CNA, 2026a; EEF CNA, 2026b; IngelaAndin, 2026).
- Severity is contested: Red Hat cut the related CVE-2026-55953 from 9.1 to 7.4 because it needs an on-path attacker, yet the TLS 1.3 bug's own vector lists no special attack requirements, since the attacker can simply be the host the client dials (access.redhat.com, 2026; EEF CNA, 2026b).
- Erlang/OTP has fixed four critical flaws in about a year, and the CVSS 10.0 CVE-2025-32433 was exploited in the wild to drop reverse shells on healthcare, agriculture, media and tech targets in five countries (The Hacker News, 2026).
What Is a TLS Authentication Bypass?
TLS does two jobs at once. It encrypts traffic, and it proves who is on the other end. A client that sets verify_peer, loads trusted CA certificates and names the host it expects is asking for both: the server must present a certificate that chains to a trusted root, match the hostname, and sign the handshake with the matching private key (EEF CNA, 2026a; IngelaAndin, 2026).
A TLS authentication bypass is what happens when the first job succeeds and the second silently does not. Keys are derived, records are encrypted, the application gets a working socket, but the identity check never ran. Security teams usually describe the result as server impersonation or a man-in-the-middle attack, now often written adversary-in-the-middle or AitM (EEF CNA, 2026b; The Hacker News, 2026). The weakness catalogs give it more formal names: CWE-347, Improper Verification of Cryptographic Signature, for the TLS 1.2 flaw (EEF CNA, 2026a), and CWE-322, Key Exchange without Entity Authentication, for the TLS 1.3 flaw (EEF CNA, 2026b).
It is not a break of the encryption itself. The ciphers hold up fine. The traffic really is encrypted, just to the wrong party, who holds the keys and can read and rewrite everything (EEF CNA, 2026a; EEF CNA, 2026b). The tell in Erlang is concrete: ssl:connect returns {ok, Socket} with verify_peer set, while ssl:peercert/1 on that same socket reports that there is no peer certificate at all (EEF CNA, 2026a; Guard, 2026).
When Absence Counts as Proof
Read the Erlang/OTP advisories side by side and a single design failure keeps reappearing. Each bug is a place where the handshake state machine sees that a piece of evidence is missing and, instead of aborting, reroutes itself onto a branch where that evidence was never required.
In the TLS 1.2 client, a ServerKeyExchange with no signature is decoded as the anonymous signature algorithm, and the verification routine has a clause that returns true for anonymous with any key, including no key at all (EEF CNA, 2026a; osv.dev, 2026). In the TLS 1.3 client, the mere presence of a pre_shared_key extension in the ServerHello flips an internal resumption flag, even if the client never offered a PSK, and the handshake skips every certificate-handling state (EEF CNA, 2026b). On the server side, a separate logic error let a server accept a client certificate without checking the signature in the client’s CertificateVerify message, the step that proves the client actually owns that certificate (IngelaAndin, 2025). And in CVE-2026-55953, the client could be tricked into accepting an anonymous cipher suite it never offered (access.redhat.com, 2026).
None of these is an exotic cryptographic attack. Each is the peer telling the client which branch of the protocol it is on, and the client believing it. That shared anatomy is the real story, and it explains why the fixes and workarounds behave so awkwardly when you try to apply them together.
TLS 1.2: Anonymous in Disguise
CVE-2026-124286, rated 9.1 and credited to researcher Philip Calvin, lets an attacker impersonate any server to an Erlang TLS 1.2 or DTLS 1.2 client (EEF CNA, 2026a; The Hacker News, 2026). The mechanics run in three steps. First, the internal decoder maps an empty signature, a zero-length signature, or the anonymous algorithm with an empty signature to anon, and it does so for every key exchange, not only the anonymous ones. Second, because no Certificate message arrived, the stored public key is undefined, and the verification clause for anon matches anyway. Third, the client never checks that it received a certificate before processing ServerHelloDone, so it derives the master secret from the attacker’s unauthenticated Diffie-Hellman parameters and finishes the handshake (EEF CNA, 2026a; osv.dev, 2026).

The affected key exchanges are ecdhe_rsa, ecdhe_ecdsa, dhe_rsa and dhe_dss. Suites that never send a ServerKeyExchange, namely static rsa, ecdh_rsa and ecdh_ecdsa, are not affected, and neither are servers (EEF CNA, 2026a; IngelaAndin, 2026). Crucially, the attacker picks the cipher suite, so the kind of key on the real server’s certificate is irrelevant, and the default client configuration offers the vulnerable suites (IngelaAndin, 2026). Certificate path validation, any custom verify_fun and the hostname check simply never execute (EEF CNA, 2026a).
The bug is old. It reaches back to OTP 17.0 and ssl 5.3.4, and the maintainers note that releases before 17.0 are not even listed because their versioning is not comparable (EEF CNA, 2026a; IngelaAndin, 2026). Adjacent to it sits CVE-2026-55953, a separately tracked TLS 1.2 and DTLS client flaw in which an on-path attacker gets an unoffered anonymous suite accepted and completes the handshake with no valid server certificate (access.redhat.com, 2026). Two distinct bugs, one outcome: an authenticated-looking session with nobody authenticated.
TLS 1.3: The Resumption That Never Happened
Moving to the newer protocol does not escape the pattern. CVE-2026-89422, rated 9.3 under CVSS 4.0, affects the Erlang TLS 1.3 client from OTP 22.2 and ssl 9.5 onward (EEF CNA, 2026b; Guard, 2026; The Hacker News, 2026). When a ServerHello carries a pre_shared_key extension, the client marks the session as resumed on that presence alone. Meanwhile the PSK lookup falls back to the all-zero value used when no PSK exists, so the handshake is keyed with the ordinary schedule and the attacker’s own ephemeral key is enough. The resumption flag then sends the state machine straight to waiting for Finished (EEF CNA, 2026b).
Everything that would have stopped an impostor is skipped: certificate path validation, verify_fun, hostname verification, partial_chain handling, CRL checks and OCSP stapling (EEF CNA, 2026b). The peer needs no certificate, no private key and no prior session (EEF CNA, 2026b; Guard, 2026). This is not a corner case for unusual ticket setups either. The recommended client configuration is in scope with session tickets at their default of disabled, and the manual and auto ticket modes are equally exposed whenever the client has no ticket to offer, which includes every first connection to a host (Guard, 2026).
The blast radius is broad. Any consumer of ssl:connect that negotiates TLS 1.3 is affected, including httpc over HTTPS, database and messaging client libraries, and TLS distribution clients, and the attacker who wins the handshake can read credentials, tokens and request bodies and forge every response (EEF CNA, 2026b). In practice that reaches Elixir releases, RabbitMQ nodes, CouchDB, ejabberd and custom clients built on OTP (Guard, 2026). On an affected connection there are two visible clues: no peer certificate despite verify_peer, and connection information reporting session resumption for a client that never held a ticket (Guard, 2026).
Servers Have Their Own Gap
The TLS 1.2 advisory is explicit that servers are not affected by that particular flaw (EEF CNA, 2026a). It would be a mistake to read that as a clean bill of health for the server side. A separate Erlang/OTP advisory describes a logic error in which an SSL, TLS or DTLS server accepted client certificates without confirming that the connecting client actually held the private key, because verification of the CertificateVerify signature could be skipped (IngelaAndin, 2025).
The exposure is narrower than the client bugs but sharper where it applies: only servers that request client certificates by setting verify_peer are affected, whether they use the ssl application directly or through layers such as the inets httpd server or cowboy (IngelaAndin, 2025). Mutual TLS is typically deployed precisely where identity matters most, which means an attacker presenting someone else’s certificate could be admitted as that party. The advisory adds that versions before OTP 17.0 are likely affected too (IngelaAndin, 2025).
A same-day sibling widens the server-side concern. CVE-2026-65634, rated 8.2, is a quadratic-time decode of ASN.1 object identifiers in the BER, PER and JER decoders that parse X.509 certificates. A crafted identifier of roughly 262 KB of continuation bytes can consume about 13 seconds of CPU, and it runs before any signature or trust-chain check, so default TLS clients and mutual TLS servers that parse client certificates are exposed (Guard, 2026). It is a denial of service, not an authentication bypass, but it shows how much unauthenticated input reaches the certificate code before trust is established.
Workarounds That Point Opposite Ways
Here is where reading the advisories together changes the operational picture. Each one offers a reasonable-sounding stopgap. Put next to each other, they contradict.
For the TLS 1.2 flaw, the recommended workaround is to restrict clients to TLS 1.3, which is described as unaffected (EEF CNA, 2026a; IngelaAndin, 2026). As a last resort, a client stuck on TLS 1.2 can offer only static RSA key transport suites, which have no ServerKeyExchange to forge, though this abandons forward secrecy and many servers no longer accept those suites, so handshakes may just fail (The Hacker News, 2026; IngelaAndin, 2026). For CVE-2026-55953, the stopgap is to explicitly disable anonymous suites or, again, go TLS 1.3-only, on the grounds that the TLS 1.3 client path independently validates the negotiated cipher suite (access.redhat.com, 2026).
For the TLS 1.3 flaw, the advice is the mirror image: force affected clients to TLS 1.2 by setting versions to tlsv1.2, at the cost of losing TLS 1.3. Its advisory is blunt that no configuration both keeps TLS 1.3 and mitigates the issue (EEF CNA, 2026b; Guard, 2026).
So an unpatched client that follows the first advisory walks into the second bug, and one that follows the second walks back into the first. The only configuration that sidesteps both is TLS 1.2 limited to static RSA key transport, the option its own authors call not recommended (IngelaAndin, 2026). Even that is not clearly a safe harbor: CVE-2026-55953 concerns a suite the client never offered, and the sources do not settle whether trimming the offered list alone defeats it. The honest conclusion is that for this family of bugs, configuration is not a mitigation strategy. It is a temporary bet on which flaw an attacker is less likely to use.
How Severe Is Severe?
The scoring around these bugs is not settled, and the disagreement matters for anyone who triages by number. Red Hat, acting as its own CVE Naming Authority, rated CVE-2026-55953 Important at 7.4 rather than Critical at 9.1. Its reasoning: exploitation needs an attacker positioned on the network path, and the CVSS 3.1 specification treats injecting oneself into the logical path as the canonical case of high attack complexity (access.redhat.com, 2026). Red Hat notes that the CVSS 4.0 vector expresses the same condition as an attack requirement being present (access.redhat.com, 2026), and the TLS 1.2 advisory for CVE-2026-124286 uses exactly that marker in its own vector, while still reaching 9.1 (EEF CNA, 2026a; The Hacker News, 2026).
That logic has a limit, and the TLS 1.3 bug reveals it. Its CVSS 4.0 vector lists no attack requirements at all, because the attacker does not need to sit in the middle: it can be the host the client dials, or an on-path party (EEF CNA, 2026b). Any Erlang client that connects to an address an attacker controls or can influence completes a handshake that looks verified. The on-path discount that softens the TLS 1.2 scores does not obviously transfer.
The practical lesson is that a downgraded score reflects a judgment about attacker positioning, not a judgment that authentication works. Every one of these bugs, scored high or very high, ends with full read and write access to the application data on the connection (access.redhat.com, 2026; EEF CNA, 2026a; EEF CNA, 2026b).
Patch Trains and Version Drift
Erlang/OTP ships fixes on several parallel release trains, and the fix points for these bugs do not line up. CVE-2026-124286 is fixed in OTP 29.0.3, 28.5.0.9 and 27.3.4.14, matching ssl 11.7.3, 11.6.0.8 and 11.2.12.10 (EEF CNA, 2026a; The Hacker News, 2026). CVE-2026-89422 is fixed in OTP 29.1.1, 28.5.0.7 and 27.3.4.18, matching ssl 11.7.7, 11.6.0.6 and 11.2.12.13 (EEF CNA, 2026b; Guard, 2026).
Do the arithmetic on the OTP 28 train and a trap appears. Release 28.5.0.7 clears the TLS 1.3 bug, yet sits below 28.5.0.9, the first OTP 28 release outside the TLS 1.2 bug’s affected range (EEF CNA, 2026a). Operator guidance written for the TLS 1.3 cluster correctly calls 28.5.0.7 patched for that cluster (Guard, 2026), but a team that stops there on the strength of that guidance alone would still be exposed to server impersonation over TLS 1.2. The safe targets are the higher number on each train: 29.1.1, 28.5.0.9 and 27.3.4.18.
The OTP 28 gap has a history. The TLS 1.2 advisory notes that the underlying problem had already been fixed on OTP 29 and OTP 27 before disclosure, as hardening for a different scenario, but that the change was accidentally left off the OTP 28 track (IngelaAndin, 2026). That is the kind of drift that becomes likely when fixes travel down several maintained branches at once.
The upgrade also has to land everywhere OTP is embedded. Every BEAM release, container image and host package needs rebuilding, and the same patch train carries two more fixes: CVE-2026-68956, a 7.1-rated SSH memory exhaustion in which idle session channels escape the max_channels limit, and the ASN.1 decoding issue (Guard, 2026). Checking the actual running OTP release, rather than the version a team believes it deployed, is a step worth doing explicitly (Guard, 2026).
What Adversarial Testing Exposed
The TLS 1.2 bypass was not demonstrated with a bespoke exploit. The advisory’s proof of concept uses the UnauthenticatedECDH test from BoringSSL’s test runner, known as BoGo, which plays a server that selects an ECDHE_RSA suite, sends x25519 key parameters with no signature, and never sends a Certificate message (EEF CNA, 2026a; osv.dev, 2026). A vulnerable Erlang client connects with full verification options set, returns a working socket, and sends application data the server can decrypt. A fixed client aborts with a fatal alert after the very first malicious step (EEF CNA, 2026a).
That runner is a Go harness dating from 2016 that drives an implementation under test, called a shim, through TLS, DTLS and QUIC scenarios. Each test case can declare that the shim should fail and which error it should report, and the harness builds its own test certificates and keys across RSA, ECDSA, Ed25519 and ML-DSA (ssl/test/runner/runner.go – boringssl, 2026). In other words, it is built to ask the question these bugs fail: does the implementation refuse when it should?
Two further details round out the discovery picture. Philip Calvin is credited with finding and responsibly disclosing the TLS 1.2 flaw (The Hacker News, 2026; IngelaAndin, 2026), and the advisory notes the report was submitted with AI assistance (IngelaAndin, 2026). The OSV record, meanwhile, pins the flaw to specific routines, including the server key decoding and signature verification functions and the ssl:connect entry points, along with CWE-347 and CAPEC-475, Signature Spoofing by Improper Validation (osv.dev, 2026). That precision helps dependency scanners flag affected builds, but it also shows how small the faulty code paths are relative to the damage they do.
A Target That Is Already Being Hit
These bypasses arrive in a crowded year. Over roughly the last twelve months, Erlang/OTP has addressed four critical flaws: CVE-2025-32433 at 10.0, CVE-2022-37026 at 9.8, CVE-2026-55953 at 9.1 and CVE-2026-89422 at 9.3 (The Hacker News, 2026). After CVE-2025-32433 was disclosed, attackers exploited it in the wild against healthcare, agriculture, media and entertainment, and high technology organizations in the U.S., Canada, Brazil, India and Australia, delivering reverse shells (The Hacker News, 2026).

None of the sources reports in-the-wild exploitation of the TLS authentication bypasses themselves, and that distinction should be kept straight. But the record shows Erlang infrastructure is watched by people who move quickly after disclosure, and a one-line test server from a public suite is enough to reproduce the TLS 1.2 flaw (EEF CNA, 2026a).
The steps follow directly from the argument above. Upgrade to the higher fix on your train, 29.1.1, 28.5.0.9 or 27.3.4.18, and rebuild everything that embeds OTP (EEF CNA, 2026a; EEF CNA, 2026b; Guard, 2026). Treat version restrictions as short-lived bets rather than mitigations, because the TLS 1.3-only and TLS 1.2-only advice each leaves one bypass open (EEF CNA, 2026a; EEF CNA, 2026b). If you run mutual TLS servers, confirm you are on releases fixed for the client certificate bypass (IngelaAndin, 2025). And instrument the tell: a socket opened with verify_peer that reports no peer certificate, or reports a resumed session the client never requested, is not a quirk. It is the signature of an attacker sitting where the server should be (EEF CNA, 2026a; Guard, 2026).
References
- access.redhat.com. (2026, July 27). CVE-2026-55953 – Red Hat Customer Portal. https://access.redhat.com/security/cve/cve-2026-55953
- EEF CNA. (2026a, November 24). TLS 1.2 Client Completes Handshake Without a Server Certificate. https://cna.erlef.org/cves/CVE-2026-124286.html
- EEF CNA. (2026b, September 22). TLS 1.3 client skips server authentication when ServerHello carries an unsolicited pre_shared_key extension. https://cna.erlef.org/cves/CVE-2026-89422.html
- Guard, H. (2026, September 22). Your Erlang TLS 1.3 client can trust a server with no certificate. HashgraphOnline. https://hol.org/blog/cve-2026-89422-erlang-otp-tls13-unsolicited-psk-auth-bypass
- The Hacker News. (2026, November 30). Critical Erlang/OTP TLS Flaw Could Let Attackers Impersonate Servers and Intercept Encrypted Traffic. https://thehackernews.com/2026/11/critical-erlangotp-tls-flaw-could-let.html
- IngelaAndin. (2025, September 11). TLS Client Authentication Bypass. GitHub. https://github.com/erlang/otp/security/advisories/GHSA-f7jg-qm7f-ppm8
- IngelaAndin. (2026, November 24). TLS 1.2 Client Completes Handshake Without a Server Certificate. GitHub. https://github.com/erlang/otp/security/advisories/GHSA-7mff-v332-665j
- osv.dev. (2026, November 24). OSV record EEF-CVE-2026-124286. https://osv.dev/vulnerability/EEF-CVE-2026-124286
- ssl/test/runner/runner.go – boringssl. (2026, January 1). Git at Google. https://boringssl.googlesource.com/boringssl/+/HEAD/ssl/test/runner/runner.go

Powered by News Ranker