For 145 days, two of the three supported Erlang/OTP release lines had a fix that the third did not. On 24 November 2026 that fix finally reached OTP 28 and received a name: CVE-2026-124286, a critical bug that lets an attacker in the network path pose as any TLS 1.2 server to an Erlang client.
In short: Erlang/OTP CVE-2026-124286 makes the TLS 1.2 client in OTP’s ssl application complete a handshake when the server sends no certificate at all, even with full certificate verification turned on. It affects OTP 17.0 up to 27.3.4.14, 28.5.0.9 and 29.0.3, and the fix is to upgrade OTP.
- What is CVE-2026-124286?
- How does the Erlang TLS bypass work?
- Why did OTP 28 get the fix 145 days late?
- Who is affected, and how do you check exposure?
- Is CVE-2026-124286 exploited in the wild?
- How does it compare to other Erlang TLS and SSH flaws?
- How do you detect exploitation of CVE-2026-124286?
- How do you fix it? Mitigation in priority order
- Open questions
- The bottom line
- Sources
What is CVE-2026-124286?
CVE-2026-124286 is a server authentication bypass in the TLS 1.2 and DTLS 1.2 client of Erlang/OTP. The Erlang Ecosystem Foundation (EEF), which acts as the CVE Numbering Authority (CNA) for the Erlang world, published it on 24 November 2026 under the title “TLS 1.2 Client Completes Handshake Without a Server Certificate”.
Erlang/OTP is the runtime and standard library behind Erlang, Elixir and other languages on the BEAM virtual machine. Its ssl application provides TLS for everything from HTTP clients to message brokers.
The EEF rates the flaw 9.1 (Critical) under CVSS 4.0. Red Hat scores it 7.4 (High) under CVSS 3.1, mainly because it rates attack complexity as high. The weakness is CWE-347, improper verification of a cryptographic signature.
The CNA record credits Phillip Calvin as reporter, Jonatan Männchen of the EEF as coordinator and Ingela Anderton Andin as the developer of the fix.
What is an on-path attacker?
An on-path attacker, also called adversary-in-the-middle, sits between a client and the server it wants to reach. That position comes from a compromised router, a rogue Wi-Fi access point, DNS or ARP spoofing, or control of a hop inside a cloud network. TLS exists precisely to stop such an attacker, which is why a bug that removes server authentication rates as critical.
How does the Erlang TLS bypass work?
A normal TLS 1.2 handshake with an ECDHE_RSA cipher suite has the server send two things that matter here: a Certificate message proving who it is, and a ServerKeyExchange message carrying its ephemeral key, signed with the private key that matches the certificate. The client checks the certificate chain, checks the hostname, then checks the signature. Without all three, the key exchange is unauthenticated.
The EEF’s technical analysis describes three steps that break this chain in OTP. This is a conceptual walk-through; the record itself has the full detail.
Step 1: an empty signature becomes “anon”
When the client decodes the ServerKeyExchange, an internal function maps a missing or zero-length signature to the signature algorithm anon. It does this for every key exchange type, not only the anonymous Diffie-Hellman suites where unsigned keys are expected.
Step 2: the “anon” check always passes
Because no Certificate message arrived, the client has no server public key stored. The signature verification function has a clause that returns true for anon with any key, including no key. So the check that should fail succeeds.
Step 3: nothing notices the missing certificate
The client never confirms that it received a certificate before it processes ServerHelloDone. It derives the session keys from the attacker’s key, finishes the handshake, and ssl:connect/3 returns {ok, Socket}. Per the CNA record, certificate path validation, verify_fun and the hostname check never run, and the attacker can read and modify all application data on the connection.
Which cipher suites are affected?
The bug needs a ServerKeyExchange message, so it applies to the ecdhe_rsa, ecdhe_ecdsa, dhe_rsa and dhe_dss key exchanges. Those are the forward-secret suites that almost every modern TLS 1.2 connection negotiates. Static RSA and static ECDH suites send no ServerKeyExchange and are not affected.
The CNA’s proof-of-concept description points to BoringSSL’s test runner, which already contains a server for exactly this case, a test named UnauthenticatedECDH. In other words, the bug is the kind that standard TLS conformance testing is designed to catch. No exploit code has been published by the reporter.
Why did OTP 28 get the fix 145 days late?
This is the part most coverage skips, and the GitHub history makes it clear.
On 9 June 2026, a commit titled “ssl: Make anonymous handling stricter” changed only ssl_handshake.erl. Its message described the change as possibly affecting only legacy DHE_DSS. That commit shipped in OTP 27.3.4.14 and OTP 29.0.3 on 2 July 2026, which are exactly the versions the CNA now lists as fixed on those lines.
OTP 28 did not get it. A comparison of the release tags shows that OTP 28.5.0.8, released on 14 October, does not contain the June commit. A second commit with the same title landed on 13 November and shipped in OTP 28.5.0.9 on 24 November, the day the CVE and GitHub advisory GHSA-7mff-v332-665j went public. Wisevoter reports that the OTP 28 branch omitted the earlier change by mistake, and ZeroHour also says the branch missed it.
The CNA record traces the vulnerable code to a commit from 20 September 2012 that simplified how the ssl application encodes and verifies server keys. The affected range starts at OTP 17.0, so the flaw sat in shipped releases for more than a decade.
What this means in practice
If you kept OTP 27 or 29 patched, you were protected from 2 July without knowing it. If you ran a fully patched OTP 28, you were not, and nothing told you until 24 November. That is the uncomfortable lesson: being on the latest patch of your branch was not enough for 145 days.
Who is affected, and how do you check exposure?
You are exposed when three conditions hold at once.
Condition 1: an affected OTP release
Affected releases are OTP 17.0 and later before 27.3.4.14, 28.5.0.9 and 29.0.3. In ssl application versions that is 5.3.4 and later before 11.2.12.10, 11.6.0.8 and 11.7.3. Anything older than OTP 27 is affected and, on most distributions, no longer receives fixes.
Ways to find the version:
- In a running node,
erlang:system_info(otp_release)gives the major release, andapplication:which_applications()lists the loaded ssl version, which maps directly to the CNA’s ssl ranges. - On disk, each OTP install keeps its full version in
releases/<major>/OTP_VERSION. - Check container base images,
.tool-versionsorasdffiles, and packages from your distribution. Red Hat’s entry, as listed on OpenCVE, marks its own Erlang builds and several OpenStack Platform versions as affected.
Condition 2: outbound TLS 1.2 client connections
Only the client side is affected, and only for TLS 1.2 and DTLS 1.2. An Erlang node that only accepts TLS connections as a server is not exposed through this bug. The risk sits in outbound calls: HTTP clients calling APIs, database drivers, message brokers connecting to peers or upstreams, federation links in chat servers, and webhook senders.
RabbitMQ is a good example of how wide this is. Its compatibility page lists OTP 27, 28 and 29 as the supported runtimes for current releases, so a broker on an affected OTP that opens TLS 1.2 client connections, for example through shovels or federation, is in scope.
Condition 3: an attacker in the path
The attacker must be able to intercept the connection. That is a real prerequisite, and it is why Red Hat rates attack complexity as high. But internal networks, shared cloud segments and public Wi-Fi all provide such positions, and the payoff is full read and write access to the traffic, including credentials and tokens.
Is CVE-2026-124286 exploited in the wild?
No exploitation has been reported. CISA’s Known Exploited Vulnerabilities catalog (version 2026.11.27, 1,808 entries) does not list it, and OpenCVE showed an EPSS score of about 0.37 percent.
That could change. The proof-of-concept setup is described in the public CNA record, and the test server it relies on already exists in open-source TLS test tooling. Erlang flaws do get exploited: CVE-2025-32433, the OTP SSH server bug, has been in KEV since 9 June 2025.
How does it compare to other Erlang TLS and SSH flaws?
CVE-2026-124286 follows two other ssl application CVEs the EEF published since September. Together they show a pattern of authentication checks being skipped in edge cases of the handshake.
| CVE | Component | Published | Severity | What breaks |
|---|---|---|---|---|
| CVE-2026-124286 | ssl, TLS 1.2 client | 24 Nov 2026 | Critical, 9.1 | Server authentication skipped when no certificate is sent |
| CVE-2026-89422 | ssl, TLS 1.3 client | 22 Sep 2026 | Critical, 9.3 | Server authentication skipped via an unsolicited pre_shared_key extension |
| CVE-2026-105236 | ssl, TLS 1.2 server | 14 Oct 2026 | Medium, 6.3 | Client certificate trust crosses SNI virtual hosts on session resumption |
| CVE-2025-32433 | ssh server | 2025 | In CISA KEV since 9 Jun 2025 | Missing authentication for a critical function |
The workaround trap
CVE-2026-124286 and CVE-2026-89422 are mirror images. The first breaks the TLS 1.2 client; the second broke the TLS 1.3 client. The EEF says the default client configuration was affected by CVE-2026-89422 and that clients restricted to TLS 1.2 were not.
The suggested workaround for the new bug is to restrict clients to TLS 1.3. That only works on a release where CVE-2026-89422 is already fixed: OTP 27.3.4.18, 28.5.0.7 or 29.1.1 and later. On anything older, our reading of the two records is that switching to TLS 1.3-only trades one server impersonation bug for another. If you are that far behind, skip the workaround and upgrade.
This repeats a pattern seen in other recent cases, such as the Drupal Fail2Install flaw where the first patch was not enough and the SignDrop zero-day where Microsoft’s CLFS fix became the bug. A fix is only as good as the branch and the configuration it actually reaches.
How do you detect exploitation of CVE-2026-124286?
Detection is hard because the victim is the client and the attack happens on the network. The advisories publish no indicators of compromise. The ideas below are hunting suggestions based on how the bug works, not vendor guidance.
Network sensors
- In TLS 1.2, the server certificate travels in clear text. Look for completed TLS 1.2 handshakes from Erlang hosts that used an ECDHE or DHE cipher suite but carried no server certificate. In Zeek, that is an
ssl.logentry marked established with an empty certificate chain. - Watch for internal hosts suddenly answering on the IP addresses or ports of known upstream services, and for DNS or ARP anomalies around your Erlang clients.
Application telemetry
- The CNA record notes that
ssl:peercert/1returns{error, no_peercert}on a socket opened through this bug. Code that logs the peer certificate’s subject after connecting would record that error, which a correctly verified TLS 1.2 connection never produces. - Watch for unexpected authentication failures or token reuse after a client sent credentials to an upstream service.
ATT&CK mapping
The attack maps most closely to T1557, Adversary-in-the-Middle, followed by credential capture over the intercepted channel. This mapping is ours; the advisories cite CAPEC-475, signature spoofing by improper validation.
How do you fix it? Mitigation in priority order
- Upgrade OTP. Move to 27.3.4.14, 28.5.0.9 or 29.0.3 or later. The newest releases on 24 November were 27.3.4.20, 28.5.0.9 and 29.1.3, which are also past the fixed versions for CVE-2026-89422.
- Restart and rebuild. The fix only applies once nodes run the new ssl application. Rebuild container images and Elixir or Erlang releases that bundle their own OTP runtime, because an operating system package update does not touch them.
- Prioritise OTP 28 hosts. They are the ones that stayed exposed even when fully patched until 24 November.
- Use the workaround only as a bridge. Set
{versions, ['tlsv1.3']}on client connections, but only on releases already fixed for CVE-2026-89422. If a client must use TLS 1.2, the EEF suggests offering only static RSA key-exchange suites, which have no forward secrecy and are refused by many servers. - Add a second layer for sensitive links. Mutual TLS, application-level signing or a service mesh that terminates TLS outside the Erlang process reduce the impact if a client is ever fooled again.
- Keep verify_peer on. It did not stop this bug, but OTP’s documentation notes the client default changed to verify_peer in OTP 26, and turning it off removes protection against every other impersonation attack.
Open questions
- Was the June change known to be a security fix? Its commit message called it a possible issue for legacy DHE_DSS only. The sources do not say when the full impact on ECDHE suites was understood.
- Why did the OTP 28 backport fail? Wisevoter and ZeroHour report a mistake, but no source explains how the change was missed.
- Which downstream products are exposed? No vendor besides Red Hat had published an impact statement in the sources reviewed. RabbitMQ, Elixir frameworks and other BEAM-based products depend on which OTP they ship.
- How serious is it really? The EEF says 9.1, Red Hat says 7.4. Both agree the attacker needs an on-path position.
The bottom line
CVE-2026-124286 lets an attacker in the network path impersonate any TLS 1.2 server to an Erlang client, and verify_peer does not stop it. The fix had existed for OTP 27 and 29 since July, but fully patched OTP 28 systems stayed exposed until 24 November. Upgrade to the 24 November releases, rebuild anything that bundles OTP, and do not rely on the TLS 1.3-only workaround on releases that predate the CVE-2026-89422 fix.
For another case where a patch arrived but did not end the risk, see OpenSSH sshole and the 40 hours from patch to root.
Sources
- EEF CNA record: CVE-2026-124286
- EEF CNA record: CVE-2026-89422
- EEF CNA record: CVE-2026-105236
- GitHub security advisory GHSA-7mff-v332-665j (erlang/otp)
- erlang/otp commit d9a9319: ssl: Make anonymous handling stricter
- erlang/otp commit 74782af: ssl: Make anonymous handling stricter
- Erlang/OTP releases on GitHub
- OpenCVE: CVE-2026-124286
- Cyber Press: Critical Erlang/OTP vulnerability lets attackers impersonate TLS servers
- Wisevoter: Erlang/OTP flaw exposes TLS 1.2 clients to spoofing
- ZeroHour: Erlang/OTP TLS 1.2 clients can skip server certificate checks
- Erlang ssl application documentation
- RabbitMQ: Erlang version requirements
- CISA Known Exploited Vulnerabilities catalog
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.