nginx2root is the name the Xint research team gave to five memory corruption bugs in nginx, disclosed with their fixes on 18 November 2026. An attacker without a login can use them to crash an nginx worker. Under the right conditions they can also run commands on the server. Xint paired them with a Linux kernel bug that turns that foothold into root. The fix is an nginx update and a restart, and most servers also need a configuration check.
nginx2root covers five bugs, each with its own trigger, from HTTP/2 to the mail proxy. Update to nginx 1.30.7 or 1.31.9, or the newer 1.30.8 and 1.31.10, and restart. A reload is not enough. If you cannot patch yet, turning off HTTP/2 and HTTP/3 blocks three of the five.
We read the nginx.org advisories and release notes on 26 November 2026. We also read Cloudflare’s detailed write-up of the bugs, which cites Xint, F5 and Rapid7.
What nginx2root is
Five bugs with five different triggers
nginx is a web server, reverse proxy, cache, load balancer and mail proxy, and a large share of the web runs on it. On 18 November, F5 and nginx.org disclosed ten nginx vulnerabilities at once. Five of them make up nginx2root. Each works on its own, and each needs a different configuration.
F5 rates every nginx2root bug 8.1 on CVSS 3.1 and 9.2 on CVSS 4.0. It also notes that code execution needs address space layout randomisation disabled or bypassed. Xint’s write-up shows how the HTTP/2 bug leaks the memory addresses that make that bypass possible.
| CVE | Bug | Configuration it needs | First affected release |
|---|---|---|---|
| CVE-2026-123007 | Flow control overflow, out-of-bounds read and write | HTTP/2 turned on | 1.9.5 |
| CVE-2026-123633 | Use after free | HTTP/2 with proxy_pass and too few worker_connections | 1.19.7 |
| CVE-2026-121810 | Use after free | HTTP/3 with proxy_pass | 1.25.0 |
| CVE-2026-123634 | Use after free | resolver, proxy_pass with variables and a mirror or SSI subrequest | 0.6.18 |
| CVE-2026-113425 | Use after free | Mail proxy with proxy on and auth_http | 0.5.33 |
The same releases fixed five other flaws. The most serious is CVE-2026-118899, an infinite loop while reading a request body over TLS 1.3. It lets an attacker stall a worker on nginx 1.13.0 and later.
The kernel bug that turns a foothold into root
The root in nginx2root comes from a sixth bug in the Linux kernel. According to Cloudflare’s summary, Xint found a use after free in the kernel’s SCTP send path, present since Linux 4.15. An attacker who already runs code as the nginx worker can use it to become root on the host. Xint did this from an nginx running inside a Docker container.
Many distributions load the SCTP module the first time a program opens an SCTP socket. Hosts that never use SCTP can still be exposed that way. As of 18 November no kernel fix was available, and Xint was holding back the details until one ships.
Which nginx servers nginx2root affects
HTTP/2 is the one most servers have on
CVE-2026-123007 is the bug to worry about first. It only needs HTTP/2, which most TLS sites turn on, and it has been in every release since HTTP/2 support arrived in 1.9.5. Xint ran its exploit over the internet against servers on AWS, Google Cloud and Azure.
The scale is large. Xint searched Shodan on 10 November and found 56.7 million hosts reporting nginx. Of the 11.94 million that showed a version, 98.9% fell in the affected range. A version string proves little on its own, because distributions often backport fixes without changing it.
The attack is not quick. Cloudflare worked out that pushing the flow control window far enough takes about 8.6 billion frames, roughly 112 GB of traffic on one connection. That buys some time on a well-monitored server. It is no reason to wait.
Resolver and mail proxy setups
The other nginx2root bugs depend on less common settings. CVE-2026-123634 needs the resolver directive and a proxy_pass target built from variables. A mirror or SSI subrequest must also look up the same name at the same moment. In Xint’s exploit the resolver had to reach a DNS server the attacker controlled.
CVE-2026-113425 only matters if nginx runs as a mail proxy with authentication through auth_http. CVE-2026-123633 and CVE-2026-121810 need a backend behind proxy_pass and a worker that runs short of connection slots. A plain static site with HTTP/2 still faces the first bug, which is why the patch matters for nearly everyone.
The nginx versions that fix nginx2root
The nginx.org security advisories list nginx 1.30.7 stable and 1.31.9 mainline as the fixed releases, both out on 18 November. On 23 November nginx.org followed with 1.30.8 and 1.31.10. Those fix one more bug, CVE-2026-132779, where a client can cause excessive CPU use when ssl_early_data is on. The newest releases carry every fix, so move straight to them where you can.
For nginx Plus, Cloudflare’s write-up lists 37.0.8.1 and 37.3.0.1 as fixed. It adds that F5 shows R34 to R36 as affected with no fixed build, so those need a move to a fixed 37 release. Distribution packages are trickier. Ubuntu, Debian and Red Hat often backport the fix into an older version number. Compare the full package version against your distribution’s own advisory, since nginx -v alone can mislead.
A configuration reload does not replace the running binary. After the update, restart nginx or complete a binary upgrade. Otherwise the old code keeps serving traffic.
Checking your servers for nginx2root
The nginx2root check is quick on each server. The hard part is finding every server. Appliances, container images and old staging boxes all count.
- List every nginx you run, including nginx Plus, distribution packages, container images and appliances that embed it.
- Run
nginx -Von each to record the version and build options. - Run
nginx -Tto dump the full configuration in use, then look for HTTP/2, QUIC listeners, resolver, proxy_pass with variables, mirror, SSI and any mail block. - Compare the package version with your vendor’s advisory, keeping backported fixes in mind.
- Test whether the origin answers on its own IP address from outside, because that decides whether a proxy in front helps at all.
Xint’s own advice for its exposure check follows the same logic. If a CDN or reverse proxy sits in front, run the test against the nginx server directly as well.
Stopgaps for nginx2root if you cannot patch today
Some servers cannot be patched straight away. In that case, turn off the features you do not need and restart so old connections close. Cloudflare’s write-up lists what each change blocks.
1# nginx 1.25.1 and later, in each server block that does not need them
2http2 off;
3http3 off;
4
5# stop the SCTP kernel module from loading until a kernel fix ships
6echo "install sctp /bin/false" | sudo tee /etc/modprobe.d/disable-sctp.conf
http2 off; blocks CVE-2026-123007 and CVE-2026-123633. On releases before 1.25.1, remove http2 from the listen directive instead. Removing QUIC listeners and setting http3 off; blocks CVE-2026-121810. For CVE-2026-123634, point proxy_pass at fixed upstream groups. Do not rely on mirror_request_body alone, since SSI and other subrequests can still reach the bug. For the mail proxy, bind its listeners to trusted networks only.
Blocking the SCTP module does not unload one that is already loaded. It also does nothing if SCTP is built into the kernel. Install your distribution’s kernel fix and reboot once it ships.
What Cloudflare’s proxy does and does not cover
Why proxied origins are shielded
The most dangerous nginx2root bugs need a carefully ordered stream of HTTP/2 or HTTP/3 control frames sent straight to nginx. When a hostname is proxied through Cloudflare, the visitor’s connection ends at Cloudflare’s edge. Cloudflare then opens its own connection to your origin, so the attacker’s frames never reach nginx. Cloudflare says this holds for CVE-2026-123007, CVE-2026-123633 and CVE-2026-121810, and that its own edge was patched before disclosure.
That protection has one condition. Your origin must not be reachable directly. Cloudflare suggests three ways to close that gap. A Cloudflare Tunnel makes only outbound connections. A firewall can accept web traffic from Cloudflare’s published IP ranges alone. Authenticated Origin Pulls make the origin reject any TLS client without Cloudflare’s certificate.
Where the protection stops
Several setups get no nginx2root protection from the proxy. Spectrum TCP and UDP applications pass traffic straight through, and the HTTP proxy carries no mail traffic. The resolver bug depends on how your configuration builds the proxy_pass target, so the proxy only makes it harder. Any nginx reached without going through Cloudflare needs the patch too. That includes DNS-only records, internal services and staging servers.
Cloudflare has released no WAF rule for nginx2root. The bugs sit in the protocol handling itself, so the protection comes from ending the connection at the edge.
After the nginx2root patch
As of 19 November, Cloudflare reported none of the five bugs in CISA’s Known Exploited Vulnerabilities catalogue and no reports of exploitation in the wild. Rapid7 has published a proof of concept that only works against a freshly started local container. Fake exploits are also circulating on GitHub. Do not run any of them on a machine you care about, because fake exploits can carry malware of their own.
Once the update is in, run nginx -V again and confirm the running process restarted after the install. Then check whether any server dropped HTTP/2 or HTTP/3 as a stopgap, and turn them back on where you need them. Keep the SCTP block until the kernel fix lands. Finally, look through logs for worker processes that crashed since 18 November, because a crash is the first visible sign of a failed attempt.
Our server security analysis covers exactly this kind of work on Linux and Windows servers. We review patch levels, open ports, firewall rules, running services and logging, and each finding comes with a risk rating. In the full tier we apply the patches and hardening ourselves, tune the firewall and run a verification scan 30 days later. If you want help finding every nginx that nginx2root can reach, our server security analysis page has the details. The quote request form reaches us directly.