NGINX2Root Exploitation Reported: Check, Patch, Restart

Singapore's cyber agency said on November 26 that CVE-2026-123007 is reportedly being exploited. Here is how to check your nginx version and config, patch it, and confirm the fix actually took effect.

Before you start

Compatible with Ubuntu 24.04 LTS and 22.04 LTS (distribution nginx package), Debian 12 bookworm and 13 trixie (distribution nginx package), RHEL 8, 9, and 10 (distribution nginx package), nginx 1.30.x stable and 1.31.x mainline from nginx.org

  • SSH or console access to a server running nginx, or the name of the host that runs it for you
  • Permission to install packages and restart the nginx service
  • A list of the sites that server fronts, so you can confirm they still answer after the restart

On November 18, 2026, nginx shipped fixes for ten flaws, five of them critical, under the name researchers gave the set: NGINX2Root. The fixes landed in nginx 1.30.7 (stable) and 1.31.9 (mainline), and the distributions followed with patched packages within days. For a week the question was whether anyone would actually use the flaws. On November 26, Singapore’s Cyber Security Agency published alert AL-2026-168 saying CVE-2026-123007, the worst of the set, is reportedly being actively exploited. The agency named no source and gave no details about who saw the attacks. F5, which maintains nginx, answered in its advisory, last updated November 27, that it has not identified reliable technical evidence confirming successful exploitation, and calls the reports “reported but not yet technically substantiated”. As of the November 27 catalog, CISA had still not added any of the NGINX2Root CVEs to its Known Exploited Vulnerabilities list. A limited proof of concept is public, and fake exploits are circulating on GitHub. That combination is the point where checking stops being a chore for later and becomes the next thing to do on any server you run.

There is a second reason to look now rather than next week. On November 23, nginx released 1.30.8 and 1.31.10 to fix a separate medium-severity bug, CVE-2026-132779, in TLS 1.3 early data handling. The two releases carry both sets of fixes, so they are now the newest versions on either branch. A server patched to 1.30.7 on November 19 and left alone is safe from NGINX2Root, but it still carries the early-data bug if that setting is on. This article covers both: what changed since the first patch day, how to tell whether your server is exposed, how to patch it for your distribution, and how to confirm the fix actually took effect instead of assuming the package install did the job.

What changed since November 18

The disclosure itself is worth a short recap, because the dates explain why some servers are still exposed. Xint researchers found all five memory bugs: one by hand, the other four in an automated scan. Xint reported its findings to F5 through HackerOne on October 16. Wiz reported the HTTP/2 use-after-free with a working exploit on October 21, and Rapid7 reported CVE-2026-123007 on November 12. F5 validated the flaw on November 16 and set the November 18 disclosure date. The public release came on November 18, with CERT-EU, the EU institutions’ cyber team, recommending an update as soon as possible, starting with internet-facing servers. That same day, Rapid7 published a proof of concept for CVE-2026-123007. Its code-execution route needs about 128 GB of HTTP/2 traffic on a single connection and depends on a specific glibc memory-copy routine on AVX-512 x86-64 CPUs, which is why it only works in narrow lab conditions.

The days after the release were mostly good news for patching. Between November 18 and 20, Amazon Linux, Ubuntu, Alpine, Debian, and Red Hat shipped fixed packages, and the official Docker images were rebuilt. Cloudflare’s analysis notes that its edge terminates HTTP/2 itself, which shields origins from those bugs as long as attackers cannot reach the origin server directly. OpenResty 1.31.8.1, built on nginx 1.31.8, was still affected as of November 20, waiting on a new build.

Then came the two updates that changed the urgency. On November 23, nginx released 1.30.8 and 1.31.10 for CVE-2026-132779, a separate bug that has nothing to do with NGINX2Root. And on November 26, Singapore’s CSA published alert AL-2026-168. The alert named no source and gave no attack details, and no security company had published a report with attack details by November 28. Exploitation is reported but not yet documented in public detail. That is still a change from the first week, when nobody had reported attacks at all, and it is enough to move the patch from the maintenance queue to today.

The flaws, in one place

Five of the ten flaws are rated critical at CVSS v4.0 9.2 by F5, which maintains nginx. The table below lists them with the configuration that exposes each one, because exposure depends on what the server has switched on, and a server with HTTP/2 off is not exposed to the two HTTP/2 bugs at all. Note that nginx itself rates some of these as medium rather than critical, so severity labels differ between sources. The version ranges come from the nginx security advisories and the F5 advisories.

