Improper Validation of Unsafe Equivalence in Input Affecting nginx package, versions [1.15.2,1.30.7)[1.31.0,1.31.9)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Social Trends
Exploit Maturity
Proof of Concept
EPSS
0.65% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-NGINX-22598812
  • published18 Nov 2026
  • disclosed18 Nov 2026
  • creditVivek Parikh of BreachX Zero Day Labs, using Typhon AI Mil v2

Introduced: 18 Nov 2026

NewCVE-2026-123640  (opens in a new tab)
CWE-1289  (opens in a new tab)

How to fix?

Upgrade nginx to version 1.30.7, 1.31.9 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Unsafe Equivalence in Input in ngx_stream_ssl_preread_module, where a ClientHello message forges the values of the module's variables, which affects virtual server selection. An attacker can bypass the stream routing segmentation by sending a ClientHello with forged values, which routes the connection to a privileged or internal backend that should be unreachable and exposes sensitive information. Only configurations that use ssl_preread on; and select the virtual server or backend from the module's variables, such as $ssl_preread_server_name, are affected.

Workaround

This vulnerability can be avoided by removing ssl_preread and terminating TLS on NGINX, which means configuring a certificate and key on an ssl listener and routing by $ssl_server_name instead of $ssl_preread_server_name.

CVSS Base Scores

version 4.0
version 3.1