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).
주요 리눅스 배포판과 그 릴리스 전반에 걸친 가용성을 수정하세요.
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는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."