Skip to content
Estontinc

Published 3 min read

nginx2root: five nginx vulnerabilities and how to patch to 1.30.7 or 1.31.9

On 18 November 2026 nginx released 1.30.7 stable and 1.31.9 mainline to fix ten vulnerabilities. Five of them, called nginx2root, are memory corruption bugs that can let an unauthenticated attacker crash a worker or run commands. What is affected, how to patch, and what to do if you cannot patch yet.

A frosted glass web server stack with layered glass network cards, a glowing glass shield in front and a small glass update arrow tile, illustrating the nginx2root patchA frosted glass web server stack with layered glass network cards, a glowing glass shield in front and a small glass update arrow tile, illustrating the nginx2root patch

nginx 1.30.7 (stable) and 1.31.9 (mainline), released on 18 November 2026, fix ten security vulnerabilities, and five of them are serious enough to patch right away. Cloudflare published an analysis of those five on 20 November under the name nginx2root. Per Xint's research, they can let an unauthenticated attacker crash an nginx worker or run commands on the server. If you run nginx anywhere, update it and restart it.

This article sums up what was disclosed, which configurations are affected, and how to patch safely.

What was disclosed?

The nginx.org release note lists ten CVEs fixed in nginx 1.30.7 and 1.31.9, and the security advisories page rates three as major, four as medium and three as minor. According to Cloudflare's write-up, five of them are the memory corruption bugs grouped as nginx2root. F5 rates each of those High (CVSS 3.1: 8.1) and Critical (CVSS 4.0: 9.2), and notes that code execution requires disabling or bypassing ASLR.

Table of the five nginx2root bugs: CVE-2026-123007 needs HTTP/2 enabled since 1.9.5 in 2015, CVE-2026-123633 needs HTTP/2 with proxy_pass since 1.19.7, CVE-2026-121810 needs HTTP/3 with proxy_pass since 1.25.0, CVE-2026-123634 needs resolver with variables and a subrequest since 0.6.18, CVE-2026-113425 needs mail proxy with auth_http since 0.5.33Table of the five nginx2root bugs: CVE-2026-123007 needs HTTP/2 enabled since 1.9.5 in 2015, CVE-2026-123633 needs HTTP/2 with proxy_pass since 1.19.7, CVE-2026-121810 needs HTTP/3 with proxy_pass since 1.25.0, CVE-2026-123634 needs resolver with variables and a subrequest since 0.6.18, CVE-2026-113425 needs mail proxy with auth_http since 0.5.33

Which nginx servers are affected?

Each nginx2root bug needs a different configuration, but one stands out. CVE-2026-123007 only needs HTTP/2 turned on, which is common on HTTPS sites, and it has been in every nginx release since 1.9.5 in 2015. Cloudflare notes that Censys counted about 8.8 million services running a potentially affected version with HTTP/2 enabled as of 19 November.

  • HTTP/2 enabled is enough for CVE-2026-123007.
  • HTTP/2 or HTTP/3 with proxy_pass to a backend for CVE-2026-123633 and CVE-2026-121810.
  • Resolver with proxy_pass variables and a subrequest (mirror or SSI) for CVE-2026-123634.
  • Mail proxy with auth_http for CVE-2026-113425.

Version numbers alone do not prove a server is vulnerable, because Linux distributions often backport fixes without changing the version that nginx -v reports.

How to patch nginx

