NGINX2Root: Update NGINX Now as Exploits Go Public
Five critical NGINX flaws (CVSS 9.2) are fixed in 1.30.7 and 1.31.9, and exploit code is public. Who is affected, how to check and how to patch.
If you run a website, a reverse proxy, a home server or anything sitting behind NGINX, this is the week to patch it. F5, which maintains NGINX, shipped fixes on Wednesday, November 18 for a batch of bugs that researchers have nicknamed NGINX2Root. Five of them are rated critical (CVSS 9.2), and two different research groups have already put proof-of-concept exploit code on GitHub.
What happened
The official nginx security advisories page now lists ten new issues fixed in NGINX Open Source 1.30.7 (stable) and 1.31.9 (mainline). On the commercial side, NGINX Plus 37.0.8.1 and 37.3.0.1 carry the same fixes. The five that can lead to remote code execution are:
- CVE-2026-123007: memory corruption in HTTP/2 flow control, affecting every release from 1.9.5 (2015) up to 1.31.8.
- CVE-2026-123633: a use-after-free in HTTP/2, versions 1.19.7 to 1.31.8.
- CVE-2026-121810: a use-after-free in HTTP/3, versions 1.25.0 to 1.31.8.
- CVE-2026-123634: a use-after-free in the resolver, hit when a proxied server name uses variables.
- CVE-2026-113425: a use-after-free in the mail proxy module.
The scary one is CVE-2026-123007. According to SecurityWeek's write-up, Wiz got code running on a stock NGINX that was only serving static files, with no app behind it and no third-party modules. Xint went further and chained it with a Linux kernel bug to break out of a Docker container and get root on the host. Rapid7 published a working exploit, and Censys put out a second one, estimating roughly 9 million exposed NGINX services that report a vulnerable version with HTTP/2 switched on.
As of November 18, F5 says it hasn't seen any of this exploited in the wild. The Dutch NCSC, as MSP Business reports, expects that to change and rates both the likelihood and impact as high.
Why it matters
NGINX is everywhere. It fronts huge sites, but it also ships inside Docker images, hosting control panels, NAS apps, routers and the reverse proxy you probably set up for your home lab. HTTP/2 is turned on in a lot of default and copy-pasted configs, so plenty of people are exposed without ever having made a conscious choice.
There are some real limits. F5 says code execution needs ASLR to be off or bypassed, though Wiz and Rapid7 both say the bugs can leak enough memory to get around it. Rapid7's own exploit needs around 128 GB of HTTP/2 traffic and can take anywhere from two minutes to an hour, and it struggles when NGINX sits behind another proxy. Censys says it reproduced the bug over cleartext HTTP/2 without anything like that volume. So "hard to exploit" holds for now, but I wouldn't count on it lasting.
What to do
- Find every NGINX you own. Run
nginx -von servers, and check your containers withdocker ps, then look at the image tags. Don't forget panels and appliances that bundle NGINX quietly. - Update. Self-built or nginx.org packages should go to 1.30.7 or 1.31.9. If you use Ubuntu, Debian, RHEL, Alpine or another distro's package, install its security update instead. Distros often backport fixes without changing the version number, so a line like
nginx/1.24.0doesn't by itself mean you're vulnerable or safe. Check your distro's security tracker for the CVE numbers above. - Restart, don't just reload. A plain reload can leave old worker processes running. Do a full restart (for example
sudo systemctl restart nginx) so the patched binary is actually serving traffic. - Can't patch today? Set
http2 off;in your server blocks and drop thehttp2flag fromlistenlines. That only covers the two HTTP/2 bugs, not the HTTP/3, resolver or mail ones, so treat it as a stopgap. - Pull container images again. Pull fresh
nginxbase images and rebuild anything that uses them. An old image tag stays vulnerable until you rebuild it. - Watch your logs. Crashing workers show up as "exited on signal" in the error log. A sudden run of them is worth looking into.
My take
Who's affected? Honestly, almost anyone who self-hosts. If you followed a guide to put a reverse proxy in front of Jellyfin, Home Assistant or Nextcloud, there's a good chance it's NGINX or something built on it, like Nginx Proxy Manager. Those boxes often get set up once and never touched again, which is exactly the problem. If you rely on a hosting company or a managed platform, they should handle this, but it's still worth asking them.
The thing I'd push hardest on is the restart. It's easy to run apt upgrade, watch the new package land, and assume you're done, while the old workers keep humming away for days. Check with ps -o lstart,cmd -C nginx: if the start time is older than your upgrade, restart it.
This also follows a pattern. Last week it was the critical Apache HTTP/2 bug fixed in 2.4.71, and now NGINX's HTTP/2 code is in trouble too. Several of these finds came partly from AI-assisted bug hunting, so I'd expect more web server CVEs in quick succession, not fewer. If you haven't set up some kind of patch routine for your home server, this is a good excuse. Even a weekly reminder to run updates and restart services beats waiting for a headline.
And if your server doesn't need to face the internet at all, don't let it. Putting admin panels and home lab services behind a VPN like WireGuard or Tailscale removes a huge chunk of this risk. My Raspberry Pi WireGuard VPN setup guide walks through it. For more check-and-patch walkthroughs, see my security checks hub.
Comments ()