
NGINX2Root: What It Is and How to Check Your NGINX Servers
NGINX2Root is the name Theori's Xint research team gave to five NGINX vulnerabilities that F5 fixed on November 18, 2026, together with a Linux kernel bug that can turn code execution into root access. Two of the five, CVE-2026-123007 and CVE-2026-123633, sit in NGINX's HTTP/2 code and, like the other three, let an attacker run code on the server without logging in.
The question a security leader will get this week is whether any NGINX servers were exposed, and whether anyone tried these flaws against them. A targeted threat hunt across NGINX configuration, error logs, flow records and endpoint telemetry can show which servers were exposed and look for signs that someone tried.
{{ebook-cta}}
What NGINX2Root covers
F5 rates all five 9.2 under CVSS 4.0, and each is exploitable only when the feature it sits in is in use, according to Tenable. Xint, which found them, lists the conditions:
- CVE-2026-123007 (HTTP/2 flow control, present since 1.9.5): NGINX miscalculates how much data an HTTP/2 client has allowed it to send, leading to out-of-bounds reads and writes. Tenable says it needs only HTTP/2 over TLS, and Wiz demonstrated code execution through it on 64-bit systems serving nothing but static files.
- CVE-2026-123633 (HTTP/2 connections, since 1.19.7): a use-after-free on servers that proxy HTTP/2 requests to a backend, reached when free connection slots run low. Xint's exploit created that condition by occupying slots with extra connections.
- CVE-2026-123634, CVE-2026-121810 and CVE-2026-113425: use-after-free flaws in the DNS resolver (with a request-built
proxy_passandmirroror SSI subrequests), in HTTP/3 proxied to an upstream, and in the mail proxy withauth_http.
The HTTP/2 pair draws the most attention because HTTP/2 is turned on far more often than the features the other three need. Code run through CVE-2026-123007 executes as the NGINX worker process, usually an unprivileged account, and Rapid7 says execution as root has not been established. Even so, Wiz warns that exploiting the HTTP/2 pair could let attackers steal sensitive data or tamper with websites.
The sixth bug is how Xint's chain reaches root: a use-after-free in the Linux kernel's SCTP code that had no CVE or patch as of November 18. In Xint's tests, the chain also escaped a Docker container running NGINX and took root on the host. F5 and nginx.org do not use the NGINX2Root name, and some coverage calls the HTTP/2 pair nginx2shell.
Is NGINX2Root being exploited?
No exploitation in the wild had been reported as of November 19, and CISA had not added the CVEs to its Known Exploited Vulnerabilities catalog, according to watchTowr.
As of November 19, CVE-2026-123007 was the only one of the five with a verified public exploit. Rapid7's proof of concept depends on an x86-64 glibc memory-copy routine selected for CPUs with AVX-512F and AVX-512VL, and needed about 128 GB of HTTP/2 data. Rapid7 says that volume cannot get through a link slower than about 300 Mbit/s within NGINX's default one-hour connection lifetime. That limit is the keepalive_time setting, which appeared in NGINX 1.19.10, so older builds lack it and administrators can raise it.
Wiz holds working exploits it has not released and calls the flaws difficult to exploit remotely, but warns that motivated attackers may tailor exploits to specific targets.
Which NGINX servers are exposed to NGINX2Root
Start with servers where NGINX HTTP/2 support is turned on. It is enabled with http2 on; on NGINX 1.25.1 and later, or with the http2 parameter on a listen line in older configurations. Running nginx -T prints the full configuration, included files and all, for searching. Use the binary path and options each NGINX master process shows in ps, since without -c the command reads the default configuration file. Because nginx -T reads the files on disk, also test NGINX's own address from another machine: openssl s_client -connect host:443 -servername host -alpn h2 reports ALPN protocol: h2 when that TLS listener accepts HTTP/2.
The same nginx -T output shows whether a server uses the features the other three flaws need. Look for a listen line with quic, a proxy_pass server name built from a variable where mirror or SSI is also used, and a mail block.
Check fixes against the distribution's advisory rather than the version number, since distributions backport fixes, sometimes without changing what nginx -v reports. Include copies of NGINX inside container images, appliances and Kubernetes ingress controllers, which do not appear in host package lists. NGINX-based builds such as OpenResty need their own updates too.
Where a load balancer or CDN terminates HTTP/2 and talks to NGINX over HTTP/1.1, traffic through that device does not reach NGINX's HTTP/2 code. A layer-4 load balancer that passes TLS straight through to NGINX leaves NGINX's HTTP/2 code reachable. Clients that connect to NGINX directly, including internal ones, can still use its HTTP/2 listener.
The community ingress-nginx controller for Kubernetes is a special case. Kubernetes retired it in March 2026 with no further releases for bug fixes or security patches, so clusters running it will not get these fixes from the project. In a default install, code running in the controller's NGINX workers can use its service account, which can access all Secrets cluster-wide. A compromised controller puts those Secrets in scope for rotation. Its HTTP/2 switch is the use-http2 setting in the controller's ConfigMap.
Each release line maps to a fix or a stopgap:
- NGINX Open Source: upgrade to 1.31.9 (mainline) or 1.30.7 (stable); older release lines get no fix.
- NGINX Plus 37.x: upgrade to 37.0.8.1 from 37.0.x, or to 37.3.0.1 from 37.1.x and 37.2.x.
- NGINX Plus R33 to R36: Tenable lists no fixed build; move to a fixed 37.x release and apply the stopgaps in the next section until then.
- Distribution packages: the distribution's patched package, whatever version it reports, once its advisory covers all five CVEs.
- F5 NGINX Ingress Controller: upgrade to 5.8.0, which ships the fixed NGINX and NGINX Plus builds, or, on the LTS track, to 2026-lts-r11, which updates NGINX Plus to 37.0.8.1.
- Other F5 products that bundle NGINX, such as NGINX Gateway Fabric: check F5's advisory for a fixed release.
- Community ingress-nginx: no fix from the project; set
use-http2: "false"and move to a maintained controller.
How to patch, and what to do until you can
Upgrade, then restart NGINX, or complete a live binary upgrade, rather than reloading it, since Xint notes that a reload does not replace the running executable. After a package upgrade, an NGINX process whose /proc/<pid>/exe link ends in (deleted) is still running the old binary.
Until the upgrade lands, turning HTTP/2 off closes the two HTTP/2 flaws. Wiz's steps are to remove http2 from any listen lines and, on NGINX 1.25.1 and later, to set http2 off; in each affected server block, then reload and confirm the old workers have exited. Connections already open stay with the old workers on the old configuration, so if ps still lists nginx: worker process is shutting down, restart NGINX. Xint notes that services needing HTTP/2 through that listener, such as native gRPC, stop working, and the other three flaws stay open.
For those three, Xint suggests removing QUIC listeners and setting http3 off;, and keeping untrusted clients away from mail proxy listeners. Where mirror is used, it suggests pointing proxy_pass at a fixed upstream, and it warns that other subrequest features such as SSI may reach the same bug.
Where SCTP is not needed, Xint recommends blocking the kernel's sctp module, which removes the step Xint's chain uses to reach root. The block only stops modprobe from loading the module; it does not unload an sctp module that lsmod already lists or disable SCTP compiled into the kernel.
What to look for in your logs
No indicators of compromise had been published as of November 19, so these three checks, drawn from Wiz's and Xint's guidance, look for what exploitation does to a server. Run them from November 18 on, and earlier where logs allow, since Wiz reports that five research teams independently uncovered the HTTP/2 pair before disclosure. Wiz cautions that none of these signs confirms an attack on its own. Xint calls a program started by an NGINX worker the clearest sign of a successful attack. It advises blocking the source and investigating when weaker signs, such as repeated crashes, heavy inbound traffic and many short connections from one source, appear together and cannot be explained.
Worker crashes. Search NGINX error logs for exited on signal, the line NGINX writes when a worker dies, for example on a segmentation fault (signal 11) or an abort (signal 6). NGINX's master process writes this line to the main error log, not to error logs set inside blocks such as server or location. The line gives the worker's process ID but no client address, so match each crash to the connections that ended at that moment in load balancer or firewall logs. Repeated crashes tied to one client are a lead, though faulty third-party modules and memory pressure cause crashes too. A failed attempt can crash a worker, Xint notes, but Rapid7's exploit avoids the crash, so a clean error log does not rule out a successful attack.
On reverse proxies, worker_connections are not enough, reusing connections warnings mark the low-slot condition CVE-2026-123633 and CVE-2026-121810 need, and traffic peaks produce them as well. NGINX logs them at the warn level, which an error_log set to the default error level does not record.
Long-lived, high-volume HTTP/2 connections. In load balancer, firewall or flow logs, look for one client connection to an NGINX listener that stays open for several minutes and moves an unusually large volume of data. Most of it flows from the client, while NGINX sends little back. Large uploads produce such connections too, so compare against what the listener normally receives. NGINX access logs may show little of this, since Xint notes that the control frames used to trigger CVE-2026-123007 are not logged as requests.
Commands launched by NGINX. In EDR process data, look for any program whose parent is an nginx worker, such as a shell (sh, bash) or a download tool (curl, wget). On hosts without EDR, a Linux audit rule on execve calls by the worker's user ID can record these launches, though only from the moment it is added. A stock NGINX worker rarely starts other programs; the usual exception is a setup that runs scripts inside NGINX, such as OpenResty Lua code. Elsewhere, treat a hit like a suspected web shell and work the process tree as our guide to investigating EDR alerts describes.
Xint's chain reached root from a worker and, in testing, escaped a Docker container to the host, so scope a confirmed hit to the host and every container on it. Isolate the host first, capture its memory and disk, then rebuild it rather than patching in place, and revoke and replace the TLS certificates and other credentials it held. NGINX decrypts the traffic it terminates, so also consider revoking session tokens and API keys that passed through it while the attacker had access.
How Prophet AI handles threats like NGINX2Root
These checks span configuration, error logs, flow records and endpoint data that usually sit in different tools. In Prophet AI Threat Hunter, a team can ask for them in plain language, such as NGINX worker crashes since November 18 on internet-facing hosts. Prophet AI Threat Researcher builds hunts for critical emerging threats against a profile of the software the organization runs.
Leads go to Prophet AI SOC Analyst for a full investigation that shows the evidence behind its determination. To run these NGINX2Root checks without writing the queries yourself, see how Prophet AI Threat Hunter handles emerging threats.
NGINX2Root is the name Theori's Xint research team gave to five NGINX vulnerabilities that F5 fixed on November 18, 2026, plus a Linux kernel bug that can turn code execution into root access. Two of the five, CVE-2026-123007 and CVE-2026-123633, sit in NGINX's HTTP/2 code and, like the other three, allow code execution without logging in. F5 rates all five 9.2 under CVSS 4.0, and some coverage calls the HTTP/2 pair nginx2shell.
No exploitation in the wild had been reported as of November 19, 2026, and CISA had not added the CVEs to its Known Exploited Vulnerabilities catalog. Rapid7 has published a proof of concept for CVE-2026-123007 that depends on a specific x86-64 glibc routine, and Wiz holds working exploits it has not released. Wiz warns that motivated attackers may tailor exploits to specific targets.
NGINX Open Source 1.30.7 (stable) and 1.31.9 (mainline) fix all five NGINX flaws, and NGINX Plus 37.0.8.1 and 37.3.0.1 fix them for Plus. Tenable lists no fixed build for NGINX Plus R33 through R36. Linux distributions backport fixes into their own packages, sometimes without changing the version nginx -v reports, so check the distribution's advisory.
Partly. Removing http2 from listen lines and, on NGINX 1.25.1 and later, setting http2 off in each affected server block closes CVE-2026-123007 and CVE-2026-123633, but not the other three flaws. After reloading, confirm the old workers have exited, since connections opened earlier stay with them. Disabling HTTP/2 also breaks services that need HTTP/2 through that listener, such as native gRPC, so treat it as a stopgap until the upgrade and a full restart or live binary upgrade.
Clusters running the community ingress-nginx controller will not get a fix from that project, because Kubernetes retired it in March 2026 with no further security patches. Setting use-http2 to false in the controller's ConfigMap closes the two HTTP/2 flaws but breaks native gRPC services exposed through the controller. Moving to a maintained controller on a fixed release, such as F5's separately maintained NGINX Ingress Controller or a Gateway API implementation, is the lasting fix.
Both are HTTP/2 flaws in NGINX that allow unauthenticated code execution, but they need different conditions. CVE-2026-123007, a flow-control bug present since NGINX 1.9.5, is reachable with HTTP/2 over TLS, including on a server that only serves static files. CVE-2026-123633, a use-after-free present since 1.19.7, affects servers proxying HTTP/2 requests to a backend when free connection slots run low. An attacker can create that condition by holding extra connections open.
Insights
Definitive Guide to Detection Engineering
Where detection engineering falls short, how to close those gaps, and what it looks like in an AI-enabled SOC.



.avif)
