Skip to main content

NGINX2Root: Critical Flaw Hits Millions of Web Servers

TechorCoffee
TechorCoffee
Editorial Team

Published (Updated )

NGINX2Root: Critical Flaw Hits Millions of Web Servers

Quick answer

  • Five critical flaws in NGINX, dubbed NGINX2Root, were disclosed on November 18, 2026.
  • The worst flaw, CVE-2026-123007, lets an attacker run code on a server without logging in.
  • It affects every NGINX release with HTTP/2 enabled, from version 1.9.5 in 2015 through 1.31.8.
  • All five flaws are rated 9.2 out of 10, the critical band, under the CVSS 4.0 scoring system.
  • A working proof-of-concept exploit for the main flaw appeared on GitHub the same day.
  • No attacks in the wild have been reported yet, and none of the flaws is in CISA's exploited-vulnerabilities list.
  • The fix is simple: upgrade to NGINX 1.31.9 or 1.30.7, then fully restart the service.
  • Disabling HTTP/2 blocks only two of the five flaws, so it is a stopgap, not a fix.

What NGINX2Root is

  • NGINX2Root is the name researchers gave to five memory-safety flaws in NGINX, the web server software that sits in front of a huge share of the world's websites.
  • The flaws were found and reported to F5, which owns NGINX, by researchers at Xint.
  • Each flaw on its own can let an unauthenticated attacker run code with the privileges of the NGINX worker process.
  • The five flaws affect different configurations, so a server may be exposed to one, several, or all of them depending on how it is set up.
  • Xint also showed that the flaws can be chained with an unpatched Linux kernel flaw to go from an anonymous web visitor to full root access on the host.
  • The name comes from that chain: NGINX to root.
  • Five teams reported the HTTP/2 bugs independently: Wiz Research, Ikotas Labs, Metnir, Rapid7 and Xint.
  • Wiz Research separately showed remote code execution with address space layout randomization defeated, on a plain NGINX server serving content directly, with no backend application and no third-party modules.

The five flaws, one by one

  • CVE-2026-123007, the main flaw. An integer underflow in NGINX's HTTP/2 flow-control code leads to an out-of-bounds memory copy. It hits any server with HTTP/2 enabled and reachable. It has been present in every official NGINX release from 1.9.5, the 2015 version that introduced HTTP/2, through 1.31.8. It is the flaw with a public proof of concept.
  • CVE-2026-123633, the second HTTP/2 flaw. A use-after-free bug that affects servers running HTTP/2 while forwarding requests to a backend, known as a reverse proxy. It has existed since NGINX 1.19.7. It matters for most production setups, because NGINX usually sits in front of another application.
  • CVE-2026-123634, the resolver flaw. A use-after-free in the DNS resolver, reached when a proxied server name is built from a variable and combined with server-side includes or mirror subrequests. It has existed since NGINX 1.13.4. It affects fewer setups, but it is still rated critical.
  • CVE-2026-121810, the HTTP/3 flaw. A use-after-free in HTTP/3, or QUIC, stream handling when requests are forwarded to a backend. It has existed since NGINX 1.25.0. It only affects servers with HTTP/3 turned on.
  • CVE-2026-113425, the mail proxy flaw. A use-after-free in the mail proxy's authentication path. It has existed since NGINX 0.5.15. It only affects servers that use NGINX to proxy email.
  • All five are rated 9.2 under CVSS 4.0 and 8.1 under CVSS 3.1.
  • The fixed releases, 1.31.9 for mainline and 1.30.7 for stable, close ten CVEs in total, including an infinite loop when reading request bodies over TLS 1.3.

Why the main flaw is so dangerous

  • The main flaw needs no login, no account and no special access. An attacker only needs to reach a server with HTTP/2 turned on.
  • HTTP/2 is enabled by default in most modern NGINX setups, and it is the standard for fast, encrypted websites.
  • The bug has been in the code for more than a decade, since HTTP/2 support first shipped in 2015.
  • That means almost every NGINX version in active use is affected by at least one of the five flaws.
  • Code execution normally needs the attacker to defeat address space layout randomization, a defense that randomizes memory locations.
  • Researchers have already shown that can be done. Wiz Research demonstrated code execution with that defense defeated, and Rapid7 published a working exploit.
  • The kernel flaw that completes the chain to root is a use-after-free in the Linux SCTP send path, introduced in Linux 4.15 in 2018.
  • The chain works even from inside a Docker container, which makes it a risk for cloud and container setups too.
  • So far, no vendor or researcher has reported exploitation in the wild, and none of the five CVEs had been added to the CISA Known Exploited Vulnerabilities catalog as of November 18.

How to check if you are affected

  • Check your NGINX version with nginx -v on the server.
  • If you run open-source NGINX between 1.9.5 and 1.31.8 with HTTP/2 enabled, the main flaw affects you.
  • If NGINX forwards requests to a backend application, the second flaw, CVE-2026-123633, affects you too.
  • If you use HTTP/3, the fourth flaw applies. If you proxy email through NGINX, the fifth applies.
  • NGINX Plus users on versions 37.0.0 through 37.0.7.1 or 37.1.0 through 37.2.0.1 should check the F5 advisories.
  • NGINX Plus releases R34 through R36 have no fix and need an upgrade to the 37.x line.
  • The popular Kubernetes ingress-nginx controller is retired and will not receive a fix at all.
  • If you run NGINX in front of WordPress, Laravel, Node or Docker apps, assume you are affected until you check.
  • Cloud and container users should check their base images, because the official NGINX images on Docker Hub were updated on November 18.
    Software engineer typing on a keyboard while a monitor shows a server update in progress

