CVE-2026-120665: ECH Server Name Verification Bypass after HelloRetryRequest

Published Dec 1, 2026
·
Updated

ECH Server Name Verification Bypass after HelloRetryRequest

Other sources

Issue summary: A TLS client using Encrypted Client Hello (ECH) can be made to accept a certificate for a domain chosen by an attacker as valid for the server name the application requested.

Impact summary: An attacker who can forge DNS responses to a client can impersonate any server the client connects to using ECH. The client then sends its application data to the attacker and accepts the attacker's responses as coming from the requested server.

CWE: CWE-295: Improper Certificate Validation

Description: When ECH is rejected, a client verifies the server's certificate against the public name in the ECH configuration, so that it can obtain a corrected configuration, and then aborts the handshake. The server's first message decides whether ECH was accepted. If that message is a HelloRetryRequest which rejects ECH, the OpenSSL client switches certificate verification to the public name but does not treat the rejection as final. A following ServerHello which signals ECH acceptance then causes the client to complete the handshake and report ECH success, while the certificate is still checked against the public name instead of the name the application set with SSLset1dnsname(), SSLset1host() or X509VERIFYPARAMset1host().

ECH configurations are normally obtained from DNS HTTPS records, which are not authenticated unless DNSSEC is used. An attacker who can forge those records can give the client an ECH configuration for which it holds the private key, with a public name for a domain it controls and holds a valid certificate for. The same forged DNS responses can direct the client to connect to the attacker's own server. That server can then send a HelloRetryRequest that rejects ECH followed by a ServerHello that accepts it, and the client will accept its certificate as authenticating the requested server. The same applies to a client-facing server in a split-mode ECH deployment, which holds the ECH private key and a certificate for the public name but must not be able to impersonate the backend servers.

Only TLS clients that are configured to use ECH are affected. Clients that send only GREASE ECH and servers are not affected. ECH support was added in OpenSSL 4.0, it must be explicitly configured by the application, and the attacker must be able to forge DNS responses to the client or otherwise supply it with an ECH configuration. For these reasons this issue was assessed as Moderate severity.

FIPS impact: no No FIPS modules are affected by this issue as the affected code is outside the OpenSSL FIPS module boundary.

— MITRE

Affected Software

3 affected components
OpenSSL OpenSSL
debian/openssl*
debian/openssl<=3.6.5-1

Event History

Dec 1, 2026
CVE Published
via MITRE·04:35 PM
Data Sourced
via MITRE·04:35 PM
DescriptionWeakness
Data Sourced
via NVD·05:17 PM
DescriptionWeakness
Data Sourced
via OSV·08:00 PM
Affected Software

Frequently Asked Questions

1

What attacker capability is required?

The attacker must be able to forge DNS responses to the client. Exploitation targets client connections that use ECH.

2

What handshake sequence triggers the incorrect certificate check?

The server first sends a HelloRetryRequest that rejects ECH, causing the client to switch verification to the ECH configuration's public name. A subsequent ServerHello then signals ECH acceptance, allowing the handshake to complete while certificate verification remains tied to the public name.

3

What is the practical impact on an affected client?

An attacker can impersonate a server selected through forged DNS and present a certificate valid for an attacker-chosen domain rather than the application-requested server name. The client can then send application data to the attacker and accept the attacker's responses as authentic.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203