# CVE-2026-89422: TLS 1.3 client skips server authentication when ServerHello carries an unsolicited pre\_shared\_key extension

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.3
- **CVSS:** 9.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.64% (percentile 45, 2026-11-26)
- **CWE:** CWE-322
- **Published:** 2026-09-22T08:49:16.171Z
- **Modified:** 2026-11-20T06:17:43.890Z

## Who should check

- Anyone running Erlang OTP \>= 9.5, \< \*
- Anyone running Erlang OTP \>= 22.2, \< \*
- Anyone running Erlang OTP \>= 21b8a1b0ad0adf200682b3854bc50114ab2b8c62, \< \*

## Description

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.

## Affected and fixed versions

- Erlang OTP: \>= 9.5, \< \* (cvelist)
- Erlang OTP: \>= 22.2, \< \* (cvelist)
- Erlang OTP: \>= 21b8a1b0ad0adf200682b3854bc50114ab2b8c62, \< \* (cvelist)

## Mitigation

- Vendor workaround: Restrict affected clients to TLS 1.2 by setting {versions, \['tlsv1.2'\]} in the client's ssl options. This avoids the vulnerable code path at the cost of losing TLS 1.3.
- 
- No configuration both keeps TLS 1.3 and mitigates the issue.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89422. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89422.md
Affected: Erlang OTP >= 9.5, < *; Erlang OTP >= 22.2, < *; Erlang OTP >= 21b8a1b0ad0adf200682b3854bc50114ab2b8c62, < *
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Erlang OTP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89422 being exploited?

There is no confirmed exploitation: CVE-2026-89422 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.64% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89422?

Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-89422?

Erlang OTP \>= 9.5, \< \*; Erlang OTP \>= 22.2, \< \*; Erlang OTP \>= 21b8a1b0ad0adf200682b3854bc50114ab2b8c62, \< \*.

### Is there a fix for CVE-2026-89422?

No fixed version is listed in the sources yet. Vendor workaround: Restrict affected clients to TLS 1.2 by setting {versions, \['tlsv1.2'\]} in the client's ssl options. This avoids the vulnerable code path at the cost of losing TLS 1.3.  No configuration both keeps TLS 1.3 and mitigates the issue.

### How do I check if I'm affected by CVE-2026-89422?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/erlang/otp/security/advisories/GHSA-rgxr-4g4w-j875>
- patch: <https://github.com/erlang/otp/commit/21b8a1b0ad0adf200682b3854bc50114ab2b8c62>
- patch: <https://github.com/erlang/otp/commit/98c66c858113949c4262d26cd7d426c4b09d2b35>
- patch: <https://github.com/erlang/otp/commit/afec5156361bb50d3607c7c1a453c19b9149b324>
- patch: <https://github.com/erlang/otp/commit/fd1d9d07fc92ec0d59f96dfb66182195882bb7dd>
- other: <https://cna.erlef.org/cves/CVE-2026-89422.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-89422>
- other: <https://www.erlang.org/doc/system/versions.html#order-of-versions>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89422>

HTML: <https://flawdb.com/CVE-2026-89422> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89422>
