Skip to content
RU
← All articles

nginx2root (CVE-2026-123007) — nginx HTTP/2 flaw: who is affected and how to check

TL;DR:

On November 18, 2026 nginx 1.30.7 and 1.31.9 shipped fixes for five flaws researchers named nginx2root. The main one, CVE-2026-123007, is in every release from 1.9.5 to 1.31.8 with HTTP/2 on: an unauthenticated attacker can corrupt an nginx worker's memory and run code with its privileges. F5 scores it 9.2 on CVSS 4.0. What to do: upgrade nginx and restart it (a reload is not enough); if you cannot upgrade yet, turn HTTP/2 off. Check your site's nginx version and HTTP/2 at /nginx2root.

What happened

On November 18, 2026 the nginx project and F5 published advisories for nine flaws fixed in nginx 1.30.7 (stable) and 1.31.9 (mainline). Xint grouped five of them under the name nginx2root:

  • CVE-2026-123007 — an HTTP/2 flow-control window error, present since 1.9.5, when HTTP/2 arrived in nginx in 2015 — over ten years;
  • CVE-2026-123633 — an HTTP/2 use-after-free, since 1.19.7 (2021). It triggers when nginx proxies to a backend and runs short of worker_connections;
  • CVE-2026-121810 — the same in HTTP/3, since 1.25.0;
  • CVE-2026-123634 — in the resolver, with subrequests (SSI, mirror) and a proxied address built from variables;
  • CVE-2026-113425 — in the nginx mail proxy.

F5 scores all five 9.2 on CVSS 4.0: where ASLR is off or bypassed, each can lead to code execution. Several teams found them independently, including Xint, Wiz and Rapid7. According to Xint, a researcher found the first one and a fully automated scan found the other four.

How dangerous it really is

  • No authentication. CVE-2026-123007 only needs HTTP/2 over TLS on the server. No password, no vulnerable application behind nginx.
  • Code execution is confirmed. Rapid7, Wiz and Xint independently showed code execution. Code runs as the nginx worker, not root.
  • The container is not a boundary. Xint chained the flaw with a still-unpatched Linux kernel SCTP bug and got root on the host from inside an nginx Docker container, attacking a cloud server over its public IP.
  • The attack is heavy and loud. Per Rapid7, it takes a very large volume of HTTP/2 traffic on one connection — a spike that shows up in network monitoring.
  • No attacks seen yet. As of November 19, 2026 neither F5 nor the researchers report exploitation, and CISA KEV does not list these flaws. But proof-of-concept code is public, so do not put the upgrade off.

Who is affected

  • nginx 1.9.5–1.30.6 and 1.31.0–1.31.8 with HTTP/2 on: listen 443 ssl http2 or http2 on in the configuration. HTTP/2 is off by default but almost always on for HTTPS sites.
  • NGINX Plus: fixed in 37.0.8.1 and 37.3.0.1; R33–R36 have no fix.
  • Builds on nginx code: OpenResty, Tengine, Angie, freenginx — they number their own releases; check the vendor's advisory.
  • Kubernetes: community ingress-nginx enables HTTP/2 by default, is archived and will get no fix. NGINX Ingress Controller is fixed in 5.8.0, NGINX Gateway Fabric in 2.9.0.
  • Distribution packages. As of November 18 Ubuntu and Debian had not shipped fixed packages. When they do, nginx -v will keep the old number (e.g. 1.24.0) — the fix is backported. Compare the full package version with the distribution's advisory.
  • Behind a CDN. A CDN that terminates HTTP/2 and rebuilds requests (Cloudflare, CloudFront and the like) most likely breaks the CVE-2026-123007 attack on its way to your nginx. That lowers the risk but does not fix it: the origin is often reachable directly.

How to check

From outside — /nginx2root

The nginx2root check makes one ordinary request to the home page, as a browser does. It reads the nginx version from the Server header (nginx sends it by default) and sees whether the server agrees to HTTP/2 in the TLS handshake and offers HTTP/3. It sends nothing an attack would. A hidden version (server_tokens off) does not mean safe — check on the server.

On the server

# version
nginx -v
# is HTTP/2 on
sudo nginx -T 2>/dev/null | grep -n -E "listen .*http2|^s*http2 on"
# does the server agree to HTTP/2: look for "ALPN protocol: h2"
openssl s_client -connect example.com:443 -servername example.com -alpn h2 </dev/null 2>/dev/null | grep ALPN
# Debian / Ubuntu: does the package carry the fix
apt changelog nginx 2>/dev/null | grep -m3 -E "CVE-2026-12(3007|3633)"

What to do

  1. Upgrade nginx to 1.30.7 or 1.31.9. Branches 1.29 and older move to 1.30.7. nginx from the nginx.org repository upgrades with the usual package manager command; official Docker images tagged 1.30.7 and 1.31.9 are out. For distribution packages, wait for the update and check it against the advisory.
  2. Restart nginx fully. nginx -s reload does not load the new binary: the old workers keep the vulnerable code. Use systemctl restart nginx or a live binary upgrade with USR2. Run nginx -t first.
  3. If you cannot upgrade today, turn HTTP/2 off. On nginx 1.25.1 and later, set http2 off; in every server block and remove http2 from listen; on older versions, remove http2 from listen. A reload is enough. The site keeps working over HTTP/1.1. This blocks CVE-2026-123007 and CVE-2026-123633, not the other three. Not for gRPC: grpc_pass needs HTTP/2.
  4. The other three. HTTP/3 (CVE-2026-121810) — turn it off if you do not need it. Resolver (CVE-2026-123634) — do not build the proxy_pass address from variables with SSI or mirror. Mail proxy (CVE-2026-113425) — expose it only to trusted networks.
  5. The SCTP module. Until the kernel bug is fixed, CIRCL advises hosts that do not use SCTP to block the module: install sctp /bin/false in a file under /etc/modprobe.d/. It does not unload a module already loaded.

How to spot an attack

CIRCL suggests watching for:

  • crashed workers: worker process ... exited on signal 11 or signal 6 in error.log, core dumps;
  • long HTTP/2 connections with very heavy inbound traffic and almost no requests in access.log;
  • processes started by nginx, and unusual outbound connections or DNS lookups from the server.

A clean access.log does not rule an attack out: HTTP/2 control frames are not logged there. No single sign proves a compromise.

How enterno.io tools help

nginx2root check — /nginx2root

/nginx2root shows the nginx version the site names, whether HTTP/2 and HTTP/3 are on, and a verdict: vulnerable, patched, version hidden, or a CDN answers. Re-run it after upgrading.

Technologies and known CVEs — /tech-detect

Tech detection finds the web server, CMS and their versions and lists known CVEs for the detected version. nginx2root is already in the catalog.

Monitoring — /monitors

Monitoring watches your site's availability and alerts you when it stops responding. A crashing nginx is one of the visible signs of an attack.

Check only sites you own

Check your own sites, or sites whose owner has allowed it. enterno.io performs no offensive actions: the tool reads only what the site sends to every visitor. Do not run the published attack demos: on a live server this can crash nginx, and trying to exploit someone else's system without permission is no longer a check — unauthorized access to computer systems is a criminal offence in most jurisdictions (in Russia — Article 272 of the Criminal Code; Article 273 covers malicious software). If you see a vulnerable version on someone else's site, tell the owner through the site's contacts or /.well-known/security.txt.

FAQ

HTTP/2 is off on our server. Can we skip the upgrade?

The two main flaws will not reach your nginx, but the release fixes three more — in HTTP/3, the resolver and the mail proxy. Upgrade anyway, just with less urgency.

We ran nginx -s reload after upgrading. Is that enough?

No. A reload rereads the configuration, but the workers keep the old code. Do a full restart or a live binary upgrade (USR2).

The check says “version hidden”. Is the site safe?

No. server_tokens off only hides the number; it does not fix anything. Check nginx -v and the package version on the server.

nginx -v says 1.24.0 but the distribution says it is fixed. Which is right?

The distribution: fixes are backported without changing the number. Compare the full package version (e.g. apt policy nginx) with the distribution's advisory for CVE-2026-123007.

Our site is behind Cloudflare. Are we safe?

The risk is lower, not zero: the CDN rebuilds HTTP/2 frames, so the attack most likely does not pass through it, but the origin is often reachable directly. Upgrade nginx there.

Sources

Check your website right now

Check your site's nginx for nginx2root →
More articles: Security
Security
How to Check a Website for Malware: 4 Layers and a Cleanup
01.04.2026 · 1 639 views
Security
Cookie Security Flags: HttpOnly, Secure, SameSite
14.03.2026 · 1 134 views
Security
Blocked by Content Security Policy: How to Fix CSP Errors
18.07.2026 · 963 views
Security
Check a File for Viruses Online: Scanners, Hashes, Reports
23.09.2026 · 943 views