An Erlang/OTP TLS client configured with full server authentication can still complete a handshake against an impersonated HTTPS server. Researchers disclosed that bug as CVE-2026-124286, scored 9.1, in the OTP TLS client implementation. An attacker who can sit on the path can present as the legitimate peer and intercept traffic the client treats as encrypted to the right place. If your brokers, chat stacks, or telecom workers originate TLS through OTP, this is a cybersecurity defect in the last check before bytes leave the process.
CVE-2026-124286: Handshake Completed With an Impersonated Peer
You already have a config line that says the client will authenticate the server. CVE-2026-124286 says that line can still return success when the peer is a fake. The Hacker News write-up on the OTP TLS client is blunt about the outcome: impersonate a legitimate HTTPS/TLS server, intercept encrypted communication. Full server authentication is the setting that was on.
That should change how you read library CVEs this week. Most teams still file TLS bugs under crypto and let the platform owners pick a patch window. This one sits on outbound sessions your apps initiate, often through a language runtime nobody listed as a tier-0 control. RabbitMQ nodes talking to AMQPS peers, CouchDB replication, custom OTP workers hitting payment or identity APIs; those are client paths. Your firewall already sees them as allowed egress. Threat detection that only watches inbound brute-force against SSH or a VPN concentrator will miss a client that finished TLS with the wrong host.

Do not wait for a vendor advisory that names your exact product. Inventory the runtime. If a service is written in Erlang or Elixir and it opens TLS to anything, you are in the population. Read otp_release from the running VM. Treat the version in last year’s build doc as untrusted. Pin the patched release. Then look at who can get on the network path to those clients: shared VPC egress, corporate proxies, sidecar meshes, even debug SSL-intercept boxes that were supposed to be gone.
The 9.1 score is for a client that can be convinced it talked to the real server. Treat every secret that crossed that socket as exposed until you prove otherwise. Session cookies, API keys, replication credentials, bearer tokens. If those secrets may have traversed a vulnerable client after disclosure, rotate them the same day. File it as incident response. Open the rotation tickets in the same hour you file the CVE.
Device Code Tokens and Stolen Authenticators Followed the Same Path
The same week, Group-IB described MadApe, a phishing kit that never asks for a Microsoft 365 password. It abuses Device Code authentication. If the sign-in completes and your access controls allow it, the operator gets an access token and, where the platform supports it, a refresh token. Mailbox and files follow. Your users thought they approved a device. The kit got a session.

Jagex, the studio behind RuneScape and Old School RuneScape, confirmed attackers may have pulled email addresses, hashed passwords, and authenticator token information for people who used that second factor. The company reset authentication tokens and said game data and payment details were not in the haul. Close a similar event by rotating authenticator seeds and every issued session. A password change leaves the stolen second factor live.
Put those next to CVE-2026-124286 and the pattern is ugly. Cyber security programs still grade events by whether a password crossed a fake form. These kits and breaks skipped the form. TLS full auth, device-code approval, authenticator seed data; each one is a we-verified-the-other-end story that failed in a different layer. Defense in depth only works if the second layer is actually looking. A threat-protection stack that alerts on password spray and ignores device-code grants is watching the door you retired.
If you run Entra ID, device-code flows belong in the same review as OTP TLS clients: delegated trust with a weak binding to the intended peer. Conditional access that still permits device-code from unmanaged networks is an allow rule. Log it. Restrict it to the jump boxes and automation identities that truly need it. Everything else should fail closed.
Security Hardening for Outbound TLS and Delegated Sign-In
You can cut this risk with controls you already own. Do the client inventory before you argue about mesh policy. Do the identity grant review before you buy another sandbox.
Work this list in order. Stop when each item has an owner and a timestamp.
- Pull
otp_releasefrom every host runningbeam.smpand patch or isolate unpatched TLS clients before they use untrusted egress. - Restrict those clients to known destinations and treat intercept proxies as in-scope adversaries.
- Rotate API keys, replication passwords, and bearer tokens that traversed OTP TLS if you cannot prove the runtime was patched.
- Query Entra sign-in logs for device-code grants over the last 14 days, revoke unknown refresh tokens, and disable the flow where it is unused.
- If you operate an authenticator-seed or TOTP store, rotate seeds and sessions together after any suspected read.
Immediate work is the inventory and the revocations. Ongoing work is making those checks boring. Add peer-certificate fingerprints for OTP egress to whatever you use for threat detection, and alert when the SAN or issuer changes for a name that used to be stable. Put language-runtime CVEs on the same SLA as OpenSSL. Revisit device-code policy quarterly the way you revisit firewall allow lists. If an automation identity still needs that grant, bind it to a named host and a named subnet.
Cybersecurity Ownership for Every OTP TLS Client in Production
Somebody has to sign for beam.smp in the CMDB. If that field is empty, CVE-2026-124286 will age in a queue labeled platform while the process keeps dialing out. Name the owner. Give them the otp_release evidence, the egress list, and the secret inventory. Monday’s incident response standup should treat unpatched OTP TLS clients like an open MITM until the version and the rotations are both done.
The identity side needs the same name on a page. Device-code is a privileged grant. Authenticator seeds are privileged data. Your help desk already knows how to reset a password. Teach them that a stolen TOTP seed and a completed device-code grant each mint a session without that reset. Then back it with logging you can actually query at 2 a.m.
Keep reporting TLS required and MFA enrolled if those are the board slides you have. Add a third column that shows the OTP version on each client, the device-code policy in Entra, and the last date authenticator seeds were rotated. That is the operating picture this week’s bugs actually moved.
Sources
- Critical Erlang/OTP TLS Flaw Could Let Attackers Impersonate Servers and Intercept Encrypted Traffic
- MadApe phishing kit steals Microsoft 365 access without ever asking for a password
- RuneScape maker Jagex confirms breach, resets authentication tokens
Take Control of Your Server Security
Don't let brute-force attacks slow you down. Try IPBan Pro risk-free for 30 days.
Secure. Automated. Lightweight.
Take Control of Your Server Security
Don't let brute-force attacks slow you down. Try IPBan Pro risk-free for 30 days.
Secure. Automated. Lightweight.
