CVE-2026-89422Erlang OTP
NVD
Vulnerability Summary
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 pre_shared_key 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.
tls_client_connection_1_3:handle_server_hello/2 passes the received extension to tls_gen_connection_1_3:handle_resumption/2, which sets resumption = true on its mere presence without checking that the client offered a PSK. tls_handshake_1_3:get_pre_shared_key/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 maybe_resumption/1 straight to wait_finished, skipping the certificate-handling states, so certificate path validation, verify_fun, 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.
tls_client_connection_1_3:handle_server_hello/2 passes the received extension to tls_gen_connection_1_3:handle_resumption/2, which sets resumption = true on its mere presence without checking that the client offered a PSK. tls_handshake_1_3:get_pre_shared_key/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 maybe_resumption/1 straight to wait_finished, skipping the certificate-handling states, so certificate path validation, verify_fun, 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.
CVSS v4.0 Base Metrics — Score 9.3 (CRITICAL)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Affected & Patched Versions
- Erlang OTP >= 9.5 and < *
- Erlang OTP >= 22.2 and < *
- Erlang OTP >= 21b8a1b0ad0adf200682b3854bc50114ab2b8c62 and < *
- Erlang OTP *
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is critical.
- Check whether you run Erlang OTP and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Sep 22, 2026Published
- Nov 20, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Erlang OTP CVEsYou are reading CVE-2026-89422. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore Erlang OTP CVEs
External References
- Vendor Advisoryhttps://github.com/erlang/otp/security/advisories/GHSA-rgxr-4g4w-j875
- Referencehttps://cna.erlef.org/cves/CVE-2026-89422.html
- Referencehttps://osv.dev/vulnerability/EEF-CVE-2026-89422
- Referencehttps://www.erlang.org/doc/system/versions.html#order-of-versions
- Patchhttps://github.com/erlang/otp/commit/21b8a1b0ad0adf200682b3854bc50114ab2b8c62
- Patchhttps://github.com/erlang/otp/commit/98c66c858113949c4262d26cd7d426c4b09d2b35
- Patchhttps://github.com/erlang/otp/commit/afec5156361bb50d3607c7c1a453c19b9149b324
- Patchhttps://github.com/erlang/otp/commit/fd1d9d07fc92ec0d59f96dfb66182195882bb7dd
Data last checked: Nov 20, 2026 07:13 UTC