CVEWhat it isExposed whenVulnerable versions
CVE-2026-123007Memory corruption in HTTP/2 flow controlHTTP/2 is on1.9.5 to 1.31.8
CVE-2026-123633Use-after-free in HTTP/2 connection handlingHTTP/2 is on and nginx proxies to a backend1.19.7 to 1.31.8
CVE-2026-121810Use-after-free in HTTP/3HTTP/3 (QUIC) is on and nginx proxies to a backend1.25.0 to 1.31.8
CVE-2026-123634Use-after-free in the resolverresolver is set and proxy targets are built from the request0.6.18 to 1.31.8
CVE-2026-113425Use-after-free in the mail proxyMail proxy runs with auth_http0.5.33 to 1.31.8

CVE-2026-123007 is the one to understand first. It is an integer underflow in HTTP/2 flow-control accounting that can lead to memory disclosure, heap corruption, and remote code execution. The vulnerable code dates back to nginx 1.9.5, released in 2015, when HTTP/2 support arrived. It can be reached even on servers that only serve static content, which is why the count of exposed servers is so large: Xint’s Shodan snapshot on November 10 found 98.9% of the 11.94 million nginx hosts that report a version in the affected range, and Censys counted about 8.8 million services on an affected version with HTTP/2 on, as of November 19. F5’s description says running code also needs ASLR, a standard memory protection, to be off or bypassed. Xint says it demonstrated unauthenticated remote code execution anyway, using only a reachable HTTPS or HTTP/2 port, and chained the nginx flaws with a separate Linux kernel bug in SCTP code, present since Linux 4.15 in 2018, that had no CVE and no fix as of November 19. That chain is where the “2Root” name comes from.

The other five flaws from November 18 are lower severity: denial of service and bypasses involving TLS 1.3 request-body handling (CVE-2026-118899, an infinite loop while reading the client request body over TLS 1.3), PROXY protocol v2 (CVE-2026-120993, a NULL pointer dereference), alias with try_files (CVE-2026-125283, a buffer overflow), and the stream module (CVE-2026-120967, an SNI bypass in client certificate validation, and CVE-2026-123640, insufficient validation in the stream ssl_preread module). All ten are fixed in 1.30.7 and 1.31.9. The full list is on the nginx news page, which also carries the November 23 entry for the follow-up releases.

CVE-2026-132779 deserves its own paragraph because it is easy to confuse with the NGINX2Root set. It is a denial-of-service flaw in TLS 1.3 early data handling, fixed in 1.30.8 and 1.31.10. When ssl_early_data on is set, a crafted TLS 1.3 connection can drive an nginx worker into a tight loop in which it repeatedly retries the same send without ever making progress. The worker keeps accepting new connections and handling existing ones, but one CPU core stays pinned at 100% until the worker is restarted. F5 rates it medium, at CVSS v3.1 5.3 and CVSS v4.0 6.9. The affected range is nginx 1.21.4 through 1.31.9, which covers roughly every supported release since 2021. It cannot be used to run code. No exploitation had been reported as of November 24. The fix is the same two releases, so a server that moves to 1.30.8 or 1.31.10 closes both the NGINX2Root set and this bug in one step. The Tenable plugin page and the CVE record carry the details, and the F5 advisory K000163947 is the upstream reference.

How to tell whether your server is exposed

Start with the version, but do not stop there. On a Debian or Ubuntu host, nginx -v prints the upstream version the package was built from, and that number can mislead, because distributions backport security fixes into their own package builds while keeping the old upstream number. Ubuntu 24.04 LTS, for example, stays on nginx 1.24.0 and receives the fix as a distribution revision such as 1.24.0-2ubuntu7.20. A scanner that only reads the version string will call that host vulnerable when it is not. The reliable check on Debian and Ubuntu is the package changelog:

nginx -v
apt changelog nginx | grep -c CVE-2026-123007

A count of 0 means the installed package does not have the fix yet. A count above 0 means the changelog mentions the CVE, which is the distribution’s own record that the fix is in the package. On RHEL and its derivatives, dnf info nginx or rpm -q --changelog nginx | grep -i CVE-2026-123007 gives the same answer. On a host that runs nginx from the nginx.org repository or a container image, the version string is the truth: anything below 1.30.7 on the stable branch or 1.31.9 on mainline is unpatched for NGINX2Root, and anything below 1.30.8 or 1.31.10 still carries CVE-2026-132779 if early data is on.

