{"id":"CVE-2026-123640","aliases":[],"cve":{"records":[{"id":"CVE-2026-123640","source":"f5","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-11-09T18:42:53.901Z","published":"2026-11-18T15:23:27.556Z","modified":"2026-11-18T16:51:01.723Z"}],"publishers":[{"name":"f5","role":"CNA","organizationId":"9dacffd4-cb11-413f-8451-fbbfd4ddc0ab","modified":"2026-11-18T15:23:27.556Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-18T16:51:01.723Z"}],"references":[{"url":"https://my.f5.com/manage/s/article/K000163935","tags":["vendor-advisory","patch"],"source":"f5"}],"weaknesses":[{"id":"CWE-1289","description":"CWE-1289 Improper Validation of Unsafe Equivalence in Input","source":"f5"}],"applicability":[],"prioritization":[{"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"}]}]},"title":"NGINX ngx_stream_ssl_preread_module vulnerability","titleSource":"f5","descriptionSource":"f5","description":"Description\nWhen 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.\n\nImpact\nThis 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.\n\n\n\n\n\n\nNote: Software versions which have reached End of Technical Support (EoTS) are not evaluated.","score":6.9,"severity":"medium","published":"2026-11-18T15:23:27.556Z","modified":"2026-11-18T16:51:01.723Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"F5","name":"NGINX Plus","platforms":[],"versions":[{"version":"37.1.0","status":"affected","lessThan":"37.2.0.1","versionType":"custom"},{"version":"37.0.0","status":"affected","lessThan":"37.0.7.1","versionType":"custom"},{"version":"R33","status":"affected","lessThan":"*","versionType":"custom"}],"defaultStatus":"unknown","cpes":[],"source":"f5","url":"https://www.cve.org/CVERecord?id=CVE-2026-123640"},{"vendor":"F5","name":"NGINX Open Source","platforms":[],"versions":[{"version":"1.31.0","status":"affected","lessThan":"1.31.9","versionType":"semver"},{"version":"1.30.0","status":"affected","lessThan":"1.30.7","versionType":"semver"},{"version":"1.15.2","status":"affected","lessThan":"*","versionType":"semver"}],"defaultStatus":"unknown","cpes":[],"source":"f5","url":"https://www.cve.org/CVERecord?id=CVE-2026-123640"}],"remediation":[{"text":"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 \n\nFor example, the following configuration includes the ssl_preread on; directive:\n\n\n\nstream {\n    log_format sni \"PREREAD_SNI=[$ssl_preread_server_name] -> [$backend]\";\n    access_log /var/log/nginx/stream.log sni;\n    map $ssl_preread_server_name $backend {\n        internal.test   127.0.0.1:9002;   # privileged backend\n        default           127.0.0.1:9001;   # public backend\n    }\n    server {\n        listen 9443;\n        ssl_preread on;\n        proxy_pass $backend;\n    }\n}\n\nTo mitigate the issue for this configuration, make the following changes:\n\n  *  Remove the ssl_preread directive.\n  *  Terminate TLS on NGINX by adding the following:  *  Change the listener to ssl.\n  *  Configure a certificate and key.\n  *  Replacing $ssl_preread_server_name with $ssl_server_name to use SNI-based routing.\n\n\n\n\n\nstream {\n    log_format sni \"TLS_SNI=[$ssl_server_name] -> [$backend]\";\n    access_log /var/log/nginx/stream.log sni;\n    map $ssl_server_name $backend {\n        internal.test   127.0.0.1:9002;   # privileged backend\n        default           127.0.0.1:9001;   # public backend\n    }\n    server {\n        listen 9443 ssl;\n        ssl_certificate     /etc/nginx/ssl/fullchain.pem;\n        ssl_certificate_key /etc/nginx/ssl/privkey.pem;\n        ssl_protocols       TLSv1.2 TLSv1.3;\n        # ssl_preread removed; NGINX terminates client TLS.\n        proxy_pass $backend;\n        # Use these if the backends still expect TLS.\n        proxy_ssl on;\n        proxy_ssl_server_name on;\n        proxy_ssl_name $ssl_server_name;\n    }\n}\n\nAfter making the configuration changes, validate the configuration and reload, using the following commands:\n\nnginx -t\nnginx -s reload","source":"f5","url":"https://www.cve.org/CVERecord?id=CVE-2026-123640"}],"references":["https://my.f5.com/manage/s/article/K000163935"],"sources":[{"name":"CVE","id":"CVE-2026-123640","modified":"2026-11-18T16:51:01.723Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-123640"}],"assessments":[{"source":"f5","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3},{"source":"f5","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:N","score":6.9}],"sourceAffected":[],"observedAt":"2026-11-18T16:56:04.567Z","kev":{"status":"not-listed","checkedAt":"2026-11-23T12:40:30.898Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-18T17:00:30.852Z","attemptedAt":"2026-11-18T17:00:30.852Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-18T17:00:33.112Z","attemptedAt":"2026-11-18T17:00:33.112Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-18T17:00:30.852Z","attemptedAt":"2026-11-18T17:00:30.852Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-18T17:00:33.110Z","attemptedAt":"2026-11-18T17:00:33.110Z"}],"evidence":[{"source":"NVD","id":"CVE-2026-123640","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123640","modified":"2026-11-18T16:18:04.677","score":6.9,"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: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","checkedAt":"2026-11-18T17:00:30.852Z"},{"source":"NVD","id":"CVE-2026-123640","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123640","modified":"2026-11-18T16:18:04.677","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","checkedAt":"2026-11-18T17:00:30.852Z"},{"source":"ENISA EUVD","id":"EUVD-2026-128945","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-128945","modified":"Nov 18, 2026, 3:23:27 PM","score":6.9,"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:N","checkedAt":"2026-11-18T17:00:30.852Z"}],"aiSummary":{"text":"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.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-18T15:36:13.754Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-123640"}]}}