Vulnerability management
NGINX2Root: The nginx Flaw That Can Hand Attackers Root, and How to Fix It Now

Your web server might be the open door. On 18 November 2026, researchers at Xint (the research team at Theori) disclosed NGINX2Root: five memory-safety vulnerabilities in nginx, the web server and reverse proxy that sits in front of roughly a third of the internet. The worst of them lets an attacker run code on your server without logging in. All they need is to reach your HTTPS port. Chained with a separate, still-unpatched Linux kernel bug, the researchers went all the way to root on the host, even from inside a Docker container.
If your business runs a website, an API, a customer portal or a Kubernetes ingress, there is a very good chance nginx is in the path. Here is what NGINX2Root is, why it matters to UK organisations, and exactly what to do about it this week.
NGINX2Root at a glance
- What: five nginx vulnerabilities, each rated 9.2 (Critical) under CVSS v4.0 and 8.1 under CVSS v3.1 by F5.
- Worst bug: CVE-2026-123007, a memory corruption flaw in nginx's HTTP/2 flow control. It is reachable by unauthenticated attackers.
- Who is affected: nginx 1.9.5 to 1.31.8 with HTTP/2 enabled, which is the normal set-up for HTTPS sites. The code path dates back to 2015.
- Fix: nginx 1.30.7 (stable) or 1.31.9 (mainline), or your vendor's patched package, followed by a full restart. A reload is not enough.
- Exploit status: public proof-of-concept code appeared within hours of disclosure. No confirmed attacks in the wild had been reported at the time of disclosure.
The five vulnerabilities
| CVE | Component | When you are in scope | Does disabling HTTP/2 help? |
|---|---|---|---|
| CVE-2026-123007 | HTTP/2 flow control (memory corruption) | HTTP/2 enabled, versions 1.9.5 to 1.31.8 | Yes |
| CVE-2026-123633 | HTTP/2 (use-after-free) | HTTP/2 enabled and nginx proxies to a backend, versions 1.19.7 to 1.31.8 | Yes |
| CVE-2026-121810 | HTTP/3 / QUIC (use-after-free) | HTTP/3 enabled and nginx proxies to a backend, versions 1.25.0 to 1.31.8 | No |
| CVE-2026-123634 | DNS resolver (use-after-free) | resolver used with variable backend names and subrequests (e.g. mirror) | No |
| CVE-2026-113425 | Mail proxy (use-after-free) | nginx used as a mail proxy with auth_http | No |
The same nginx release also fixes several lower-risk bugs, so it is worth taking even if you think none of the five apply to you.
Why "2Root"? The kernel chain
On its own, CVE-2026-123007 gives an attacker code execution as the nginx worker process. That is serious, but workers usually run as a restricted account. What turns this into a full server takeover is a separate Linux kernel flaw in the SCTP networking code. Xint chained the two to reach root on the host, and showed it working from inside a Docker container, which means a container is not the safety barrier many teams assume it is.
At the time of disclosure the kernel bug had no CVE and no patch. Updating nginx closes the front door; it does not fix the kernel. That is exactly why defence in depth matters here.

How big is the exposure?
Xint reported that 98.9% of nginx servers showing a recognisable version on the internet were in the affected range in a Shodan snapshot taken shortly before disclosure. That counts versions, not servers that are definitely exploitable, because some have HTTP/2 switched off or carry backported fixes. Even so, the message is clear: almost everyone running nginx needs to check.
The public exploit is not trivial. It needs a long-lived HTTP/2 connection straight to nginx for several minutes and depends on specific platform details. Those limits slow down mass exploitation, but they will not stop a determined attacker who is targeting your organisation.
Am I vulnerable? A five-minute check
- Check the version:
nginx -v. Remember that Debian, Ubuntu, RHEL and others may backport fixes without changing this number, so also check your package version (dpkg -l | grep nginxorrpm -qa | grep nginx) against your vendor's advisory. - Check HTTP/2 is compiled in:
nginx -V 2>&1 | grep -o with-http_v2_module - Check your live config:
nginx -Tand look forhttp2,quic/http3,resolverandauth_http. - Check from the outside:
openssl s_client -connect yourhost:443 -alpn h2. If you seeALPN protocol: h2, HTTP/2 is being offered. If a CDN or load balancer sits in front, test the origin directly as well. - Do not forget the hidden nginx: Kubernetes ingress controllers, Docker images, appliances and vendor products often bundle nginx. The community ingress-nginx project was archived in March 2026 and will not receive security fixes.
What to do now

- Patch. Upgrade to nginx 1.30.7 or 1.31.9, NGINX Plus 37.0.8.1 or 37.3.0.1, or your distribution's fixed package as soon as it is available.
- Restart, do not reload.
nginx -s reloadleaves the old, vulnerable binary in memory. - Redeploy containers. Official Docker images were rebuilt on 18 November, but restarting a container keeps the old image. Pull the new image and recreate the container.
- Cannot patch yet? Turn off HTTP/2. On nginx 1.25.1 and newer use
http2 off;; on older versions removehttp2fromlistenlines. This only covers CVE-2026-123007 and CVE-2026-123633, and it will break gRPC, so patch gRPC services first. - Lock down the origin. A CDN only helps if it terminates HTTP/2 and your origin cannot be reached directly. Restrict origin firewalls to your CDN's IP ranges.
- Do not lean on your WAF. A WAF cannot meaningfully inspect HTTP/2 control frames and is not a substitute for patching.
- Harden the host. Until the kernel fix lands, reduce what a compromised worker can reach: run nginx as an unprivileged user, apply least-privilege container settings, and watch for unusual worker crashes or child processes.
What this means for UK businesses
A pre-authentication remote code execution bug in internet-facing infrastructure is exactly the kind of risk regulators, insurers and customers expect you to manage quickly. If you hold personal data, a compromise through an unpatched web server can quickly become a UK GDPR reportable breach. If you are preparing for Cyber Essentials, ISO 27001 or the incoming Cyber Security and Resilience Bill, being able to show you found and fixed NGINX2Root fast is strong evidence of a working vulnerability management process.
The hard part is rarely the patch itself. It is knowing every place nginx is running: the forgotten staging server, the vendor appliance, the ingress controller nobody owns.
How PlutoSec can help
PlutoSec's offensive security team can rapidly map your external attack surface, identify every exposed nginx instance, confirm which are genuinely exploitable, and verify your fixes and mitigations actually work, all without disrupting production. Our manual-first external infrastructure and web application penetration tests go beyond version scanning to show you what an attacker could really do.
Worried about NGINX2Root? Talk to PlutoSec today for an urgent exposure assessment.

Written by
Media
NGINX2Root is a set of five nginx vulnerabilities disclosed by Xint on 18 November 2026. The worst, CVE-2026-123007, lets an unauthenticated attacker run code on servers with HTTP/2 enabled, and researchers chained it with a Linux kernel bug to gain root on the host.
Leave a Comment
Your email won't be published.
Comments (0)
No comments yet. Be the first to comment!
Get started
Ready to Secure Your Systems?
Tell us what you need tested. We reply with honest guidance and a fixed-scope quote, usually within one business day.
