
Cloud Vulnerability DB
コミュニティ主導の脆弱性データベース
CVE-2026-123640 is an authorization bypass vulnerability in NGINX's ngx_stream_ssl_preread_module that allows unauthenticated remote attackers to forge SSL/TLS preread variable values, thereby manipulating stream routing and potentially reaching privileged or internal backends. It was published on November 18, 2026, and affects NGINX Open Source versions 1.15.2 through 1.30.6 and 1.31.0 through 1.31.8, NGINX Plus R33–R36 and 37.0.0–37.1.0, as well as related F5 products including NGINX Ingress Controller, NGINX Gateway Fabric, NGINX Instance Manager, and F5 WAF/DoS for NGINX. The vulnerability carries a CVSS v3.1 base score of 5.3 (Medium) and a CVSS v4.0 base score of 6.9 (Medium) (GitHub Advisory, F5 Advisory).
The root cause is improper validation of syntactic correctness and unsafe equivalence in input (CWE-1286, CWE-1289) within NGINX's TLS ClientHello parsing logic in the ngx_stream_ssl_preread_module. When NGINX processes a specially crafted ClientHello message — for example, one containing duplicate SNI extensions, malformed SNI length fields, NUL bytes, trailing FQDN dots, or case variations — the module incorrectly derives the values of $ssl_preread_server_name and related variables used for virtual server selection. An unauthenticated attacker with network access to the NGINX stream listener can send such a crafted ClientHello over a standard TCP connection with no prior authentication, causing NGINX to route the connection to a backend that should be inaccessible. Additionally, the malformed message may cause a TLS handshake disagreement with proxied servers that lack TLS 1.3 support. Public PoC code demonstrates differential probing via seven ClientHello variants (duplicate names, oversized length, NUL byte, FQDN dot, case mismatch) to identify inconsistent routing behavior (GitHub Advisory, F5 Advisory).
Successful exploitation allows an unauthenticated attacker to bypass NGINX stream routing segmentation and route connections to privileged or internal backends that are intended to be unreachable from external networks. This is a data plane issue only — there is no control plane exposure — but the integrity of routing decisions is compromised, and sensitive information accessible on internal backends may be exposed. In environments where NGINX acts as a TLS-terminating stream proxy routing to multiple backend tiers, exploitation could enable unauthorized access to internal APIs, databases, or administrative services, representing a significant lateral movement risk (GitHub Advisory, F5 Advisory).
At least two public proof-of-concept repositories exist on GitHub (LLCForge PoC, cveForge PoC), both written in Python and demonstrating ClientHello variant probing and malformed TLS record fuzzing against NGINX stream listeners. Neither PoC has been confirmed to achieve full routing bypass to a privileged backend in practice; they primarily demonstrate differential probing and potential availability impact. There is no evidence of in-the-wild exploitation at this time, and the CVE is not listed in the CISA KEV catalog. The EPSS score is approximately 0.38–0.68%, indicating a low-to-moderate near-term exploitation probability. The vulnerability is automatable (no user interaction or authentication required) (GitHub Advisory, F5 Advisory).
ngx_stream_ssl_preread_module using tools like Shodan or Censys, targeting stream listeners (commonly on port 443 or custom TCP ports). Confirm the target version is within the vulnerable range (NGINX Open Source < 1.30.7 or < 1.31.9; NGINX Plus R33–R36 or 37.0.x/37.1.x).python3 poc.py --variant duplicate_names --host <target> --port <port> --target-sni internal.example.com).tls.handshake.type == 1).error.log) related to SSL preread processing.F5 has released patched versions: NGINX Open Source 1.30.7 and 1.31.9; NGINX Plus 37.0.7.1 (37.0.x branch) and 37.2.0.1 (37.1.x branch). Upgrading to a patched version is the recommended remediation. If immediate patching is not possible, consider disabling the ngx_stream_ssl_preread_module if it is not operationally required, or restricting access to NGINX stream listeners to trusted network segments via firewall rules. cPanel/EasyApache4 users should update to EasyApache4 v25.98 or later. Downstream distributions including Ubuntu (USN-9159-1, USN-9182-1), Amazon Linux, SUSE, Alpine, and FreeBSD have also released updated packages (F5 Advisory, cPanel Advisory, GitHub Advisory).
The vulnerability was disclosed as part of a broader set of NGINX security fixes (dubbed "nginx2root" by some researchers) released alongside NGINX 1.31.9 and 1.30.7, which addressed approximately 10 CVEs. Security vendors including Qualys, Tenable, and Wiz published blog posts and detection content covering the full set of NGINX vulnerabilities. The NCSC Ireland issued a security advisory (PDF), and multiple Linux distributions rapidly released updated packages. Community coverage on platforms like dev.to and security blogs highlighted the broader nginx2root disclosure, though CVE-2026-123640 specifically received less individual attention than the higher-severity RCE vulnerabilities in the same release batch (F5 Advisory, cPanel Advisory).
主要なLinuxディストリビューションとそのリリース間での可用性を修正しましょう。
bionic (esm-infra)
nginx: 1.14.0-0ubuntu1.11+esm7
devel
nginx: 1.30.6-3ubuntu2
focal (esm-infra)
nginx: 1.18.0-0ubuntu1.7+esm6
jammy
nginx: 1.18.0-6ubuntu14.24
noble
nginx: 1.24.0-2ubuntu7.21
resolute
nginx: 1.28.3-2ubuntu1.13
trusty (esm-infra-legacy)
nginx
xenial (esm-infra-legacy)
nginx
ソース: この報告書はAIを用いて作成されました
無料脆弱性評価
9つのセキュリティ領域にわたるクラウドセキュリティの実践を評価し、リスクレベルをベンチマークし、防御のギャップを特定しましょう。
パーソナライズされたデモを見る
"私が今まで見た中で最高のユーザーエクスペリエンスは、クラウドワークロードを完全に可視化します。"
"Wiz を使えば、クラウド環境で何が起こっているかを 1 つの画面で確認することができます"
"Wizが何かを重要視した場合、それは実際に重要であることを私たちは知っています。"