Since 2015, a counter in nginx’s HTTP/2 code could be pushed past its limit by a client that simply keeps saying “send me more”. That bug, CVE-2026-123007, is the lead flaw in nginx2root, a set of five nginx vulnerabilities disclosed on 18 November 2026 that researchers say can each end in remote code execution.
In short: nginx2root is five memory safety bugs in nginx that can let an unauthenticated attacker run code in an nginx worker process, depending on which features are enabled. Upgrade to nginx 1.30.7 or 1.31.9 (or your distribution’s patched package), restart rather than reload, and turn HTTP/2 off on anything you cannot patch today.
- What is nginx2root?
- Who found it, and when?
- How does CVE-2026-123007 work?
- How do the other four bugs work?
- How severe is nginx2root really?
- Is nginx2root exploited in the wild?
- Who is affected, and how do you check exposure?
- How do you detect nginx2root exploitation attempts?
- How do you fix nginx2root? Mitigation in priority order
- How does nginx2root compare to earlier cases?
- The catch: why this is not a one-request takeover
- Open questions
- The bottom line
- Sources
What is nginx2root?
nginx2root is the name security firm Xint gave to five vulnerabilities in nginx, the web server and reverse proxy that Wiz, citing a Netcraft survey, says powers more than 225 million websites. F5, which maintains nginx, and nginx.org published fixes and advisories on 18 November 2026.
The name has a second half. Xint paired the nginx bugs with an unpatched Linux kernel flaw in SCTP, a little-used network protocol, which it says turns access as the nginx worker into root on the host, including from inside a Docker container. The kernel bug has no CVE in the sources and its details were withheld at disclosure.
The five nginx CVEs at a glance
| CVE | Component | Needs | First vulnerable (nginx.org) |
|---|---|---|---|
| CVE-2026-123007 | HTTP/2 flow control | HTTP/2 enabled | 1.9.5 |
| CVE-2026-123633 | HTTP/2 use-after-free | HTTP/2 proxied to an upstream | 1.19.7 |
| CVE-2026-121810 | HTTP/3 (QUIC) use-after-free | HTTP/3 proxied to an upstream | 1.25.0 |
| CVE-2026-123634 | DNS resolver use-after-free | Variable proxy_pass, resolver, mirror or SSI | 0.6.18 |
| CVE-2026-113425 | Mail proxy use-after-free | Mail proxy with auth_http | 0.5.33 |
All five are fixed in 1.30.7 and 1.31.9. A use-after-free is a bug where a program keeps using memory after releasing it, which an attacker can sometimes fill with data of their choosing.
Who found it, and when?
Xint says it discovered the bugs on 11 October 2026, reported them to F5 through HackerOne on 16 October, and validated the patches on 10 November. One researcher found CVE-2026-123007 by hand while preparing for the ZeroDay Cloud 2026 contest, and an automated Xint scan found the other four.
Xint was not alone. Cloudflare reports that F5 credits Rapid7, Wiz Research and Ikotas Labs for CVE-2026-123007, and Metnir, Wiz Research and Palo Alto Networks Unit 42 for CVE-2026-123633. Wiz says it reported the HTTP/2 use-after-free on 21 October and was told another team had got there first. Several groups finding the same bug within weeks is a sign that it was within reach of attackers too.
How does CVE-2026-123007 work?
CVE-2026-123007 is an accounting error in HTTP/2 flow control. HTTP/2 lets a client tell the server how much data it may send, the “window”, and the client enlarges it with WINDOW_UPDATE frames.
According to Xint, nginx refunds window space when a stream is cleaned up without capping it, so the connection’s send window can grow past the protocol maximum of 2^31-1. The value then wraps around, the size check on later WINDOW_UPDATE frames no longer catches it, and a signed-to-unsigned conversion makes nginx copy far more data than the buffer holds. The result is an out-of-bounds read and write on the heap.
Xint says its exploit uses that to leak memory addresses and then overwrite a cleanup function pointer, which gives code execution as the nginx worker user. Cloudflare says it did not reproduce the full exploit and confirmed only the memory fault under AddressSanitizer, a debugging tool that flags bad memory access.
Why it is noisy
Reaching the top of the window takes volume. Cloudflare, citing Rapid7, says it needs about 2^33 WINDOW_UPDATE frames, roughly 112 GB, and about 128 GB of HTTP/2 traffic in total in Rapid7’s run. Wiz notes the same thing: the attacker has to send a very large number of these frames over one long-lived connection. That cost is also the best detection opportunity, covered below.
No backend required
Wiz says it triggered CVE-2026-123007 against ordinary static files served over HTTPS on 64-bit builds, with no upstream server and no third-party modules. Some summaries list “reverse proxy” as a condition for the whole set; that condition belongs to CVE-2026-123633, not to this bug.
How do the other four bugs work?
CVE-2026-123633: HTTP/2 use-after-free
When a worker runs low on free connection slots (the worker_connections limit), nginx closes idle connections to make room. Xint found that a connection holding a half-received HTTP/2 frame stays on that reusable list, so nginx can free a request while it is still opening a connection to the backend. The fix is a two-line change, according to Cloudflare.
CVE-2026-121810: the same pattern in HTTP/3
The HTTP/3 (QUIC) code wrongly marks the parent connection as reusable while a stream is being created. Disabling HTTP/2 does not help; you need to remove QUIC listeners. Cloudflare says it did not reproduce this one and based its analysis on the fix.
CVE-2026-123634: DNS resolver use-after-free
If a request and its mirror or SSI subrequest wait on the same DNS name, cleaning up the first frees the second. It needs proxy_pass built from a variable, a resolver, and an attacker-controlled DNS server the resolver can reach. Wiz describes it as RCE when the attacker controls the upstream host name.
CVE-2026-113425: mail proxy use-after-free
If a client disconnects during an auth_http lookup, nginx frees the session while the authentication connection still points to it. Cloudflare says valid credentials are not needed.
How severe is nginx2root really?
Severity depends on who you ask. Cloudflare reports that F5 rates each bug CVSS 3.1 8.1 (High) and CVSS 4.0 9.2 (Critical), and that F5 treats code execution as possible only if ASLR (address space layout randomisation, which places code at random memory addresses) is disabled or bypassed.
Xint and Wiz both say they bypassed it. Wiz says it demonstrated an ASLR bypass on official 1.31.7 and 1.31.8 builds, and argues ASLR does not stop these bugs because an attacker can read memory first. watchTowr frames it the other way: hosts with ASLR off face higher risk, and without a bypass the likely outcome is a crashed worker. Both can be true. Treat a crash as the minimum and code execution as demonstrated by two independent teams.
Is nginx2root exploited in the wild?
Not as of the latest reports. Cloudflare and watchTowr both said that, as of 19 November 2026, no in-the-wild exploitation had been reported. None of the five CVEs appeared in CISA’s Known Exploited Vulnerabilities catalog version 2026.11.27, which we checked directly.
Xint and Wiz have not released exploits. Cloudflare says Rapid7 published a proof of concept that only works against a freshly started local container, and that fake “exploits” for nginx2root are circulating on GitHub. Defenders testing their own servers should not run unknown exploit code from random repositories.
Who is affected, and how do you check exposure?
The exposure numbers are large. Xint’s Shodan search on 10 November found 56.7 million hosts identifying as nginx. Only 11.94 million (21.1 percent) showed a version, but 98.9 percent of those fell in the affected 1.9.5 to 1.31.8 range. Cloudflare says Censys counted about 8.8 million services with a potentially affected version and HTTP/2 enabled as of 19 November.
Step 1: check the package, not the version string
Run nginx -v, but do not stop there. Xint points out that distributions backport fixes without changing the upstream number; its example is an Ubuntu 22.04 package that still reports 1.18.0. Aikido lists Ubuntu 24.04 (1.24.0), Ubuntu 22.04 (1.18.0), Debian 12 (1.22.1) and Debian 13 (1.26) as shipping affected upstream versions. Compare the full package version with your distribution’s advisory.
Step 2: check which features are on
Use nginx -T to dump the running configuration and look for http2 on, listen lines containing http2 or quic, resolver with a variable proxy_pass, mirror or ssi, and any mail block. Xint also suggests an external ALPN check with openssl s_client to confirm whether a public endpoint negotiates h2.
Step 3: find the copies you forgot
Aikido says the ingress-nginx Kubernetes controller bundles its own nginx (1.27.1) and is vulnerable to CVE-2026-123633, and that the project was archived in March 2026, so no upstream fix is coming. Container images, appliances and NGINX Plus need checking separately. Sources disagree on NGINX Plus: Cloudflare and watchTowr say the R34 to R36 branches had no fixed build for CVE-2026-123633, while Wiz lists only the 37.x fixes (37.0.8.1 and 37.3.0.1 for CVE-2026-123007). Check F5 advisory K000163928 for your branch.
How do you detect nginx2root exploitation attempts?
There are no public indicators of compromise, because no attacks have been reported. Detection is about behaviour.
Log sources and behaviours
- Worker crashes. Search the error log for “worker process … exited on signal 11” and check coredumpctl. Wiz and watchTowr both name unexpected worker crashes as the main symptom.
- Resolver alerts. Cloudflare says unpatched builds log “could not cancel … resolving” at alert level for CVE-2026-123634. Its absence does not prove you are safe.
- Connection pressure. “worker_connections are not enough, reusing connections” (warn level) is the condition CVE-2026-123633 needs. “client violated connection flow control” and “http2 flood detected” log at info level, below the default, so raise error_log verbosity on exposed hosts if you can.
- Traffic shape. Xint suggests looking with ss for long-lived port 443 connections where bytes received keep rising while bytes sent stay low. Wiz says rules for long-lived HTTP/2 connections carrying a lot of data may catch CVE-2026-123007.
- Process execution. An auditd execve rule for the nginx worker’s user is the strongest signal: a web server worker should not start a shell. Xint recommends exactly this.
ATT&CK techniques
The sources do not publish ATT&CK mappings. The behaviours above map to T1190 (Exploit Public-Facing Application), T1059.004 (Unix Shell) for a worker spawning a shell, and T1068 (Exploitation for Privilege Escalation) for the kernel step.
How do you fix nginx2root? Mitigation in priority order
- Upgrade. Install nginx 1.30.7 or 1.31.9, your distribution’s patched package, or the fixed NGINX Plus build. Xint stresses that a reload does not replace the binary: restart, or do a binary upgrade, and confirm old workers have exited.
- Turn HTTP/2 off where you cannot patch. On 1.25.1 and later set http2 off; on older versions remove http2 from the listen directive. This blocks CVE-2026-123007 and CVE-2026-123633 only.
- Remove HTTP/3 if unused: drop quic listeners and set http3 off (CVE-2026-121810).
- Fix variable upstreams. Use fixed upstream groups instead of proxy_pass with variables, and turn mirror off. Xint says setting mirror_request_body on stopped its exploit but does not fix the bug (CVE-2026-123634).
- Restrict the mail proxy. Bind IMAP, POP3 and SMTP listeners to loopback or firewall them to trusted addresses (CVE-2026-113425).
- Block the root step. On hosts that do not use SCTP, add install sctp /bin/false under /etc/modprobe.d/. Cloudflare notes this does not unload a module that is already loaded or affect SCTP built into the kernel.
- Make origins unreachable directly if they sit behind a CDN. Cloudflare says its edge consumes the HTTP/2 control frames these bugs need, but only if attackers cannot bypass it; it recommends Tunnel, an IP allowlist of Cloudflare ranges or Authenticated Origin Pulls. Cloudflare also says WAF rules do not help against protocol-level bugs like these.
How does nginx2root compare to earlier cases?
| nginx2root | Java4Shell | Cacti 4HTTP2ROOT | |
|---|---|---|---|
| Disclosed | 18 Nov 2026 | 17 Nov 2026 | 26 Nov 2026 |
| Bug class | Memory corruption (UAF, overflow) | Heap memory corruption | Second-order SQL injection |
| Auth needed | None | None | Guest access enabled |
| Patch at disclosure | Yes (1.30.7, 1.31.9) | Yes | No |
| Hardest part | Huge traffic, ASLR bypass | Per-app exploit chain | Very little |
The closest match is Java4Shell, disclosed a day earlier: a memory bug deep in shared infrastructure, easy to crash, hard to turn into code execution, and hiding in bundled copies that operating system updates never touch. The contrast is the Cacti zero-day, where a public proof of concept arrived with no patch at all. For another bug where one lab showed escape from a cloud guest, see the KVM escape CVE-2026-99312.
The catch: why this is not a one-request takeover
nginx2root is serious, but it is not magic. The HTTP/2 flaw needs a connection held open for minutes and on the order of a hundred gigabytes of traffic, which is visible on any network that watches bandwidth per client. The use-after-free bugs depend on specific timing or configuration, such as worker_connections running low or a variable proxy_pass with mirror. And code execution reached worker privileges in the published research; root needs the separate kernel bug.
The honest risk is that millions of servers are in range, several teams found the same bugs independently, and fake exploits already show that attackers are paying attention.
Open questions
- The kernel bug. The SCTP flaw had no public fix or CVE at disclosure, and the sources withhold its details.
- NGINX Plus R34 to R36. Sources disagree on whether these branches have a fix for CVE-2026-123633.
- Version ranges. Xint lists CVE-2026-123634 as first affecting 1.13.4 and CVE-2026-113425 as 0.5.15; nginx.org says 0.6.18 and 0.5.33. We follow nginx.org.
- Real exposure. Only about a fifth of nginx hosts reveal a version, so the true count of vulnerable servers is unknown.
- ingress-nginx. The no-fix claim comes from Aikido; we did not find an upstream statement.
The bottom line
nginx2root is five real code-execution bugs in the web server that fronts a large share of the internet, and the HTTP/2 one has been there since 2015. It is loud and demanding to exploit, and nobody had been caught using it by 27 November, which gives defenders a window. Use it: patch the package, restart, find the bundled copies, and switch HTTP/2 off anywhere you cannot.
For more vulnerability breakdowns, see how a 12-year-old Linux NFS bug became a path to root and how attackers moved from OpenSSH patch to root in 40 hours.
Sources
- Xint: NGINX2Root, new remote code execution vulnerabilities in nginx
- Cloudflare: nginx2root, five new nginx vulnerabilities, and how Cloudflare protects origins
- nginx.org security advisories
- Wiz: Unauthenticated remote code execution in NGINX, CVE-2026-123633 and CVE-2026-123007
- watchTowr: NGINX2root (CVE-2026-123633) FAQ
- Aikido: nginx2root, critical nginx RCE vulnerabilities and how to fix them
- CISA Known Exploited Vulnerabilities catalog (JSON feed, version 2026.11.27)
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.