nginx has carried an unauthenticated HTTP/2 RCE since 2015, and ingress-nginx won't get the patch
nginx 1.30.7 and 1.31.9 fix an HTTP/2 flow control bug present since 2015 that gives unauthenticated code execution. Four research teams found it within a month, mostly with AI harnesses.
nginx 1.30.7 and 1.31.9 shipped on November 18 with fixes for ten security bugs, and the worst of them has been in every nginx release since 1.9.5 in September 2015. CVE-2026-123007 is an integer underflow in HTTP/2 flow control. An unauthenticated client can push the connection's send window past the protocol maximum, the bounds check wraps, and nginx does an out-of-bounds memory copy inside its TLS send path. Wiz turned that into code execution against a stock nginx serving static files over HTTPS. No backend application and no third-party modules, with ASLR enabled.
If you run nginx with HTTP/2 on a public port, you are in the affected range. That covers almost everyone.
What got fixed
The release closes ten CVEs. Xint, the security firm that found five of them, calls its set nginx2root, and the five are independent attack paths rather than variants of one bug. The two that matter for a typical web server are both in HTTP/2.
- CVE-2026-123007: flow control underflow, affects 1.9.5 through 1.31.8, exploitable with HTTP/2 enabled and nothing else.
- CVE-2026-123633: use-after-free when nginx drains an HTTP/2 connection that still has a live request, affects 1.19.7 through 1.31.8, needs nginx acting as a reverse proxy.
- CVE-2026-121810: the same drain bug in the HTTP/3 code path, affects 1.25.0 through 1.31.8, needs QUIC listeners plus proxying.
- CVE-2026-123634: use-after-free in the resolver, reachable when proxy_pass is built from the request and the mirror directive is on with mirror_request_body off. Present since 0.6.18.
- CVE-2026-113425: use-after-free in the mail proxy's auth_http path. Present since 0.5.33.
Both HTTP/2 bugs carry a CVSS 4.0 score of 9.2 from the researchers. The nginx advisory page rates the flow control bug "major" and the drain bug "medium." Oracle did the same with Java4Shell two days ago, rating it 8.1 while the finders said 9.2. The vendor scores for attack complexity. The finders score for what they did with it in the lab. The operator has to pick one number for the ticket.
How loud the exploit is
Wiz's write-up explains the mechanism. When a stream is canceled, nginx refunds the stream's queued bytes to the connection's send window without checking the HTTP/2 maximum. The counter climbs past the limit. The window update handler does its bounds check in unsigned arithmetic, so the oversized value wraps and passes. Later the window is cast to a signed off_t, comes out negative, and the SSL send routine copies memory with a bad length.
Wiz says ASLR did not help, because the same bug leaks memory before it writes, so the attacker reads addresses first. They confirmed RCE on the official 1.31.7 and 1.31.8 builds.
The attack is not quiet. CSO Online quotes Rapid7's Stephen Fewer estimating that the exploit pushes about 128 GB of HTTP/2 traffic through one connection. Two minutes on a 10 gigabit link, 17 minutes on 1 gigabit. It also depends on the glibc memory copy routine that only runs on CPUs with AVX-512, which describes most server hardware bought in the last five years. Metnir's exploit for the drain bug ran in about ten minutes with ASLR on, and it crashed the shipped binaries of Kong, Apache APISIX, NGINX Gateway Fabric and ingress-nginx.
Xint went a step further and chained a Linux kernel bug onto the end. It is a use-after-free in the SCTP send path, present since kernel 4.15 in 2018, with no CVE and no patch. In their tests the chain went from an HTTP/2 request to an nginx worker to root on the host, starting inside a Docker container. Xint is withholding details until a kernel fix exists. The stopgap is one line, "install sctp /bin/false", in a file under /etc/modprobe.d. That stops the module from loading. It does nothing if SCTP is already loaded or built into your kernel.
Four teams, one month, the same bug
F5 credits Rapid7, Wiz, Xint and Ikotas Labs for the flow control bug, and Metnir, Wiz and Xint for the drain bug. Xint's timeline has them finding it on October 11 and reporting to F5 through HackerOne on October 16. Wiz reported the drain bug on October 21 and the flow control bug on November 16, two days before the release. F5 told them it matched a report already in the queue.
Four of the five teams used AI harnesses. Wiz ran Atlas, the engine behind its code scanning product, and used Gemini 4 Carbon and GPT 5.6 Sol to validate impact. Xint says one researcher found the flow control bug by hand while preparing for a competition, and a fully automated scan found the other four a few days later with no human guidance. Brian Pak, Xint's CEO, told CSO Online the scan covered 50,000 lines in 90 minutes. Fewer's Rapid7 write-up makes no mention of AI.
Eleven years is a long time for a bug in flow control to sit in the most deployed web server on the internet. Xint counts 26 nginx security advisories through November 17 of this year, before this release added ten. The code did not get worse in 2026. The tools reading it got cheap, and four companies pointed them at the same 50,000 lines in the same month. Every C codebase that parses untrusted bytes on a public port is going to get this treatment, and most of them have fewer eyes on them than nginx.
Patch status by where you get nginx
The nginx.org packages and the official Docker Hub images were fixed on release day. The mainline, stable and latest tags point at patched builds. Alpine 3.24 and edge have 1.30.7. Alpine 3.22 and 3.23 did not as of yesterday.
Ubuntu published USN-9159-1 this morning with fixes for 22.04, 24.04, 26.04 and 26.10, plus 16.04 through 20.04 behind Ubuntu Pro. Its page warns against cherry-picking the two upstream commits onto an older tree. Debian's tracker shows the fix in sid only. Bookworm, trixie and forky are all listed as vulnerable as I write this.
NGINX Plus customers need 37.0.8.1 on the 37.0 line or 37.3.0.1 on the current one. R33 through R36 are out of support and will not be patched. OpenResty's newest release bundles 1.31.8 and has no fix yet.
Then there is ingress-nginx. The Kubernetes project retired it, the last release was v1.15.1 in March, HTTP/2 is on by default, and the controller bundles its own nginx. No fix is planned. The workaround is use-http2 set to false in the controller ConfigMap. If you still run it, the migration you have been deferring just moved to the top of the list. Gateway Fabric is F5's replacement, and Metnir crashed that too, but F5 ships it and will patch it.
The order of operations is the same as every one of these. Find every nginx you have, including the ones inside appliances, sidecars and images you did not build. Upgrade where a package exists. Where it does not, turn off HTTP/2 on public listeners with "http2 off;" on 1.25.1 or later, or by dropping http2 from the listen directive, then reload. Disabling HTTP/2 breaks native gRPC and covers two of the five bugs, so it buys time without closing the ticket. After upgrading, restart instead of reloading. A reload leaves old workers alive on existing connections, and an attacker holding a long HTTP/2 connection is holding an unpatched worker.
Then watch the logs for worker segfaults. Wiz's detection advice is unexpected worker crashes, child processes spawned by nginx, and HTTP/2 connections sending a flood of WINDOW_UPDATE frames. A 128 GB upload to your static site is hard to miss.
Nobody has reported exploitation in the wild as of this morning, and CISA has not added either CVE to its KEV list. Wiz and Xint are sitting on their exploits. Shodan shows 56.7 million nginx hosts, and of the 11.94 million that reveal a version, 98.9 percent are in the vulnerable range. Those two facts will not stay true together for long. My guess is a public exploit for the flow control bug inside two weeks, and the first mass scan the day after.