How to patch, step by step

  • Upgrade first. Move to NGINX 1.31.9 for the mainline branch or 1.30.7 for the stable branch. Both fix all five flaws.
  • Restart fully, do not just reload. A reload keeps old worker processes running with the old, vulnerable code. A full restart is required.
  • Check your package source. The official nginx.org packages and Docker Hub images were updated on November 18. Alpine 3.24 ships NGINX 1.30.7.
  • Watch your distribution. Debian, Ubuntu, Alpine 3.22 and 3.23 and OpenResty had not published fixed builds when researchers checked on November 18. Distributions may backport the fix without changing the version number that nginx -v reports, so check the full package version against your distribution's advisory.
  • If you cannot upgrade yet, disable HTTP/2. On NGINX 1.25.1 and later, set http2 off; in each affected server block. On older versions, remove http2 from the listen directive. This blocks the two HTTP/2 flaws only, not the other three.
  • For HTTP/3 setups, turn off HTTP/3 until you can upgrade.
  • For the mail proxy, limit listeners to trusted networks until you can upgrade.
  • For the kernel flaw, hosts that do not use SCTP can block the module by adding install sctp /bin/false to a file under /etc/modprobe.d/.
  • For ingress-nginx users, turn off HTTP/2 now and plan a move to a maintained ingress controller or a patched NGINX 1.30.7 or 1.31.9 build.
  • Rebuild container images. Patched NGINX base images are available, so rebuild and redeploy rather than patching a running container by hand.

What this means for website owners

  • NGINX powers a large share of the busiest websites, content delivery networks and cloud load balancers.
  • A flaw this broad, with a public exploit and a decade of affected versions, is the kind of bug attackers scan for within hours.
  • The good news is that the fix is a version bump, and the patched releases were available on the same day as the disclosure.
  • The bad news is that many servers run distribution packages, and several major distributions had not shipped patched builds on day one.
  • That gap is the window attackers will use. Servers that stay unpatched while the exploit circulates are the ones at risk.
  • Small site owners should check with their hosting provider, because many managed hosts patch NGINX centrally.
  • If your host has not confirmed a patch, ask. Do not assume it is done.
  • The disclosure also underlines a pattern: the most dangerous bugs are often the oldest ones, hiding in code that everyone trusts and nobody re-reads.

How this compares to past web server flaws

  • NGINX flaws of this severity are rare, which is why the disclosure drew attention from five independent research teams.
  • The decade-long lifetime of the main flaw recalls Heartbleed in OpenSSL in 2014, another bug that sat in widely used code for years.
  • The difference here is speed: patched releases, a public exploit and clear mitigation guidance all landed within a day.
  • The other difference is scope. The five flaws cover HTTP/2, HTTP/3, the resolver and the mail proxy, so almost every NGINX configuration is touched by at least one.
  • Security teams are treating this as a patch-now event, not a patch-when-convenient one, because the exploit is public and the attack needs no login.

The bottom line

  • If you run NGINX, upgrade to 1.31.9 or 1.30.7 today and restart the service fully.
  • Disabling HTTP/2 helps, but it only blocks two of the five flaws.
  • No attacks have been reported yet, but the exploit is public, so the safe window is short.
  • Check your version, check your distribution's advisory, and rebuild your container images.

FAQs

What is NGINX2Root?

NGINX2Root is the name for five critical flaws in the NGINX web server, disclosed on November 18, 2026. Each flaw can let an attacker run code on a server without logging in, and researchers chained them with a Linux kernel flaw to reach full root access.

Which NGINX versions are affected?

The main flaw, CVE-2026-123007, affects open-source NGINX from version 1.9.5 (2015) through 1.31.8. Every NGINX release from 0.5.33 to 1.31.8 is affected by at least one of the five flaws, depending on the configuration.

How do I fix NGINX2Root?

Upgrade to NGINX 1.31.9 (mainline) or 1.30.7 (stable), then fully restart NGINX. A reload is not enough, because old worker processes keep running the vulnerable code.

Is NGINX2Root being exploited in the wild?

No attacks have been reported as of November 18, 2026, and none of the five CVEs is in CISA's Known Exploited Vulnerabilities catalog. A working proof-of-concept exploit for the main flaw is public on GitHub.

Does disabling HTTP/2 fully protect my server?

No. Disabling HTTP/2 blocks only CVE-2026-123007 and CVE-2026-123633. The other three flaws affect HTTP/3, the DNS resolver and the mail proxy, so upgrading is the only complete fix.

What about ingress-nginx in Kubernetes?

The ingress-nginx controller is retired and will not receive a fix. Turn off HTTP/2 now and plan a move to a maintained ingress controller or a patched NGINX 1.30.7 or 1.31.9 build.

Was this article helpful?

Explore Specs, Comparisons & Related Topics

TechorCoffee

Written By

TechorCoffee

Editorial Team

The TechOrCoffee Editorial Team covers consumer hardware, artificial intelligence, software engineering, and regional smartphone & laptop market analysis.

Comments (0)

Sort by:

Leave a Comment

Loading comments...

Read Next