NGINX ngx_stream_ssl_preread_module vulnerability

Summary

CVECVE-2026-123640
StatePUBLISHED
Assignerf5
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-18 16:18:04 UTC
Updated2026-11-19 19:43:50 UTC
DescriptionDescription When NGINX Plus or NGINX Open Source is configured with the ngx_stream_ssl_preread_module module, a specially crafted ClientHello message from an unauthenticated attacker causes forged values of the ngx_stream_ssl_preread_module 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 ngx_stream_ssl_preread_module 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.

Risk And Classification

Primary CVSS: v4.0 6.9 MEDIUM from [email protected]

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

EPSS: 0.003610000 probability, percentile 0.306280000 (date 2026-11-20)

Problem Types: CWE-1289 | CWE-1289 CWE-1289 Improper Validation of Unsafe Equivalence in Input


VersionSourceTypeScoreSeverityVector
4.0[email protected]Secondary6.9MEDIUMCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/C...
4.0CNACVSS6.9MEDIUMCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
3.1[email protected]Secondary5.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
3.1CNACVSS5.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

CVSS v4.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application F5 Dos All All All All
Application F5 Dos All All All All
Application F5 Nginx Gateway Fabric All All All All
Application F5 Nginx Gateway Fabric All All All All
Application F5 Nginx Ingress Controller All All All All
Application F5 Nginx Ingress Controller All All All All
Application F5 Nginx Ingress Controller All All All All
Application F5 Nginx Ingress Controller All All All All
Application F5 Nginx Instance Manager All All All All
Application F5 Nginx Open Source All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA F5 NGINX Plus affected 37.1.0 37.2.0.1 custom Not specified
CNA F5 NGINX Plus affected 37.0.0 37.0.7.1 custom Not specified
CNA F5 NGINX Plus affected R33 * custom Not specified
CNA F5 NGINX Open Source affected 1.31.0 1.31.9 semver Not specified
CNA F5 NGINX Open Source affected 1.30.0 1.30.7 semver Not specified
CNA F5 NGINX Open Source affected 1.15.2 * semver Not specified

References

ReferenceSourceLinkTags
my.f5.com/manage/s/article/K000163935 [email protected] my.f5.com Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: F5 acknowledges Vivek Parikh of BreachX Zero Day Labs using Typhon AI Mil v2 for bringing this issue to our attention and following the highest standards of coordinated disclosure. (en)

Additional Advisory Data

Workarounds

CNA: Disable the ssl_preread directive in favor of SSL/TLS termination on NGINX. For more information, refer to https://nginx.org/en/docs/stream/ngx_stream_ssl_preread_module.html For example, the following configuration includes the ssl_preread on; directive: stream {     log_format sni "PREREAD_SNI=[$ssl_preread_server_name] -> [$backend]";     access_log /var/log/nginx/stream.log sni;     map $ssl_preread_server_name $backend {         internal.test   127.0.0.1:9002;   # privileged backend         default          127.0.0.1:9001;   # public backend     }     server {         listen 9443;         ssl_preread on;         proxy_pass $backend;     } } To mitigate the issue for this configuration, make the following changes: * Remove the ssl_preread directive. * Terminate TLS on NGINX by adding the following: * Change the listener to ssl. * Configure a certificate and key. * Replacing $ssl_preread_server_name with $ssl_server_name to use SNI-based routing. stream {     log_format sni "TLS_SNI=[$ssl_server_name] -> [$backend]";     access_log /var/log/nginx/stream.log sni;     map $ssl_server_name $backend {         internal.test   127.0.0.1:9002;   # privileged backend         default          127.0.0.1:9001;   # public backend     }     server {         listen 9443 ssl;         ssl_certificate     /etc/nginx/ssl/fullchain.pem;         ssl_certificate_key /etc/nginx/ssl/privkey.pem;         ssl_protocols       TLSv1.2 TLSv1.3;         # ssl_preread removed; NGINX terminates client TLS.         proxy_pass $backend;         # Use these if the backends still expect TLS.         proxy_ssl on;         proxy_ssl_server_name on;         proxy_ssl_name $ssl_server_name;     } } After making the configuration changes, validate the configuration and reload, using the following commands: nginx -t nginx -s reload

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report