Home / Blog / nginx2root: Critical nginx Vulnerabilities and How to Patch Them

nginx2root: Critical nginx Vulnerabilities and How to Patch Them

On November 18, 2026, nginx fixed ten vulnerabilities, including five disclosed as nginx2root. Find out whether your servers are exposed, how to patch to 1.30.7 or 1.31.9, and what to do if you can't update yet.

nginx2root: Critical nginx Vulnerabilities and How to Patch Them

If your website, API or Kubernetes ingress runs on nginx, you need to patch this week. On November 18, 2026, nginx released versions 1.31.9 and 1.30.7 to fix ten vulnerabilities. Five of them, disclosed together under the name nginx2root, can let an unauthenticated attacker crash an nginx worker process or, according to the researchers who found them, run code on the server.

nginx works as a web server, reverse proxy and load balancer for businesses of every size, which makes this a problem for most engineering teams. In this guide we explain what was disclosed, how to check whether you are exposed, and how to fix it. We also cover how the team at Solace Infotech can help if you would rather not handle it alone.

What is the nginx2root vulnerability?

The lead flaw, CVE-2026-123007, is an integer underflow in nginx's HTTP/2 flow-control code. When a stream is cancelled, nginx refunds its queued bytes to the connection's send window without checking the HTTP/2 maximum. The result is memory corruption. It has existed since HTTP/2 support arrived in nginx 1.9.5 in 2015, and a server needs nothing more than HTTP/2 enabled to be in scope. F5 rates it CVSS 4.0 9.2 (Critical).

The five nginx2root flaws differ in what puts a server at risk:

CVE

Component

Configuration that puts you at risk

Does turning off HTTP/2 help?

CVE-2026-123007

HTTP/2

HTTP/2 enabled

Yes

CVE-2026-123633

HTTP/2

HTTP/2 for clients, proxying to a backend, worker low on connections

Yes

CVE-2026-123634

Proxy and resolver

Variables in the backend name, plus an SSI or mirror subrequest

No

CVE-2026-121810

HTTP/3

HTTP/3 enabled

No

CVE-2026-113425

Mail proxy

nginx used as a mail proxy

No

Is it being exploited? As of November 20, no exploitation in the wild had been reported, and CVE-2026-123007 was not in CISA's Known Exploited Vulnerabilities catalog. However, Rapid7 has published a crash trigger and a full code-execution chain on GitHub, tuned for specific Debian 13 builds. Treat the gap before attacks start as short.

Two caveats matter for accuracy. The researchers at Xint report running commands as the nginx worker, while F5 says that requires bypassing ASLR, so real-world difficulty varies by build. Xint also chained CVE-2026-123007 with a Linux kernel SCTP flaw to reach root on the host, including from inside a Docker container.

Is your nginx server affected?

Any nginx reachable directly from the internet is at risk. For CVE-2026-123007, that means NGINX Open Source 1.9.5 through 1.31.8 with HTTP/2 enabled. NGINX Plus is affected from R33 and from 37.0.0, with fixes in 37.0.8.1 and 37.3.0.1.

Do not trust nginx -v on its own. Distribution packages often backport fixes without changing the version number, and the reverse can also bite you: on a fully updated Ubuntu 26.04 server, nginx -v still prints 1.28.3, and that server is open to CVE-2026-123007. Check your distribution's security advisory against the full package version. Red Hat Enterprise Linux 8, 9 and 10 had no fix as of November 20, so confirm the current status with your vendor.

To audit a server, work through this checklist:

  1. Find every nginx instance, including NGINX Plus, distribution packages, container images, ingress controllers and appliances.
  2. On each one, capture the build flags and the full configuration.
  3. Look for HTTP/2 or HTTP/3 listeners, proxy_pass with variables, and mail proxy blocks.
  4. Test whether HTTP/2 is still negotiated, going to the nginx server directly rather than through a CDN.
