A flaw in NGINX's HTTP/2 support can let an attacker run code on a server with HTTP/2 enabled, without logging in. The flaw, CVE-2026-123007, dubbed "nginx2root," has been in NGINX's open-source code since version 1.9.5 from September 2015, and every release through 1.31.8 is vulnerable. NGINX Plus is affected too.
According to F5, the company behind NGINX, code execution is possible where ASLR is turned off or can be bypassed. Researchers at Wiz and Xint reported running code in their tests. The code runs with the permissions of a worker process, and gaining root requires a second flaw. Proof-of-concept code is on GitHub, but F5 and the researchers have not reported attacks, and CISA's catalog of exploited vulnerabilities did not list it.
The same releases fix four more flaws, and all five are scored 9.2 out of 10 on CVSS 4.0. The advice is to upgrade to 1.31.9 or 1.30.7 and fully restart NGINX, because a reload alone leaves the old executable running. The official Docker images are already updated; according to the report, Ubuntu and Debian had not yet shipped fixed packages.