NGINX2Root: What the NGINX Web Server Flaws Mean for Your Business

The software quietly serving your website, store and APIs has a critical bug, and exploitation is now being reported. Here is the plan.

Featured image

If your business has a website, an online store, a customer portal or a mobile app with a back end, there is a very good chance that NGINX is the first piece of software every visitor touches. It is the web server, reverse proxy and load balancer behind a huge share of the internet, and it often sits inside products you never think of as “a web server”: hosting control panels, Kubernetes clusters, firewalls and appliances.

On 18 November 2026, F5 and the NGINX project fixed a batch of serious memory-safety bugs, five of them branded “NGINX2Root” by the researchers at Xint who found them. The most dangerous, CVE-2026-123007, needs nothing more than HTTP/2 being switched on, which is the norm for modern HTTPS sites. A public proof-of-concept appeared the same day. And today, 26 November, Singapore’s Cyber Security Agency (CSA) issued an alert stating that CVE-2026-123007 is “reportedly being actively exploited” and telling organisations to patch immediately.

This post explains, without jargon, what is going on, why it is a business problem and not only an IT ticket, and what to do in order of priority.

TL;DR / Key takeaways

  • The core software behind your website has a critical flaw. CVE-2026-123007 (CVSS 4.0: 9.2) affects NGINX Open Source 1.9.5 to 1.31.8, a ten-year span, whenever HTTP/2 is enabled. A second HTTP/2 bug, CVE-2026-123633, hits NGINX used as a reverse proxy.
  • Exploitation is now reported. Singapore’s CSA said on 26 November that CVE-2026-123007 is reportedly being exploited. Earlier reports (up to 24 November) found no confirmed attacks and it was not yet in CISA’s KEV catalog, so details are still emerging. Do not wait for certainty.
  • The fix is simple, but easy to get wrong. Upgrade to NGINX 1.30.8 / 1.31.10 (or at least 1.30.7 / 1.31.9) or your Linux distribution’s patched package, then restart, not reload. NGINX Plus needs 37.0.8.1 or 37.3.0.1.
  • NGINX hides inside other products. Containers, Kubernetes ingress controllers, hosting panels and appliances (Palo Alto Networks has confirmed PAN-OS and Panorama are affected when HTTP/2 is enabled) all need their own updates.
  • Can’t patch today? Temporarily turn off HTTP/2, and make sure your origin servers are only reachable through your CDN.

What happened, in plain language

A ten-year-old bug in the internet’s front door

HTTP/2 is the faster version of the web protocol that browsers use with almost every HTTPS site. Part of HTTP/2 is “flow control”: the visitor’s browser tells the server how much data it is ready to receive, and the server keeps a running count.

Rapid7, which disclosed the flaw jointly with F5, summarised the problem in one sentence: “nginx can miscalculate how much response data an HTTP/2 client has allowed it to send.” When a request is cancelled while its response is still queued, NGINX gives back the reserved “credit” without checking that the total stays within the protocol’s limit. A carefully timed series of messages then makes the counter wrap around to a huge number, and NGINX ends up copying data outside the memory it owns. In the worst case, that corruption becomes remote code execution with the privileges of the NGINX worker process, and no login is needed.

Some important limits, according to the researchers:

The rest of the batch

The 18 November releases (NGINX 1.30.7 stable and 1.31.9 mainline) fixed ten vulnerabilities in total. The five NGINX2Root bugs are each rated 9.2 under CVSS 4.0 by F5:

CVE What it is When you are exposed
CVE-2026-123007 HTTP/2 flow-control memory corruption HTTP/2 enabled (very common)
CVE-2026-123633 HTTP/2 use-after-free HTTP/2 + NGINX as a reverse proxy (proxy_pass)
CVE-2026-121810 HTTP/3 (QUIC) use-after-free HTTP/3 + proxy_pass
CVE-2026-123634 Resolver use-after-free resolver + proxy_pass with variables + a subrequest (mirror or SSI)
CVE-2026-113425 Mail proxy use-after-free Mail proxy with auth_http

Xint also reported an unpatched Linux kernel bug in SCTP that could let an attacker who already runs code as the NGINX worker become root on the server. That is where the “2Root” name comes from. As of 18 November there was no kernel fix. Then on 23 November, NGINX shipped 1.30.8 and 1.31.10 to fix one more issue (CVE-2026-132779, excessive CPU use with ssl_early_data), so those are now the versions to aim for.

Timeline

Why this is a business issue

Scale. Wiz describes NGINX as powering more than 225 million websites. Xint’s Shodan search found 56.7 million hosts identifying as NGINX, and of the 11.94 million that revealed a version number, 98.9% were in the vulnerable range. Attackers do not need to target you; they just need to scan.

