Researchers have disclosed two critical NGINX HTTP/2 vulnerabilities dubbed nginx2root that can let unauthenticated attackers execute code on vulnerable servers, and in one case chain the bug with a separate Linux kernel issue to gain root access.
The first flaw, tracked as CVE-2026-123007, is a flow-control bug that can corrupt memory in an NGINX worker. According to the report, it affects all versions from 1.31.8 down to 1.9.5, which dates back to 2015.
Wiz demonstrated unauthenticated remote code execution on a server hosting ordinary static files over HTTP/2 with TLS, while Xint showed root access by chaining the issue with a separate Linux kernel vulnerability in the SCTP subsystem that can be used to escape an NGINX Docker container and gain root privileges on the underlying host.
The second flaw, CVE-2026-123633, is a use-after-free issue that affects NGINX when it accepts HTTP/2 connections and proxies requests to a backend. It impacts versions from 1.19.7 through 1.31.8, and Wiz also demonstrated remote code execution through that bug.
F5 says the issues were fixed in NGINX Open Source 1.30.7 and 1.31.9. NGINX Plus users should move to 37.0.8.1 or 37.3.0.1.
The update also addresses additional vulnerabilities, including CVE-2026-118899, which can cause a worker to enter an infinite loop while reading a request body over TLS 1.3 and lead to denial of service.
For administrators, the recommended response is to upgrade immediately to a fixed release or temporarily disable HTTP/2 until patching is possible, though that mitigation only covers the two nginx2root flaws.
Security researcher Florian Roth said the flaws appear more dangerous than Node2Shell and Java2Shell, but warned that claims of broad exposure based only on version numbers can be misleading because exploitability depends on configuration.