nginx -V
nginx -T | grep -Ei "http2|http3|quic|proxy_pass|mail"
openssl s_client -alpn h2 -connect your-domain.com:443 </dev/null 2>/dev/null | grep -i alpn

Kubernetes and Docker deployments are exposed too. The official Docker nginx:stable and nginx:mainline images were still on 1.30.6 and 1.31.8 when pulled on November 18, so rebuild on a fixed base image and do not assume a latest tag already carries the patch.

How to fix the nginx2root vulnerabilities

Patching is the real fix. Everything else is a stopgap.

  1. Upgrade. Move NGINX Open Source to 1.30.7 (stable) or 1.31.9 (mainline), NGINX Plus to 37.0.8.1 or 37.3.0.1, or install your distribution's patched package.
  2. Restart nginx. A configuration reload does not replace the running executable, so restart the service or complete a binary upgrade.
  3. If you cannot patch yet, disable what you do not need. For CVE-2026-123007 and CVE-2026-123633, set http2 off; on nginx 1.25.1 and later, or remove http2 from your listen directives on older versions. This does not cover the other three flaws.
  4. Limit exposure. Keep your origin reachable only through a proxy or CDN where you can. Cloudflare reports that traffic served through its proxy needs no customer action, because it terminates client HTTP/2 and HTTP/3 at its edge. That protection only holds if attackers cannot reach your origin directly.
  5. Reduce the kernel risk. On hosts that do not use SCTP, adding install sctp /bin/false under /etc/modprobe.d/ stops the module loading. It does not unload a module that is already loaded.

After patching, confirm each running instance reports a fixed version or carries your vendor's fix, and re-run the openssl s_client -alpn h2 test on any server where you turned HTTP/2 off.

How to check whether you were already attacked

If your nginx was exposed before you patched, look for these indicators:

  • Programs started by an nginx worker process. An auditd execve rule on the worker's user ID will surface them.
  • Repeated worker crashes, such as signal 11 (segmentation fault) entries in the error log.
  • Long-lived HTTP/2 connections whose received bytes keep growing while the logged request activity stays small.

If you find any of these, treat the host as compromised: isolate it, rotate secrets stored on it, and rebuild from a known-good image rather than cleaning it in place.

How Solace Infotech can help you secure your web infrastructure

Patching one nginx server is easy. Finding every instance across staging, production, containers and client environments is where teams lose time. Solace Infotech, a software development company in Nashik and Pune, helps businesses keep their digital products stable and current.

See how we have delivered for other businesses in our case studies.

Not sure whether your servers are exposed? Talk to our team and we will help you work out where you stand.

Frequently asked questions

Which nginx versions are fixed? +
NGINX Open Source 1.30.7 (stable) and 1.31.9 (mainline), and NGINX Plus 37.0.8.1 or 37.3.0.1. Distribution packages may carry the fix under an older version number.
Does reloading nginx apply the patch? +
No. A reload re-reads the configuration but keeps the old executable running. Restart the service or complete a binary upgrade.
Am I safe if my site is behind Cloudflare? +
Cloudflare says customers need no action for traffic served through its proxy. Your origin is still vulnerable if someone can reach it directly, so patch it anyway.
Does disabling HTTP/2 fully protect me? +
Only for CVE-2026-123007 and CVE-2026-123633. The HTTP/3, mail proxy and resolver-related flaws need the patch or their own feature to be switched off.

Secure your servers before attackers find them

A public exploit exists and the fix is available now. If you want help auditing your nginx footprint, planning the upgrade or extending your engineering team, contact Solace Infotech today.

Sources

Have a project in mind? Contact our team to discuss your requirements and get a quote.

Contact Us

1119 W Duarte Rd, Arcadia, CA 91007

Solace Infotech Pvt. Ltd, Supreme HQ,
          HQ3C+9F2, Yash Orchid Society,
          Baner, Pune, Maharashtra 411021

4th Floor, Samraat Nucleus,
           Mumbai Naka, Nashik - 422001