It sits in front of everything. One NGINX server often fronts several applications: your store, your API, your admin panel. Code running on that box can read TLS traffic in memory, steal secrets from configuration files, and become a foothold into the network behind it. Wiz put it bluntly: these flaws can expose sites and APIs even when the application code is secure.

You may not know you run it. NGINX is bundled into Docker images, Kubernetes ingress controllers, web hosting panels, network appliances and SaaS back ends. Your IT team may have patched the “web server” and still have a dozen vulnerable copies elsewhere.

Version numbers lie. Linux distributions backport fixes without changing the version string. Ubuntu 22.04’s fixed package still reports nginx/1.18.0, for example. An external scanner, or a vendor sales rep, cannot tell you whether you are safe from the version banner alone.

Am I affected?

You are likely affected if any of these is true:

You are less exposed (but should still patch) if your site is fully proxied through a CDN that terminates HTTP/2 at the edge. Cloudflare says its proxy consumes the attack frames before they reach your server, blocking CVE-2026-123007, CVE-2026-123633 and CVE-2026-121810, but only if your origin cannot be reached directly. DNS-only records, exposed origin IPs and internal servers get no protection.

Your prioritised action plan

Immediately (today and tomorrow)

  1. Make one person accountable for finding every NGINX instance: public web servers first, then internal ones.
  2. Patch internet-facing servers. Ask your team or provider to confirm, in writing, the package version installed, not just “we updated”:
~|#| Debian / Ubuntu: compare against your distro's security tracker
dpkg ~|-|l 'nginx*' | grep ^ii
~|#| RHEL / Rocky / Alma / Amazon Linux
rpm ~|-|qa 'nginx*'
~|#| Then restart: a reload does NOT replace the running binary
sudo systemctl restart nginx

StepSecurity lists example fixed packages including Debian 12 1.22.1-9+deb12u11, Ubuntu 22.04 1.18.0-6ubuntu14.23, Ubuntu 24.04 1.24.0-2ubuntu7.20 and Amazon Linux 2023 1.30.7-1.amzn2023.0.1. Always confirm against your distribution’s own advisory.

  1. If a server cannot be patched today, turn HTTP/2 off on it as a stopgap. This blocks the two HTTP/2 bugs but not the others, and it breaks gRPC through NGINX:
server {
    listen 443 ssl;   ~|#| on NGINX older than 1.25.1, remove "http2" from this line
    http2 off;        ~|#| NGINX 1.25.1 and later
    ~|#| ...
}

Then confirm from outside that the server only offers HTTP/1.1. Test the origin directly, not through your CDN:

openssl s_client ~|-|connect origin.example.com:443 ~|-|servername www.example.com ~|-|alpn h2 ~|<|/dev/null 2>/dev/null | grep ~|-|i alpn
~|#| Should NOT report "ALPN protocol: h2"
  1. Kubernetes using ingress-nginx: set use-http2: "false" in the controller ConfigMap now, and plan a move to a maintained ingress controller.
  2. Lock down your origins. If you use a CDN, allow inbound web traffic only from its IP ranges, or use a tunnel or authenticated origin pulls.

This week

~|#| Worker crashes (segmentation faults) in the error log
grep ~|-|E "worker process [0~|-|9]+ exited on signal (6|11)" /var/log/nginx/error.log

~|#| auditd: log every program started by the NGINX worker account
~|#| (www~|-|data on Debian/Ubuntu, nginx on RHEL~|-|family; check with: ps ~|-|o user~|=| ~|-|C nginx)
sudo auditctl ~|-|a always,exit ~|-|F arch~|=|b64 ~|-|S execve ~|-|F euid~|=|$(id ~|-|u www~|-|data) ~|-|k nginx_worker_exec
sudo ausearch ~|-|k nginx_worker_exec ~|-|~|-|start today

A web server normally has no reason to start sh, bash, curl or wget. If you see that, treat it as an incident: isolate the host, preserve logs, and rotate every secret stored on it.

Longer term

OffensioX perspective

NGINX2Root is a reminder that the most dangerous code in your business is often the code you did not write and do not see. The bug in CVE-2026-123007 dates back to 2015; it survived a decade in one of the most scrutinised open-source projects in the world, and yet several research teams found it independently within weeks of each other. When that happens, it is a safe bet that less friendly eyes are looking too, and the window between disclosure and mass exploitation keeps shrinking. Patching faster is necessary, but it is not enough. The businesses that weather these events are the ones that know where every copy of a component lives, can prove a fix is running (not just installed), and do not leave origin servers and admin panels exposed to the whole internet. For e-commerce businesses in Pakistan and the wider region that rely on VPS hosting and agency-built stacks, the vendor-question step above is especially important: your agency’s server is your risk.

If you are unsure where NGINX runs in your environment, or whether your origins are truly hidden behind your CDN, OffensioX’s penetration testing and external attack-surface assessments can answer that quickly and independently.

References