On 18 November 2026, two memory-corruption bugs in NGINX’s HTTP/2 code went public: CVE-2026-123007 and CVE-2026-123633. Five teams found them independently (Wiz, Xint, Metnir, Rapid7 and Ikotas Labs), researchers rate both CVSS 4.0 9.2 (critical), and Wiz reports reliable remote code execution on NGINX serving plain static files.
Both bugs need HTTP/2 to be on, which is very common on HTTPS sites. Here’s what each bug does, the honest “2Root” story, how to check your server, a quick mitigation and the fix.
Watch the video
HTTP/2 flow control in 30 seconds, both bugs explained, and a real Ubuntu 26.04 server: check, mitigate, fix.
The quick fix
- NGINX Open Source: 1.30.7 (stable) or 1.31.9 (mainline), both released 18 Nov 2026.
- NGINX Plus: 37.0.8.1 / 37.3.0.1 (CVE-2026-123007) and 37.0.7.1 / 37.2.0.1 (CVE-2026-123633).
- Ubuntu shipped fixes on 19 Nov 2026: 26.04
1.28.3-2ubuntu1.13, 24.041.24.0-2ubuntu7.20, 22.041.18.0-6ubuntu14.23.
sudo apt update && sudo apt upgrade
sudo systemctl restart nginx # RESTART, not reload: a reload keeps the old binary
The two bugs
Bug 1, CVE-2026-123007 (integer underflow). HTTP/2 has a flow-control “credit” for each stream. When streams are cancelled, NGINX hands that credit back with no check against the HTTP/2 maximum. A later check underflows, and a memory copy gets a nonsense length: an out-of-bounds read (leaking pointers) and write. It works on a plain static-file site. Rapid7’s public proof of concept needs about 128 GB of traffic (around 2 minutes at 10 Gbit/s), and a CDN or proxy that ends HTTP/2 in front of you likely breaks it. Affected: NGINX 1.9.5 to 1.31.8.
Bug 2, CVE-2026-123633 (use-after-free). A busy HTTP/2 connection can stay on NGINX’s “spare” list. When connection slots run low, NGINX closes it and frees memory a request is still using. It needs HTTP/2, proxying to a backend, and worker_connections running low. Wiz reports code execution with an ASLR bypass. Affected: NGINX 1.19.7 to 1.31.8.
Why “2Root”? The honest part
The code runs as the NGINX worker user (www-data on Ubuntu), not as root. “NGINX2Root” is Xint’s name for a longer chain: they added a separate Linux kernel (SCTP) bug to reach root, and even escaped a Docker container. A public PoC exists for CVE-2026-123007, and no confirmed attacks in the wild had been reported when the video was made.
Check your server (read-only)
What I ran on the test VM:
nginx -v
dpkg-query -W nginx
apt changelog nginx | grep -cE 'CVE-2026-(123007|123633)' # 0 = no fix in your package yet
sudo nginx -T | grep http2 # is HTTP/2 on in the config?
curl -sk --http2 -o /dev/null -w '%{http_version}\n' https://localhost/ # 2 = HTTP/2 is live
ps -o user,cmd -C nginx # which user the workers run as
No patch yet? Turn HTTP/2 off
- On NGINX 1.25.1+: change
http2 on;tohttp2 off;in your server blocks. - On older NGINX: remove
http2from thelisten ... ssl http2;line.
sudo nginx -t && sudo systemctl reload nginx # curl now prints 1.1
Turn HTTP/2 back on after you’ve installed the fix. If you’re behind a CDN, testing from outside tests the CDN, not your server.
Everything shown ran on a throwaway Ubuntu 26.04 test VM (QEMU) that I own. The demo was recorded on 18 Nov, before Ubuntu’s fix. No exploit is shown or shared. Understand each command, try it on staging first, and check your vendor’s advisory.
Summary
- The bugs: an HTTP/2 flow-control underflow and an HTTP/2 use-after-free in NGINX.
- At risk: NGINX with HTTP/2 on, 1.9.5 / 1.19.7 up to 1.31.8.
- Fix: 1.30.7 / 1.31.9 or your distro’s update, then restart. Stopgap: turn HTTP/2 off.
More in the series: Java4Shell · HTTP2Shell · Node2Shell
Sources: Wiz · Rapid7 · Xint (NGINX2Root) · nginx.org advisories · nginx.org changes
More on YouTube
Prefer watching? The full NGINX2Root walkthrough is on our YouTube channel: watch the video. For more hands-on breakdowns of security bugs, Linux servers and dev tools, subscribe at youtube.com/@fineshotai.