Next, check which of the exposing configurations the server actually uses, because that decides how urgent the patch is for that host and what the fallback is if the patch cannot go in today. These three searches cover the config tree:

grep -R "http2" /etc/nginx/
grep -R "listen.*quic\|http3" /etc/nginx/
grep -R "ssl_early_data\|resolver \|mail" /etc/nginx/ | grep -v "^.*#"

A server with http2 on in a listen directive is exposed to the two HTTP/2 flaws. A listen ... quic line means HTTP/3 is on. A resolver directive combined with proxy targets built from request variables exposes the resolver flaw, and a mail block with auth_http exposes the mail proxy flaw. ssl_early_data on marks the host for CVE-2026-132779. A server with none of these still needs the patch, since the remaining five flaws do not all need those settings, but the config check tells you which of the critical five can actually reach you.

The same check applies to container images, with one difference: the version lives in the image, not in a package manager. docker run --rm nginx:1.30.7 nginx -v or the tag already in your compose file tells you what is running, and the official nginx images were rebuilt with the fixed versions between November 18 and 20. An image pinned to nginx:1.30.6 or nginx:stable from before the fix needs a rebuild and redeploy; updating the package on the host alone leaves the old image running. Our earlier guide to the Ubuntu USN-9159-1 and Debian updates for CVE-2026-123007 covers the distribution package matrix in detail, including the fixed build numbers per Ubuntu release.

Patching, by distribution

On Ubuntu and Debian, the update is one command, followed by a restart that many people skip. Install the fixed package first:

sudo apt update && sudo apt install --only-upgrade nginx

Then restart the service completely:

sudo systemctl restart nginx

The restart matters more than it looks. A configuration reload (nginx -s reload or systemctl reload nginx) starts new worker processes, but the master process keeps running the old binary, and the old binary is the one with the flaw. Only a full restart replaces the running program. The same mistake shows up in other contexts: a reload after a package upgrade leaves the old code in memory, and the version check afterwards still reports the old build. If the server is behind a load balancer, drain the node first, then restart, then add it back. The USN-8955-1 guide from October walks through the same reload-versus-restart distinction for an earlier nginx patch round, and the pattern has not changed.

On RHEL 8, 9, and 10, the equivalent is sudo dnf update nginx followed by sudo systemctl restart nginx. Red Hat rated the flaw Critical and listed nginx in RHEL 8, 9, and 10 as affected, with fixed packages shipping between November 18 and 20. If the last update ran before that window, run it again. Amazon Linux 2, Amazon Linux 2023, and the 2027 preview were in the same November 18 to 20 batch.

For hosts that install nginx from the nginx.org repository, move to 1.30.8 on the stable branch or 1.31.10 on mainline. Those are the newest versions on either branch and include both the NGINX2Root fixes and the CVE-2026-132779 fix. NGINX Plus users need PLS.37.0.8.1 LTS or PLS.37.3.0.1 CR for the November 18 flaws. Plus releases R34 to R36 have no fix listed for these flaws; the documented path is to move to a fixed PLS.37 release.

Docker users should rebuild the image from a fixed base tag and redeploy, then confirm the running container reports the new version. A docker pull nginx:1.30.8 followed by recreating the container is the whole job, but it is easy to pull the image and forget to recreate the container, which leaves the old one running. Check with docker exec <container> nginx -v after the redeploy, not before.

Confirming the fix actually took effect

A package install that nobody verifies is a guess. Three checks, run in order, confirm the patch. First, the version and the changelog, repeated after the restart. On Debian and Ubuntu, nginx -v plus the apt changelog nginx | grep -c CVE-2026-123007 count from the previous section should now show the fix. On a host running the nginx.org build, nginx -v should read 1.30.8, 1.31.10, or later. Second, the process start time. The master process should have started after the restart, not days ago:

ps -o pid,lstart,cmd -p $(pgrep -f "nginx: master" | head -1)
systemctl status nginx --no-pager | head -5

If the master process start time predates the package install, the restart did not happen, and the old binary is still serving traffic. Third, a request check against each site the server fronts. A curl -I https://example.com for each vhost confirms the server answers, and a look at the error log confirms nothing broke in the restart:

sudo nginx -t
grep "signal 11" /var/log/nginx/error.log | tail -5

