CVE-2026-123640: NGINX ngx_stream_ssl_preread_module vulnerability
Description When NGINX Plus or NGINX Open Source is configured with the ngxstreamsslprereadmodule module, a specially crafted ClientHello message from an unauthenticated attacker causes forged values of the ngxstreamsslprereadmodule variables, affecting virtual server selection. In addition, it may also cause a disagreement with a proxied server terminating the SSL/TLS connection without Transport Layer Security (TLS) 1.3 support.
Impact This vulnerability may allow an attacker to forge values of the ngxstreamsslprereadmodule variables and bypass the NGINX systems stream routing segmentation. As a result, the attacker may be able to route the connection to a privileged or internal backend that should be unreachable and gain access to sensitive information. There is no control plane exposure; this is a data plane issue only.
Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 37.2.0.1Fixed in 37.0.7.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.31.9Fixed in 1.30.7