Six steps to patch nginx: find every nginx including packages, containers and appliances, inspect the config with nginx -V and nginx -T, update to 1.30.7, 1.31.9 or a distribution fix, restart instead of reload, check backported versions against the distribution advisory, and make the origin reachable only through your proxySix steps to patch nginx: find every nginx including packages, containers and appliances, inspect the config with nginx -V and nginx -T, update to 1.30.7, 1.31.9 or a distribution fix, restart instead of reload, check backported versions against the distribution advisory, and make the origin reachable only through your proxy
  1. Find every nginx server, including nginx Plus, distribution packages, container images and appliances.
  2. Inspect the configuration with nginx -V and nginx -T, and note HTTP/2, HTTP/3 or QUIC listeners, proxy_pass with variables plus SSI or mirror, and any mail block.
  3. Update nginx Open Source to 1.30.7 or 1.31.9, nginx Plus to 37.0.8.1 or 37.3.0.1, or your distribution's fixed package.
  4. Restart nginx or complete a binary upgrade. A config reload does not replace the running binary.
  5. Check backports carefully by comparing the full package version against your distribution's advisory.
  6. Lock down the origin so it is reachable only through your proxy or CDN.

These steps follow Cloudflare's guidance. Cloudflare also notes that F5 lists nginx Plus R34 to R36 as affected with no fixed build, so those should move to a fixed 37.x release. For more on keeping server software current, see our Node.js security release guide.

If you cannot patch yet

  • Turn off HTTP/2 with http2 off; (nginx 1.25.1 and later) to block CVE-2026-123007 and CVE-2026-123633. On older versions, remove http2 from the listen directive.
  • Turn off HTTP/3 with http3 off; and remove QUIC listeners to block CVE-2026-121810.
  • Point proxy_pass at fixed upstream groups for CVE-2026-123634.

Cloudflare says origins reachable only through its HTTP proxy are shielded from the HTTP/2 and HTTP/3 attacks, because client connections end at its edge. That buys time, but patching is still the fix.

What it means for your business

nginx sits in front of a large share of websites, APIs and internal tools, often set up years ago and rarely revisited. A crash means downtime, and code execution can mean a full server compromise. Patching takes minutes per server when someone knows where every nginx runs, which is why an up-to-date server inventory matters as much as the patch. Our guide to securing your CI/CD pipeline covers related practices.

How Estontinc helps

Estontinc is a software house in Malang, Indonesia, with 100+ projects and 50+ clients over more than six years. For servers affected by nginx2root we can:

  • Find and audit every nginx instance, including containers and reverse proxies.
  • Patch, restart and verify with our cloud and DevOps team.
  • Harden web servers and origins for the sites we build through our web development service.

We work under NDA, you own the source code, and we communicate in English, Indonesian and Japanese. Contact us for a free consultation.

Frequently asked questions

What is nginx2root?

nginx2root is the name for five memory corruption bugs in nginx detailed by the Xint research team. Per Xint, an unauthenticated attacker can use them to crash an nginx worker or run commands on the server. They were fixed in nginx 1.30.7 and 1.31.9, released on 18 November 2026.

Which nginx versions fix nginx2root?

nginx Open Source 1.30.7 (stable) and 1.31.9 (mainline), released on 18 November 2026, fix all ten disclosed vulnerabilities. For nginx Plus, Cloudflare points to 37.0.8.1 or 37.3.0.1. Distribution packages may include backported fixes with an older version number, so check your distribution's advisory.

Is reloading nginx enough after updating?

No. According to Cloudflare's guidance, a configuration reload does not replace the running nginx binary. After installing the fixed version, restart nginx or complete a binary upgrade so the patched code is actually running, then confirm the version and package on every server you updated.

What if I cannot patch nginx right away?

Temporarily disable what you do not need. Setting http2 off; blocks CVE-2026-123007 and CVE-2026-123633, turning off HTTP/3 and removing QUIC listeners blocks CVE-2026-121810, and pointing proxy_pass at fixed upstream groups addresses CVE-2026-123634. These are stopgaps only, so patch as soon as you can.

Sources

Facts and figures in this article come from these official sources.

  • nginx
  • Security
  • DevOps
  • Web servers
View all articles

Have an idea? Let’s turn it into software.

Tell us what you want to build. We’ll reply with a clear plan, timeline and estimate, free and with no obligation.

  • Free consultation
  • Reply within 24 hours
  • NDA on request