The nginx -t run validates the configuration before the restart, so run it before restarting rather than after. The error log check serves a second purpose. No indicators of compromise have been published for NGINX2Root. F5 describes the usual result of the flaw as a worker crash, so repeated worker crashes in the error log are worth treating as a sign someone is probing the memory bugs. A clean log after the patch is the expected result. A log full of worker crashes from before the patch is a reason to review the server for unknown processes, new user accounts, and changed files, the same as after any suspected break-in. Do not download exploits from GitHub to test your server. Cloudflare warns that fake ones are circulating, and a test download is how a patching job turns into an incident. The checks above use only the server’s own logs and package records.

Two related failure modes are worth naming because they look like patching problems and are not. Third-party dynamic modules built against an earlier nginx package can fail to load after the binary changes, which produces an error at startup rather than a silent vulnerability. The guide to NGINX module ABI mismatches after apt upgrades covers that failure and the rebuild step. And a restart that drops active connections will surface as 502 responses for a few seconds; the 502 troubleshooting guide explains how to tell a restart blip from a real upstream failure.

If you cannot patch today

Sometimes the patch cannot go in today: a change freeze, a module that needs rebuilding, or a host you do not control. The mitigations below reduce exposure, but none of them replaces the update, and the temporary measures should carry a date for the real patch rather than becoming permanent.

Turning HTTP/2 off blocks CVE-2026-123007 and CVE-2026-123633, the two HTTP/2 flaws. It does not touch the HTTP/3, resolver, or mail proxy flaws, so it is a partial measure for a server that also runs those features. The directive is http2 off on the listen line, followed by a reload. Turning off HTTP/3 listeners removes CVE-2026-121810 from reach. Replacing request-built proxy targets with fixed upstream addresses removes the resolver flaw’s trigger, and keeping the mail proxy off the public internet removes the mail proxy flaw’s trigger. For CVE-2026-132779, the workaround is to set ssl_early_data off, test the configuration with nginx -t, and reload. Xint also suggested blocking the kernel SCTP module, which stops the route from the nginx flaws to full host control through the separate kernel bug.

For sites on shared or managed hosting, the job is to ask, not to patch. Ask the host whether its nginx servers are on 1.30.7, 1.31.9, or a patched distribution package, and whether nginx was restarted after the update. A host that answers with a version number and a restart time has done the work; a host that answers with a ticket number has not.

Cloudflare users get partial protection from the proxy, but only under a condition that is easy to get wrong. The proxy ends HTTP/2 and HTTP/3 connections itself, which shields origins from those bugs, but it does not cover the resolver or mail proxy bugs, and it does not cover traffic that reaches the origin directly. Firewall the origin so only Cloudflare’s IP ranges can reach it. An origin whose IP is public and reachable is exposed to the HTTP/2 flaws no matter what the proxy does.

How this article was put together

No live test was run on a server for this article, and no claim here rests on hands-on testing. Every version number, date, CVE ID, and severity comes from the sources cited: the nginx news page for the release dates and fixed versions, the Rescana analysis for CSA alert AL-2026-168 and the Rapid7 proof-of-concept details, the Recatools report for F5’s November 27 position and the CISA catalog version, the CCSI watch note for the fixed versions and the restart requirement, the Rokkhe summary for the timeline, the distribution fixes, and the exposure counts, the Safe Security analysis for the two HTTP/2 flaws, GetPageSpeed and the Tenable plugin record for CVE-2026-132779, and the Cisco advisory for the affected range. The commands in the article are the standard checks from those sources, and readers can run them on their own hosts to verify each claim: the version, the changelog count, the config search, the master process start time, and the error log. Where the sources disagree, the article says so. F5 and nginx rate some of the five critical flaws differently, and F5 and Singapore’s CSA disagree on whether exploitation is confirmed: CSA says reportedly exploited, F5 says reported but not yet technically substantiated, and CISA’s catalog lists neither as of November 27. Treat the patch as urgent because the fixes are available and the exploitation report exists, not because any single source has proven an attack against a server like yours.

What to watch next is short. If CISA adds any of the NGINX2Root CVEs to its exploited list, the patch becomes mandatory rather than urgent. If F5 publishes technical evidence that settles the exploitation question either way, the urgency changes with it. And if your distribution publishes a further revision for CVE-2026-132779, take it the same way: the follow-up releases exist because the first patch round was not the last word, and a server patched on November 19 is already one release behind.

Report a correction to this article

Article illustration
A dim server room aisle with one rack glowing amber while the rest stay dark, no logos and no readable text.