NGINX HTTP/2 flow-control bug enables unauthenticated RCE; PoC public, no attacks confirmed
An integer underflow in NGINX's HTTP/2 module lets a remote attacker crash workers and, under narrow conditions, run code on servers with HTTP/2 enabled. Upgrade to 1.31.9 or 1.30.7, or disable HTTP/2 until you can.
What you need to know
- Affects NGINX Open Source 1.9.5 through 1.31.8 and NGINX Plus builds with HTTP/2 enabled. No authentication is required.
- Impact is a worker crash and memory corruption. Remote code execution as the worker user is possible under specific conditions.
- PoCs from Rapid7 and Censys are public. No confirmed in-the-wild exploitation and no CISA KEV listing as of 2026-11-19.
- Upgrade to 1.31.9 (mainline) or 1.30.7 (stable) and restart. A reload is not enough. Disabling HTTP/2 is the stopgap.
- Hunt for long-lived HTTP/2 connections with very high inbound bytes and for NGINX workers spawning child processes.
What's happening
CVE-2026-123007 is an integer underflow in NGINX's HTTP/2 module (ngx_http_v2_module). An unauthenticated remote attacker can use it to crash a worker, corrupt its memory, or potentially execute code 1. Code runs with the privileges of the NGINX worker process, and the corruption can also leak data 6. F5 says the issue is limited to the data plane, and that BIG-IP, BIG-IQ and F5 Insight are not vulnerable 1. The CVE is one of five NGINX flaws disclosed together under the name NGINX2Root 10,14.
NGINX Open Source 1.9.5 through 1.31.8 is affected, with fixes in 1.31.9 (mainline) and 1.30.7 (stable) 2. NGINX Plus, Instance Manager and Ingress Controller releases are also listed, though the NGINX Plus fix table could not be fully confirmed from F5's page 1,7. Censys estimates about 9 million internet-facing NGINX services run an affected version with HTTP/2 enabled. A further 103 million services do not reveal their version 12. Xint's 2026-11-10 Shodan snapshot found 98.9% of version-revealing NGINX hosts in the affected range. Xint cautions that this does not confirm exposure, because HTTP/2 may be off and distro backports hide fixes 8.
Rapid7 published a working PoC repository on 2026-11-18 6,12. Censys released a lab test and packet captures the same day 9. CERT-EU reported no in-the-wild exploitation on 2026-11-18 5. watchTowr and Help Net Security reported the same on 2026-11-19 and noted the CVE is not in CISA KEV 10,14. Tenable also reported no confirmed attacks 11.
How it works
F5 classifies the flaw as CWE-191 (integer underflow) in HTTP/2 flow-control handling. A connection's flow-control window can grow past the protocol maximum. This leads to a heap buffer overflow, typically followed by a worker segfault 1. Rapid7 traces the root cause to the point where a client cancels queued response data. NGINX hands the reserved send credit back without checking that the connection window stays within the HTTP/2 limit 6. A later unsigned subtraction then wraps around. NGINX treats the resulting huge window value as a negative response length, which drives an out-of-bounds memory copy 6. The nginx changelog describes the same bug as a flow control window overflow 3. Wiz says the bug has existed since NGINX 1.9.5 in 2015 7.
Exploitation requires HTTP/2 to be enabled. No authentication is needed, and F5's CVSS v3.1 vector rates attack complexity as High 1. Rapid7's RCE needs roughly 128 GB of HTTP/2 traffic, mostly control frames without payload. That takes about 2 minutes over 10 Gbit/s or about 17 minutes over 1 Gbit/s 6. NGINX's default one-hour connection lifetime blocks the technique on links slower than about 300 Mbit/s 6. The technique also depends on a glibc memcpy variant that is selected at runtime on x86-64 CPUs with AVX-512F and AVX-512VL. Rapid7 knows of no alternative strategy and expects proxied connections to break it 6.
Researchers disagree on how reachable the bug is in practice. Wiz says it is exploitable in default configurations with HTTP/2 enabled. Wiz demonstrated RCE against a server serving only static files, and says ASLR does not stop the attack because the bug also leaks memory 7. Florian Roth, as relayed by BleepingComputer, calls that framing misleading and says practical exploitation needs non-default conditions 13. Tenable states that HTTP/2 over TLS is required 11. Censys, however, reproduced the corrupted state over cleartext HTTP/2 (h2c) 9. Xint chained the bug with a separate Linux kernel SCTP flaw to escape an NGINX container and gain root on the host in a research demonstration 8,13.
What to do
In order of priority- 1
Upgrade NGINX Open Source to 1.31.9 (mainline) or 1.30.7 (stable). Both are listed as not vulnerable 2.
- 2
Upgrade NGINX Plus to 37.0.8.1 or 37.3.0.1, the fixed builds reported by Wiz and SecurityWeek, and confirm against F5 K000163926 7,12. Move NGINX Instance Manager to 2.25.0 1.
- 3
After installing, restart NGINX or perform a supported live binary upgrade. A configuration reload does not replace the running executable 8.
- 4
Check package sources. Ubuntu listed no fixed nginx package at the time of writing 15. The nginx.org EL9 repo shipped 1.30.7 without security metadata, so
dnf upgrade --securitymay skip it 4. - 5
If you cannot patch, disable HTTP/2. On 1.25.1 or later, set
http2 off;in affected server blocks and removehttp2fromlistendirectives. On older versions, removehttp2fromlisten. Reload and confirm the old workers have exited. Services that need HTTP/2, such as native gRPC, will break 7,8. - 6
Disabling HTTP/2 covers only two of the five NGINX2Root CVEs, so treat it as a bridge to patching 8.
- 7
Patch internet-facing servers that terminate HTTP/2 directly first. Rapid7 expects its technique to fail when the connection is proxied in front of NGINX 6.
- 8
Xint says any program launched by a worker warrants immediate investigation 8. Treat such a host as compromised: isolate it, preserve core dumps and logs, and rotate secrets the worker could read. Review the host as well for containerized deployments, because Xint's research chain escaped a Docker container 8,13.
Detection
- Inventory HTTP/2 exposure by finding server blocks with
http2 on;orlisten ... http2. On distro builds, compare the full package version against the distro advisory. Backported fixes keep the upstream version string unchanged 8. - Expect little in access logs. HTTP/2 control frames are not logged as requests, and TLS hides them on the wire 8. Instead, look for connections from one IP that stay open for minutes, with fast-growing bytes received and little sent, while that IP also opens many short TLS connections 8.
- Compare per-connection bytes received (for example from
ss) with logged request sizes. A large gap points to a control-frame flood. Add connection ID and request-size fields such as$connectionand$request_lengthto the access log format to make the gap visible 8. - Treat any NGINX worker that launches a shell or other program as a compromise indicator. Xint suggests an auditd
execverule filtered on the worker UID 8. - Failed attempts may appear as worker exits or segfaults in
error.log, or as core dumps 8. Large window updates, stream resets or worker crashes alone do not prove exploitation 7,9. - Wiz recommends detection rules for long-lived HTTP/2 connections that send large volumes of data 7. Rapid7's RCE needs roughly 128 GB of HTTP/2 traffic, and Xint's tested attack sent its flood over one long-lived connection, so per-connection inbound volume is a useful hunting signal 6,8.
- To validate exposure, use Censys's published lab test and packet captures in a non-production environment rather than running exploit code against live servers 9.
Timeline
Xint's research team discovers the NGINX2Root vulnerabilities. 8
Xint reports the flaws to F5 through HackerOne. 8
Xint completes patch validation. 8
Wiz independently reports CVE-2026-123007 to F5. 7
F5 confirms Wiz's report matches CVE-2026-123007 and is in the planned 2026-11-18 release. 7
Coordinated disclosure: NGINX 1.31.9 and 1.30.7 ship, F5 publishes K000163926, and researchers publish write-ups. 3
Rapid7 publishes a working PoC repository. Censys releases a lab test and packet captures. 12
CERT-EU advisory reports no in-the-wild exploitation. 5
watchTowr still reports no exploitation, and the CVE is not listed in CISA KEV. 10
Sources
- 1K000163926: NGINX ngx_http_v2_module vulnerability CVE-2026-123007F5 · Vendor · Nov 18, 2026
- 2nginx security advisoriesnginx.org · Vendor · Nov 18, 2026
- 3nginx CHANGES (1.31.9)nginx.org · Vendor · Nov 18, 2026
- 4Security-metadata request for the nginx.org EL9 repoGitHub · Vendor
- 5Critical vulnerabilities in Nginx (Security Advisory 2026-022)CERT-EU · Government · Nov 18, 2026
- 6CVE-2026-123007: Critical NGINX HTTP/2 Integer Underflow Leads to RCE (FIXED)Rapid7 · Research · Nov 18, 2026
- 7Unauthenticated Remote Code Execution in NGINX: CVE-2026-123633 and CVE-2026-123007Wiz · Research · Nov 18, 2026
- 8NGINX2Root: New Remote Code Execution Vulnerabilities in nginx Require Urgent PatchingXint · Research · Nov 18, 2026
- 9nginx2root: A simple test for the HTTP/2 flaw and three use-after-free reproductionsCensys · Research · Nov 18, 2026
- 10NGINX2root FAQwatchTowr · Research · Nov 19, 2026
- 11NGINX2Root FAQTenable · Research · Nov 18, 2026
- 12F5 Patches Critical NGINX2Root Flaws as PoC Exploits Go PublicSecurityWeek · News · Nov 18, 2026
- 13Critical NGINX 'NGINX2Root' bugs let attackers hijack serversBleepingComputer · News · Nov 18, 2026
- 14NGINX2Root: F5 patches five critical NGINX vulnerabilitiesHelp Net Security · News · Nov 19, 2026
- 15CVE-2026-123007Canonical · Database
Corroborated by independent sources. Researched and drafted by the VulnDigest briefs agent from 15 sources, then checked against them by a separate review step on Nov 19, 2026.
Status is PoC public. VulnCheck KEV, a commercial catalog, flagged the CVE as exploited on 2026-11-19, but no cited source reports in-the-wild activity and the CVE is not in CISA KEV.
Severity shows HIGH based on F5's CVSS v3.1 score (8.1, attack complexity High). F5 and the researchers also publish a CVSS v4.0 score of 9.2 (Critical).
The NGINX Plus fixed builds (37.0.8.1, 37.3.0.1) come from Wiz, SecurityWeek and watchTowr. F5's advisory could not be fully retrieved and lists no fix for Plus R34-R36. Check your build against K000163926.
Researchers disagree on how reachable the bug is. Rapid7's RCE needs about 128 GB of traffic, AVX-512 hardware and an unproxied HTTP/2 connection. Wiz says default HTTP/2 configurations are exploitable.
Distro package status changes quickly. Check your distribution's advisory and full package version, not the upstream nginx version string.
Spotted an error? Open an issue on sochub.io.