nginx2root is the name given to five memory corruption flaws in nginx and one in the Linux kernel. Each nginx flaw is an independent path to unauthenticated remote code execution, in a different configuration. The kernel flaw turns any of them into root on the host. The most widely exposed, CVE-2026-123007, is an integer overflow in HTTP/2 flow control that sits in every official nginx release from 1.9.5 (2015) through 1.31.8. Its CVSS 4.0 score is 9.2, and the fixed releases are nginx 1.30.7 (stable) and 1.31.9 (mainline).
F5 released the fixes on November 18, 2026, with coordinated disclosure, and nginx.org lists nginx 1.30.7 and 1.31.9 with fixes for all five. Xint and Wiz have both withheld exploit code, and neither reports exploitation in the wild. The kernel flaw has no patch yet.
Vulnerability details
TL;DR
- Any official nginx release from 1.9.5 through 1.31.8 with HTTP/2 enabled is exposed to CVE-2026-123007, unauthenticated code execution as the nginx worker. The other four flaws each need a specific configuration.
- Disabling HTTP/2 blocks two of the five, CVE-2026-123007 and CVE-2026-123633. HTTP/3 proxying, request-time DNS with
mirror, and the mail proxy each need their own mitigation. - Upgrade to nginx 1.30.7 or 1.31.9, or your distribution’s patched package, then restart nginx. A reload does not replace the running binary.
- Do not trust
nginx -vto tell you whether a server is patched. Distributions backport fixes without changing the version it prints. - The kernel flaw that turns worker access into root has no patch. On hosts that don’t use SCTP, block the module from loading.
Who is not affected
nginx2root covers five separate flaws, so a server is out of scope only if it avoids all five configurations. Going by the configuration table in Xint’s write-up:
- Builds without the HTTP/2 module, or servers with HTTP/2 turned off on every listener, are not reachable through CVE-2026-123007 or CVE-2026-123633.
- Servers with no QUIC listener (no
listen ... quic,http3 off) are not reachable through CVE-2026-121810. - Servers whose
proxy_passtargets are fixed upstream groups never resolve a destination at request time, so they don’t meet the conditions Xint tested for CVE-2026-123634. - Servers with no
mailblock usingproxy ontogether withauth_httpare not reachable through CVE-2026-113425. - nginx 1.30.7, 1.31.9, or a distribution package whose advisory lists the fixes, is patched for the nginx flaws.
- Hosts where the SCTP module cannot load are not exposed to the kernel step, though the worker-level compromise still applies.
Turning off mirror alone does not rule out CVE-2026-123634, because Xint notes that other features that create subrequests, such as SSI, may reach the same bug. Releases before 1.9.5 predate HTTP/2, but they are still exposed to CVE-2026-123634 and CVE-2026-113425 and carry other known nginx flaws, so they are no safer to run.
What is nginx2root?
nginx is the web server and reverse proxy in front of a large share of websites and APIs, more than 225 million sites by the Netcraft figures that Wiz cites. It terminates TLS, speaks HTTP/2 and HTTP/3 to clients, and forwards requests to backend servers. All five nginx2root flaws sit in that front-door code, so they can be reached before any application logic or authentication runs.
The five flaws are independent: each one leads to code execution on its own, and they don’t need to be chained; Xint lists the configuration that exposes each one.
There is a sixth flaw in the Linux kernel’s SCTP subsystem. While a send operation waits, its association can move to another socket, and the waiting operation then frees it, giving a use-after-free or double free. Xint says the flaw was introduced in Linux 4.15 in 2018 and is withholding most details until a patch ships. Many distributions load the SCTP module automatically the first time a program opens an SCTP socket, which is what lets code running as the nginx worker reach it.
According to Xint, one of its researchers found CVE-2026-123007 while preparing for ZeroDay Cloud 2026, and days later a fully automated Xint scan found the other four. Wiz found both HTTP/2 flaws with its AI code scanning harness, and says Ikotas Labs, Metnir, and Rapid7 reported them to F5 as well.
Technical analysis
CVE-2026-123007 starts as a bookkeeping error in HTTP/2 flow control and ends as an out-of-bounds memory copy in the TLS send path. Both Xint and Wiz trace it through the same functions. We stop short of the final exploitation steps, because neither team published them and we don’t reproduce them.
How nginx tracks HTTP/2 send windows
HTTP/2 flow control stops a server from sending more response data than the client is ready for. nginx keeps a send window for each stream and one for the whole connection, h2c->send_window. The protocol caps a window at 231 − 1. Queuing DATA subtracts its size from both windows, and a client’s WINDOW_UPDATE frame adds credit back.
Where the accounting breaks
If a stream is canceled while its DATA is still queued, ngx_http_v2_filter_cleanup() drops the unsent DATA and refunds its size to the connection window:
h2c->send_window += window;That refund has no upper-bound check. A client that has already restored the same credit with a WINDOW_UPDATE can then cancel the streams, and the refund pushes the window past the 231 − 1 limit.
Why the bounds check stops working
The check on later WINDOW_UPDATE frames computes the room left as the maximum minus the current window:
if (window > NGX_HTTP_V2_MAX_WINDOW - h2c->send_window)send_window is an unsigned size_t. Once it exceeds the maximum, the subtraction wraps to a huge positive number, so every further increment passes the check. Xint notes that repeating this lets a client set the window to any 64-bit value.
From an oversized window to an out-of-bounds copy
ngx_http_v2_send_chain() casts the window to the signed off_t when sizing the next DATA frame, so a value near 264 becomes a small negative number. That negative size leaves a buffer’s end pointer before its start, and the TLS output path in ngx_ssl_send_chain() turns the difference back into an enormous unsigned length for memcpy().
A copy that size would normally crash the worker, but Xint explains that on x86-64 glibc 2.24 and later, the large-copy path works backward from an end address that has wrapped around. The loop runs once, so only a few hundred bytes around the buffer edges are copied. The attacker influences where those edges fall, which gives both a heap write and a read of pointers that come back in the response. With addresses disclosed, an overwritten cleanup callback runs a command as the worker.
Wiz confirmed code execution with an address space layout randomization (ASLR) bypass on official 1.31.7 and 1.31.8 builds, over TLS on 64-bit systems serving ordinary static files, with no backend or third-party module. Xint reports success on AWS, GCP, and Azure, from inside the host, across a private network, and over a public IP.
The other four flaws
CVE-2026-123633: an HTTP/2 connection that pauses in the middle of a HEADERS frame is marked as reusable and stays marked after the request starts. When the request opens an upstream connection and nginx is short of connection slots, it can close that same HTTP/2 connection to free one, destroying the request while the upstream code still uses it. Wiz describes a second route into the same bug: once nginx reaches its per-connection frame limit, building the GOAWAY frame can fail too, and the error path closes the connection in the same way.
CVE-2026-121810: the HTTP/3 version of the same pattern. While nginx creates a new stream, closing another idle stream can put the parent QUIC connection back on the reusable list, and the new request’s upstream connect can then free it.
CVE-2026-123634: when a request and its mirror wait for the same DNS answer, a failed lookup plus a client reset can terminate the main request and free the mirror’s resolver context. The resolver loop still holds a pointer to it and later calls the handler stored there.
CVE-2026-113425: in the mail proxy, a client that resets its connection during login can free its session while the connection to the auth_http service still points to it. Xint triggered it with an auth service that rejected every login, so no valid credentials are needed.
Xint tested all four against the official nginx:1.31.8 container image, each with the relevant block added to the stock configuration, and reached command execution as the worker in every case.
What is the impact?
An attacker who exploits any of the five nginx flaws runs commands as the nginx worker user. That process terminates TLS and handles decrypted traffic for every site and API behind it, so request headers, cookies, bearer tokens, and API keys pass through its memory. One nginx deployment often fronts several applications, so a flaw in nginx exposes them even when their own code is secure.
Chained with the kernel flaw, the impact grows to root on the host. Xint’s demo used CVE-2026-123007 to run commands as the worker inside a Docker container, then escalated to root on the underlying AWS host over its public IP. Because containers share the host kernel, root there means control of every container on that host. Whether SCTP is reachable depends on the kernel, the available modules, and the container’s restrictions.
The conditions differ by flaw: CVE-2026-123007 needs only a reachable HTTP/2 port, which makes it the widest exposure. In Xint’s tests, CVE-2026-123633 and CVE-2026-121810 needed nginx to open a TCP connection to the attacker, and CVE-2026-123634 needed nginx’s resolver to reach the attacker’s DNS server. Servers that cannot make outbound connections to arbitrary hosts are harder to exploit through those three.
ASLR offers no protection: both HTTP/2 flaws let an attacker read memory before taking control. Exploits still have to fit a given build and configuration, and Wiz points to PHP2Shell, where widespread attacks first hit packaged products whose customers all ran the same build.
As a rough measure of scale, Xint found 56.7 million hosts for product:nginx on Shodan as of November 10, 2026, and 98.9% of the 11.94 million that showed a version fell in the range affected by CVE-2026-123007. Xint itself warns that version strings don’t confirm a server is vulnerable: HTTP/2 must be enabled, and the package may carry a backported fix.
Attacks on CVE-2026-123007 are also hard to spot, because the WINDOW_UPDATE and RST_STREAM frames that trigger it are not requests, so they don’t appear in access logs, and TLS hides them on the wire. Wiz adds that CDNs and WAFs that terminate HTTP/2 may break parts of an exploit, depending on how they forward traffic, though that is no substitute for patching the nginx behind them.
Which products are affected?
As of November 18, 2026, the nginx security advisories confirm that nginx 1.30.7 and 1.31.9 fix all five. The NGINX Plus builds below come from Wiz, which lists them for the two HTTP/2 flaws; check F5’s advisories for the other three. Earlier 2026 advisories also covered F5 products built on nginx, such as NGINX Ingress Controller, App Protect WAF, and Gateway Fabric; we have not confirmed whether this release covers them.
Which actions should security teams take?
1. Upgrade
Install nginx 1.30.7 or 1.31.9, NGINX Plus’s fixed build, or your distribution’s patched package as soon as it ships. Then restart nginx or complete a live binary upgrade.
- A configuration reload does not replace the running executable, and old workers keep serving existing connections until they exit.
- Check the full package version against your distribution’s advisory, not the output of
nginx -v. Ubuntu 22.04, for example, moved from1.18.0-6ubuntu14to1.18.0-6ubuntu14.22through security updates whilenginx -vstill reported 1.18.0. - Rebuild container images once the base image is fixed. Images pinned to older digests stay vulnerable.
2. Reduce exposure until you can patch
Each mitigation covers only the flaws in its own configuration. Disabling HTTP/2 is the quickest, and it leaves three of the five open.
The modprobe.d rule only stops the module from loading through modprobe. It does not unload a module already loaded, and it does nothing if SCTP is built into the kernel. After any configuration change, run nginx -t, reload, and restart nginx if old workers are still holding connections. Re-enable HTTP/2 once the fixed release is running.
3. Find exposed instances
No indicators of compromise have been published. To find hosts in scope for CVE-2026-123007:
- Check the version and package.
nginx -vgives a first cut, and the distribution package version settles whether a backport is in. - Check the build.
nginx -V 2>&1 | grep -c http_v2_modulereturns 0 when the binary has no HTTP/2 code. - Check the configuration.
nginx -Tshows the full loaded configuration; look forhttp2 on;orhttp2in alistenline. - Check reachability from outside your network.
openssl s_client -connect HOST:443 -servername HOST -alpn h2reportsALPN protocol: h2when the server accepts HTTP/2. Behind a CDN, also test the nginx host directly.
Patch internet-facing servers first, then appliances, packaged products, and shared container images, where many deployments run the same nginx build and one working exploit reaches all of them.
For the other four, search configurations for quic, resolver with a variable in proxy_pass, mirror, and mail blocks with auth_http.
Of the exploitation signals Xint suggests, the strongest is an nginx worker starting a shell or any other program; an auditd rule on execve for the worker’s UID records this from the moment it is installed. Weaker signs include long-lived HTTP/2 connections whose received bytes keep climbing while logged request sizes stay small, many short TLS connections from the same source, and repeated worker crashes (signal 11 in the error log), each of which can have an innocent cause on its own. Wiz flags the same pattern of long-lived HTTP/2 connections carrying large amounts of data as a possible sign of an attack on CVE-2026-123007.
Timeline
The bigger security pattern
nginx2root is the third disclosure in a week about code below the application, after the Apache HTTP Server mod_http2 flaw (CVE-2026-119618) in the web server’s HTTP/2 code and Java4Shell (CVE-2026-114938) in the runtime’s Base64 decoder. This time the flaws are in the reverse proxy that often runs in front of both. In each case the vulnerable code runs before authentication or business logic sees the request, so a well-built API behind it is exposed anyway.
Five teams (Xint, Wiz Research, Ikotas Labs, Metnir, and Rapid7) reported the same two HTTP/2 flaws to F5 independently, after one of them had sat in nginx for more than a decade. Wiz says its AI code scanning harness found both, and Xint says an automated scan found four of its five. Xint counts 2 new entries on the nginx security advisory list in 2025 and 26 by November 17 this year, before nginx2root.
Five flaws in the same server are reached through HTTP/2, HTTP/3, the resolver, and the mail proxy, and one quick mitigation covers only two of them. Scoping nginx2root takes four facts per server: the real package version, which protocols its listeners accept, how its proxy_pass destinations are resolved, and whether it runs a mail proxy.
How Equixly helps
Equixly pentests the web apps and APIs that sit behind a front door like nginx, so once the server is patched, you know what the applications behind it still expose.
- Every application. Web apps, APIs, MCP servers, and LLM apps, from one platform.
- Inside the network too. Space Link runs in your environment, so internal services get tested without being exposed.
- Every release, no per-test bill. Test on every release.
To learn more and see the platform in action, book a demo.




