NGINX ngx_stream_ssl_preread_module vulnerability
Severity and exploitation
KEV coverage does not rule out exploitation.
Assessment vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NAssessment vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NSeverity
medium6.9CVSS measures technical severity, not the likelihood of an attack.
Known exploitation
Not listed in the checked CISA KEV catalog
Absence from CISA KEV does not rule out attacks.
Public exploit
Not established by this record
Missing evidence does not mean no public exploit exists.
Remediation
Source guidance available
Review the recorded instructions. Guidance may be a workaround rather than a fixed version.
What this means
NGINX Plus and NGINX Open Source are vulnerable when configured with the ngx_stream_ssl_preread_module module, allowing an unauthenticated attacker to forge values and bypass stream routing segmentation. Affected versions include NGINX Plus 37.1.0, 37.0.0, and R33, as well as NGINX Open Source 1.31.0, 1.30.0, and 1.15.2. The weakness is due to improper validation of input.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Attack conditions
No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.
Review supporting sources →Affected versions
Check the exact model, release, and any platform requirements against your installation.
F5 · f5
NGINX Plus
3 ranges
F5 · f5
NGINX Plus
Compare with this publisher’s ranges. This does not inspect your installation.
affected
37.1.0 → before 37.2.0.1
custom versions
37.0.0 → before 37.0.7.1
custom versions
R33 → before *
custom versions
Other versions: unknown
F5 · f5
NGINX Open Source
3 ranges
F5 · f5
NGINX Open Source
Compare with this publisher’s ranges. This does not inspect your installation.
affected
1.31.0 → before 1.31.9
semver versions
1.30.0 → before 1.30.7
semver versions
1.15.2 → before *
semver versions
Other versions: unknown
What to do
Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.
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.new guidance unless attributed to a publisher. This page does not inspect your installation.
Public exploit evidence
No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.
Original source description
Read the full publisher 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.
References
1 sourcesInside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-123640View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Contributing organizations · 2
Assigning organization
Additional data publisher
Timeline
All times UTCAdvisory published
Publication date supplied by the source.
Source updated
Latest modification date supplied by the source.
Last imported by cve.new
Latest catalog import, not the date we first saw this advisory.
What changed
Follow changes- CVE · CVE-2026-123640
Observed 2026-11-18T16:56:04.567Z · upstream updated 2026-11-18T16:51:01.723Z
Prioritization updated
before
[]
after
[ { "source": "CISA-ADP", "type": "SSVC", "role": "CISA Coordinator", "timestamp": "2026-11-18T16:35:38.347306Z", "decisions": [ { "name": "Exploitation", "value": "none" }, { "name": "Automatable", "value": "yes" }, { "name": "Technical Impact", "value": "partial" } ] } ]
Large field values are marked as truncated previews. Original source snapshots remain retained.
Showing up to 50 most recent observed changes.