nginx flaws "NGINX2Root" (CVE-2026-123007): check HTTP/2, safe versions, distribution package status
- What: five critical flaws in nginx ("NGINX2Root", CVSS 9.2), published on 18 Nov 2026. The two most important – CVE-2026-123007 and CVE-2026-123633 – allow unauthenticated code execution via HTTP/2.
- Affected: nginx 1.9.5 to 1.30.6 (stable) and 1.31.0 to 1.31.8 (mainline) with HTTP/2 enabled – almost every installation of the last ten years.
- Safe from: 1.30.7 (stable) and 1.31.9 (mainline). Current are 1.30.8 and 1.31.10 of 23 Nov 2026. Distributions patch by backport – there the package version counts.
- Status: a public exploit exists, no attacks are known so far (as of 2 Dec 2026), the flaws are not on CISA's list.
- Interim mitigation: disable HTTP/2 and restart nginx.
What happened?
On 18 November 2026 F5 and the nginx project released out-of-band updates. Several research teams (including Rapid7, Wiz and Xint) had independently found memory errors in HTTP/2 handling. The best known, CVE-2026-123007, is an arithmetic error in HTTP/2 flow control: an attacker can corrupt the memory of the nginx process and run code with the web server's privileges – without logging in.
Researchers also chained the flaw with a Linux kernel bug (SCTP) to get from a Docker container to root on the host – hence the name "NGINX2Root".
The flaws at a glance
| CVE | What is it about? | Affected if … |
|---|---|---|
| CVE-2026-123007 | Arithmetic error in HTTP/2 flow control, unauthenticated code execution. | HTTP/2 is enabled (1.9.5 to 1.30.6 and 1.31.8). |
| CVE-2026-123633 | Use of already freed memory on HTTP/2 connections. | HTTP/2 is enabled and nginx proxies requests to a backend (1.19.7 to 1.31.8). |
| CVE-2026-123634 | Memory error in the DNS resolver. | resolver is set, proxy_pass contains a variable and subrequests are used (mirror, SSI). |
| CVE-2026-121810 | Memory error in HTTP/3 (QUIC). | HTTP/3 is enabled and nginx proxies to a backend (from 1.25.0). |
| CVE-2026-113425 | Memory error in the mail proxy. | a mail {} block with auth_http is used. |
| CVE-2026-132779 | A worker spins at 100% CPU (denial of service). Only fixed in 1.30.8 / 1.31.10. | ssl_early_data on; is set. |
Am I affected?
1. Check version and HTTP/2
nginx -v # version (not conclusive on distributions, see below)
sudo nginx -T 2>&1 | sed 's/#.*//' | grep -nE 'listen[[:space:]].*http2|http2[[:space:]]+on'
# From outside: does the server negotiate HTTP/2?
curl -sI --http2 https://your-domain.com/ -o /dev/null -w '%{http_version}\n' # "2" = HTTP/2 enabled
For an affected nginx version, the in-depth check on PHPCheck.net shows whether the server negotiated HTTP/2. If a CDN or load balancer sits in front, check the nginx server itself.
2. Package version on Linux distributions
Debian, Ubuntu, Red Hat and Alpine apply the fix without changing the nginx version number. nginx -v then still shows e.g. 1.24.0.
What counts is the package version (dpkg -l nginx, rpm -q nginx, apk info -v nginx):
| System | Patched from package version |
|---|---|
| Debian 13 (trixie) | 1.26.3-3+deb13u11 |
| Debian 12 (bookworm) | 1.22.1-9+deb12u11 |
| Ubuntu 26.10 | 1.30.4-7ubuntu1.2 |
| Ubuntu 26.04 LTS | 1.28.3-2ubuntu1.13 |
| Ubuntu 24.04 LTS | 1.24.0-2ubuntu7.20 |
| Ubuntu 22.04 LTS | 1.18.0-6ubuntu14.23 |
| RHEL 10 | nginx-1.26.3-16.el10_3.3 |
| RHEL 9 | nginx-1.20.1-32.el9_9.2 (module streams 1.24 and 1.26 separately) |
| Alpine 3.24 / 3.23 and 3.22 / 3.21 | 1.30.7-r0 / 1.28.3-r8 / 1.26.3-r4 |
| Amazon Linux 2023 | 1.30.7-1.amzn2023.0.1 |
nginx.org packages, Docker image nginx | 1.30.7 or 1.31.9 (current: 1.30.8 / 1.31.10) |
Table as of 2 Dec 2026. Ubuntu 16.04 to 20.04 only get the fix with Ubuntu Pro, CentOS 7 not at all. AlmaLinux and Rocky Linux follow the RHEL packages – older module streams (1.14 to 1.22) remain unpatched.
3. Products with bundled nginx
- Docker: pull the image again and recreate the container – an old tag stays vulnerable.
- Kubernetes ingress-nginx (community project): retired in March 2026, there is no fix. Disable HTTP/2 with
use-http2: "false"and plan the migration. The F5 NGINX Ingress Controller is patched from 5.8.0. - Plesk and cPanel shipped updates with the fixed nginx on 19 Nov.
- OpenResty, Angie, freenginx, Tengine and appliances with nginx: check the vendor notices – operating system updates do not fix their nginx.
What to do now
- Update to nginx 1.30.8 / 1.31.10 or your distribution's patched package.
- Restart nginx (
systemctl restart nginx). Areloadis not enough: the old binary keeps running. Check:sudo ls -l /proc/$(cat /run/nginx.pid)/exe– if it says "(deleted)", the old version is still running. - Order: internet-facing servers with HTTP/2 first, then internal ones.
Interim mitigation: disable HTTP/2
# nginx 1.25.1 or later: in every server block (and the http block if set there)
listen 443 ssl;
http2 off;
# older versions: remove "http2" from the listen line
listen 443 ssl; # before: listen 443 ssl http2;
Important: listen … http2 applies per address and port. If it remains in one server block, HTTP/2 stays enabled for all sites on that port.
Restart nginx afterwards. Browsers fall back to HTTP/1.1 automatically; gRPC does not work without HTTP/2. Disabling it only protects against the two HTTP/2 flaws –
for HTTP/3 also remove quic from the listen lines, and do not expose mail proxy ports to the internet.
How dangerous is it really?
The exploit Rapid7 published for CVE-2026-123007 works but is laborious: it has to send about 128 GB of HTTP/2 data over a single connection (about 17 minutes at 1 Gbit/s) and requires a processor with AVX-512. Behind an upstream proxy or CDN it usually fails. Other research teams are withholding their exploits. Still: the flaw is reachable without login, sits in almost every nginx installation, and attackers tend to improve published exploits quickly – so update promptly.
Detecting attacks
- Repeated worker process crashes in the error log (
worker process … exited on signal 11). - nginx processes starting a shell or opening outbound connections.
- Unusually large, very long HTTP/2 connections from a single client.
grep -E "exited on signal (11|6)" /var/log/nginx/error.log* | tail
Access logs do not record the HTTP/2 control frames used – a clean access log does not prove that nothing happened.
What PHPCheck.net shows
If the server reveals its nginx version, the in-depth check rates it as follows: versions before 1.30.7 or 1.31.9 with HTTP/2 negotiated are critical. For version numbers that distributions also ship (e.g. 1.18.0, 1.22.1, 1.24.0, 1.26.3) there is a warning instead, with a note to check the package version – a backport cannot be seen from outside. All updates of the month: Security updates November 2026.
Sources
- Rapid7: CVE-2026-123007, critical NGINX HTTP/2 integer underflow
- CERT-EU: Critical vulnerabilities in Nginx (2026-022)
- BleepingComputer: Critical NGINX "NGINX2Root" bugs
- Check Point: Two critical NGINX HTTP/2 flaws
- GetPageSpeed: NGINX2Root, distribution package status
- nginx.org: news 2026