Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-89422

TLS 1.3 client skips server authentication when ServerHello carries an unsolicited pre_shared_key extension
Back to all
CVE

CVE-2026-89422

TLS 1.3 client skips server authentication when ServerHello carries an unsolicited pre_shared_key extension

Key Exchange without Entity Authentication vulnerability in Erlang/OTP ssl allows a peer that answers a TLS 1.3 client connection to impersonate the intended server. A presharedkey extension in the ServerHello that the client never offered causes the client to complete the handshake without validating the server's certificate, so ssl:connect returns {ok, Socket} against a peer holding no certificate, no private key and no prior session.

tlsclientconnection13:handleserverhello/2 passes the received extension to tlsgenconnection13:handleresumption/2, which sets resumption = true on its mere presence without checking that the client offered a PSK. tlshandshake13:getpresharedkey/4 meanwhile falls back to the all-zero "no PSK" value and keys the handshake with the ordinary non-PSK schedule, so the attacker's own ephemeral key suffices. The resumption flag then routes mayberesumption/1 straight to waitfinished, skipping the certificate-handling states, so certificate path validation, verifyfun, hostname verification, partial_chain, CRL checking and OCSP stapling are all bypassed. The default client configuration is affected; clients restricted to TLS 1.2 are not.

This issue affects OTP from OTP 22.2 before OTP 27.3.4.18, OTP 28.5.0.7, and OTP 29.1.1, corresponding to ssl from 9.5 before 11.2.12.13, 11.6.0.6, and 11.7.7.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.3
-
4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
C
H
U
0
-
C
H
U
-

Related Resources

No items found.

References

https://cna.erlef.org/cves/CVE-2026-89422.html, https://github.com, https://osv.dev/vulnerability/EEF-CVE-2026-89422, https://www.erlang.org/doc/system/versions.html#order-of-versions, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89422.json, https://github.com/erlang/otp/security/advisories/GHSA-rgxr-4g4w-j875, https://nvd.nist.gov/vuln/detail/CVE-2026-89422, https://github.com/erlang/otp/commit/21b8a1b0ad0adf200682b3854bc50114ab2b8c62, https://github.com/erlang/otp/commit/98c66c858113949c4262d26cd7d426c4b09d2b35, https://github.com/erlang/otp/commit/afec5156361bb50d3607c7c1a453c19b9149b324, https://github.com/erlang/otp/commit/fd1d9d07fc92ec0d59f96dfb66182195882bb7dd, https://github.com/erlang/otp

Severity

0

CVSS Score
0
10

Basic Information

Base CVSS
0
EPSS Probability
0.0046%
EPSS Percentile
0.38496%
Introduced Version
926f03ce5ba4f2156a36940d267a1a1e683484ff,0
Fix Available
df7b3567d850b811e893a4d349631d7d2dd7cebb,1:27.3.4.6+dfsg-1ubuntu0.2,1:22.2.7+dfsg-1ubuntu0.5+esm3,1:25.3.2.8+dfsg-1ubuntu4.8,1:24.2.1+dfsg-1ubuntu0.8

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading