NGINX HTTP/2 Flow Control Vulnerability NGINX2Root Enables Pre-Auth RCE
Multiple independent teams disclosed a pre-authentication NGINX HTTP/2 flow-control accounting flaw (NGINX2Root) on November 18, 2026. The bug in ngx_http_v2_send_chain() fails to track queued bytes as outstanding when validating WINDOW_UPDATE increments, allowing attackers to inflate the connection send window beyond the RFC 7540 2 GiB ceiling via interleaved WINDOW_UPDATE and RST_STREAM frames. This causes memory corruption and worker segmentation faults, with claimed escalation to pre-auth RCE and root. Patched in mainline 1.31.9 and stable 1.30.7; full restart required, reload is insufficient.
-
Vulnerability Overview: NGINX HTTP/2 Flow Control
- Root cause: missing send_queued counter in struct ngx_http_v2_connection_s.
- NGX_HTTP_V2_MAX_WINDOW = (1U << 31) - 1 ceiling bypassed via window inflation.
- Five CVEs assigned: CVE-2026-123007, CVE-2026-123633, CVE-2026-123634, CVE-2026-121810, CVE-2026-113425.
-
Exploitation Mechanics: Window Inflation Primitive
- Requires TCP connection and completed HTTP/2 client preface; no authentication.
- Attacker interleaves WINDOW_UPDATE frames with RST_STREAM resets.
- Affects all multiplexed connections on the compromised nginx worker.
-
Impact & Escalation: Pre-Auth RCE and Root
- Immediate: nginx worker segfault and denial of service for all streams.
- Claimed: remote code execution at worker privileges; NGINX2Root chain to root.
- Affected components: HTTP/2, reverse proxying, HTTP/3 DNS resolution, subrequests, mail proxy auth.
-
Remediation & Operational Traps
- Patch: nginx mainline 1.31.9+, stable 1.30.7+ (commit e27f5fa84f).
- Critical trap: nginx -s reload does not load patched binary; full restart required.
- Ubuntu/Debian package lag; disable HTTP/2 as stopgap if unpatched.
-
Detection & Vendor Advisories
- F5 Advisory K000164058 and Qualys advisory published November 19, 2026.
- Research corroborated by Wiz, Xint, Ikotas Labs, Metnir, and Rapid7.
- Monitor for worker segmentation faults and anomalous WINDOW_UPDATE volume.
-
Conclusion: Immediate Action Required
- Treat as active n-day; patch and restart internet-facing NGINX instances immediately.
- Verify binary version after restart, not after reload.
- Prioritize reverse proxies and mail proxies exposed to untrusted clients.
Related posts
- DEV Community — Pre-Auth RCE in nginx HTTP/2: The WINDOW_UPDATE Accounting Bug Five Teams Found at Once
- Censys Blog — nginx2root: A simple test for the HTTP/2 flaw and three use-after-free reproductions
- Sysdig Blog — NGINX2Root: Five RCE bugs in NGINX, a Linux kernel path to root, and how to detect exploitation
- news.ycombinator.com — Ruby2ßhell: Pre-authentication RCE on stock Rails
- threatprotect.qualys.com — F5 NGINX Vulnerabilities Allow Attackers to Code Execution (nginx2root)
- Cybersecurity News
- blackhatnews.tokyo
- news.ycombinator.com — Unauthenticated remote code execution in Nginx