nginx2root (CVE-2026-123007, CVSS 9.2): Unauthenticated RCE in nginx's HTTP/2 Module

Check your own app — free, in about a minute.

The free mini-scan checks your live homepage for TLS/HTTPS basics, response security headers, cookie flags, exposed sensitive files, Firebase/Supabase backend rules, and the WordPress plugin versions your site exposes. You get a score and the finding titles — no account, no card.

Run the free mini-scan →

nginx2root (CVE-2026-123007, CVSS 9.2): Unauthenticated RCE in nginx's HTTP/2 Module

A flaw in nginx's HTTP/2 flow control, present since 2015, lets an unauthenticated attacker run code as the nginx worker — and the public exploit is already out and reproduced. The catch, stated in the same breath: the published exploit needs roughly 119 GB of traffic inside an hour, a direct connection, and an idle server. Both facts are true, and this article keeps both. If your site sits behind nginx with HTTP/2 on, this is your week to patch — not because the exploit is easy, but because the flaw is real, the fix is out, and the clock on easier variants has started.

What Happened

CVE-2026-123007, dubbed nginx2root, is an integer underflow in nginx's HTTP/2 flow-control accounting (ngx_http_v2_module), disclosed November 18, 2026 as part of a five-bug nginx2root release that fixed ten vulnerabilities in nginx 1.31.9 and 1.30.7.

Am I Affected?

Any server running nginx 1.9.5–1.31.8 with HTTP/2 enabled on a reachable port. Check the configuration on each server (sudo nginx -T | grep -nE '^\s*http2\s+on|listen\s.*\bhttp2\b'), and check from outside with openssl s_client -connect example.com:443 -servername example.com -alpn h2,http/1.1 — ALPN protocol: h2 means HTTP/2 is reachable. If a CDN or load balancer sits in front, that tests the CDN, so test the nginx server behind it directly. Kubernetes ingress-nginx enables HTTP/2 by default, and Kubernetes ended maintenance of ingress-nginx in March 2026 — no patched controller is coming, so set use-http2: "false" or move to another ingress controller.

What To Do Now

  1. Upgrade to nginx 1.31.9 or 1.30.7, or to your distribution's fixed package (Debian, Ubuntu, and NGINX Plus fixed versions are listed above). Then restart nginx — sudo systemctl restart nginx. A configuration reload (nginx -s reload) does not load a new binary; only a restart, or nginx's on-the-fly binary upgrade, replaces the running code.
  2. Confirm the fix by package version, not by the version string. Distributions backport without changing the upstream number, so nginx -v and external version scans cannot confirm a fix. Compare the installed package against your distribution's advisory: dpkg -l 'nginx*' | grep ^ii on Debian/Ubuntu, rpm -qa 'nginx*' on RHEL/Fedora/Amazon Linux. For containers, rebuild from a fixed base image and redeploy — a running container keeps the binary it started with.
  3. If you cannot patch yet, turn HTTP/2 off. With http2 off, the PoC cannot connect (since nginx 1.21.4, a failed ALPN negotiation means the handshake is refused) and nginx keeps serving HTTP/1.1. This is a mitigation, not a fix — patch when you can.
  4. RHEL users: no fixed packages as of November 20. Until Red Hat ships them, turn HTTP/2 off (step 3) rather than waiting exposed.
  5. Check for signs of probing while you patch. The exploit's traffic is enormous and distinctive — tens of gigabytes on a single connection with millions of WINDOW_UPDATE frames. A connection that moved that much data to one client in an hour deserves a look at the access and error logs.

The Bigger Lesson

"The app is patched" never patched the server. The web server is part of the app's attack surface — it terminates the attacker's connection before your code ever sees a request, and a flaw there is an unauthenticated flaw in your app's front door. Vibe-coded apps inherit their deployment stack wholesale: the framework, the runtime, and the server in front of both. Patch the whole stack, and when a flaw lives in a layer no URL scan can see, say so — then hand the reader the check they can run themselves. That is what this article does.

Run the free check at preshipit.com/free-scan for everything the scan can see on your app's exposed surface — and run the package-version check above for the nginx underneath it.

The PreShipIt Brief — a short weekly email for people shipping vibe-coded apps: the week's important vulnerabilities and launch-safety checks, in plain English.

New and free. Double opt-in: we email you a confirmation link before anything else arrives. Unsubscribe any time.

Check your own app — free, in about a minute.

The free mini-scan checks your live homepage for TLS/HTTPS basics, response security headers, cookie flags, exposed sensitive files, Firebase/Supabase backend rules, and the WordPress plugin versions your site exposes. You get a score and the finding titles — no account, no card.

Run the free mini-scan →

← Back home · Run a free mini-scan · Scan my app — $29 · See a sample report