CVE-2026-123640 NGINX ngx_stream_ssl_preread_module vulnerability

Medium 6.9 Published Updated

Unauthenticated attackers can forge pre-read module variables to bypass NGINX stream routing and reach internal backends; NGINX operators using this module should care.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Harmful if only installed
No
Needs a specific call
No
Fix
Available

What is CVE-2026-123640?

CVE-2026-123640 is a medium-severity security feature bypass vulnerability in F5 NGINX Open Source, published on 18 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Description 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.

Weakness: CWE-1289

Which versions are affected by CVE-2026-123640?

It affects 7 products.

Only installations with a non-default setting turned on are exposed.

Status by vendor (1)
WhoReleaseStatusPackages
Upstreamfixedf5:dos (4.13.0), f5:nginx_gateway_fabric (2.9.0), f5:nginx_ingress_controller (2026-lts-r11) and 4 more

Products include F5 Dos, F5 NGINX Gateway Fabric, F5 NGINX Ingress Controller, F5 NGINX Instance Manager, F5 NGINX Open Source, F5 NGINX Plus and 1 more.

CPE match criteria (20)
CPE 2.3Versions
cpe:2.3:a:f5:dos:*:*:*:*:*:nginx:*:*from 4.5.0, up to 4.7.0
cpe:2.3:a:f5:dos:*:*:*:*:*:nginx:*:*from 4.8.0, before 4.13.0
cpe:2.3:a:f5:nginx_gateway_fabric:*:*:*:*:*:*:*:*from 1.5.0, up to 1.6.2
cpe:2.3:a:f5:nginx_gateway_fabric:*:*:*:*:*:*:*:*from 2.0.0, before 2.9.0
cpe:2.3:a:f5:nginx_ingress_controller:*:*:*:*:continuous_releases:*:*:*from 3.7.1, up to 3.7.2
cpe:2.3:a:f5:nginx_ingress_controller:*:*:*:*:continuous_releases:*:*:*from 4.0.0, up to 4.0.1
cpe:2.3:a:f5:nginx_ingress_controller:*:*:*:*:continuous_releases:*:*:*from 5.0.0, before 5.8.0
cpe:2.3:a:f5:nginx_ingress_controller:*:*:*:*:long-term_support:*:*:*from 2026-lts-r1, before 2026-lts-r11
cpe:2.3:a:f5:nginx_instance_manager:*:*:*:*:*:*:*:*from 2.19.0, before 2.25.0
cpe:2.3:a:f5:nginx_open_source:*:*:*:*:*:*:*:*from 1.15.2, before 1.30.7
cpe:2.3:a:f5:nginx_open_source:*:*:*:*:*:*:*:*from 1.31.0, before 1.31.9
cpe:2.3:a:f5:nginx_plus:*:*:*:*:*:*:*:*from 37.0.0, before 37.0.7.1
cpe:2.3:a:f5:nginx_plus:37.1.0:*:*:*:*:*:*:*37.1.0
cpe:2.3:a:f5:nginx_plus:r34:*:*:*:*:*:*:*r34
cpe:2.3:a:f5:nginx_plus:r35:*:*:*:*:*:*:*r35
cpe:2.3:a:f5:nginx_plus:r36:*:*:*:*:*:*:*r36
cpe:2.3:a:f5:waf:*:*:*:*:*:nginx:*:*from 4.12.0, before 4.16.2
cpe:2.3:a:f5:waf:*:*:*:*:*:nginx:*:*from 5.15.0, before 5.16.2
cpe:2.3:a:f5:waf:*:*:*:*:*:nginx:*:*from 5.4.0, up to 5.8.0
cpe:2.3:a:f5:waf:*:*:*:*:*:nginx:*:*from 5.9.0, before 5.14.4

How do I fix CVE-2026-123640?

Upgrade to a fixed version.

Upgrade to the fixed version, and do not rely on a single control for protection. More about Security feature bypass.

Is CVE-2026-123640 being exploited?

There is no known exploitation of CVE-2026-123640 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All F5 NGINX Open Source vulnerabilities

Sources

Also known as ALPINE-CVE-2026-123640, AZL-114613, BELL-CVE-2026-123640, DEBIAN-CVE-2026-123640, DHI-v2uw-vq23-bkoc-vdf2, ECHO-534e-cbc8-35ac and 2 more.

Is CVE-2026-123640 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free