CVE Advisory

Nginx2Root (CVE-2026-123007): Decade-Old HTTP/2 Flaw Allows Pre-Authentication Code Execution in NGINX

Posted by: David Azria
Nginx2Root (CVE-2026-123007)
Getting your Trinity Audio player ready...

Overview

On November 18, 2026, F5 released security updates for NGINX that fixย CVE-2026-123007, a memory corruption vulnerability in the way NGINX handles HTTP/2 traffic. An unauthenticated attacker who can open an HTTP/2 connection to a vulnerable server can crash it, read its memory, or run code on it.

The flaw has been in NGINX since HTTP/2 support was added in version 1.9.5, in September 2015. Every open source release from 1.9.5 through 1.31.8 is affected when HTTP/2 is enabled. F5 scores it 9.2 under CVSS 4.0 and 8.1 under CVSS 3.1.

NGINX sits in front of a large share of the world’s websites and APIs, often as the single entry point for many applications. A flaw at that layer exposes everything behind it, even when the applications themselves are secure.

The Threat

  • Root Cause: HTTP/2 flow control limits how much data a server may send before the client asks for more. NGINX tracks this allowance in a counter. When a request is cancelled, NGINX returns the unsent amount to the counter without checking the protocol maximum. A client that raises the allowance at the right moment pushes the counter past its limit, and NGINX then copies data outside the bounds of a memory buffer.
  • No Authentication Required: The attacker needs only a network connection to an HTTP/2 listener. No account, no backend application and no third-party module is involved.
  • Affected Versions: NGINX Open Source 1.9.5 through 1.31.8, and NGINX Plus R33 through R36 and 37.x before 37.0.8.1 and 37.3.0.1. Fixed releases are NGINX 1.30.7 and 1.31.9.
  • Affected Configurations: Only servers with HTTP/2 enabled, through the http2 parameter of a listen directive or the http2 on; directive. HTTP/2 is not on by default, but it is a common setting on HTTPS sites.
  • From NGINX to Root: On its own, the flaw gives the attacker the privileges of the NGINX worker process. Xint combined it with a separate, still unpatched Linux kernel flaw in the SCTP subsystem to gain root, including an escape from a Docker container to the host.

Real-World Impact

No exploitation in the wild has been reported as of November 18, 2026. Wiz has not released its exploit. Xint has published a detailed technical analysis and demonstrations against servers on AWS, Azure, GCP and bare metal.

Reliable exploitation is not trivial. The attacker has to shape the server’s memory and adapt to the exact NGINX build. As Wiz points out, attackers do not need to cover every build. Packaged products and container images that ship one identical NGINX binary to many customers are the likely first targets.

An attacker who succeeds controls the process that terminates TLS and routes traffic. From there they can read requests and responses in transit, including credentials and session tokens, steal the TLS private keys the worker has loaded, alter the content served to users, and connect to the internal applications that NGINX is trusted to reach.

Immediate Recommendations

  • Upgrade NGINX: Move to 1.30.7 (stable) or 1.31.9 (mainline), or to NGINX Plus 37.0.8.1 or 37.3.0.1. The same releases fix the other four Nginx2Root vulnerabilities.
  • Restart, Do Not Just Reload: A configuration reload keeps the old executable running. Restart the service after the upgrade.
  • Check Distribution Packages by Revision: Debian, Ubuntu and RHEL patch NGINX without changing the version it reports. Compare the full package revision with the vendor advisory. Ubuntu, Alpine and Amazon Linux have published fixed packages. Debian stable, RHEL and SUSE had not at the time of writing.
  • Disable HTTP/2 If You Cannot Patch: Remove the http2 parameter from listen directives and, on NGINX 1.25.1 and later, set http2 off; in each affected server block. Clients fall back to HTTP/1.1. Services that require HTTP/2, such as native gRPC, will stop working.

How XM Cyber Can Help

XM Cyber identifies the machines in your environment that run a vulnerable NGINX version with HTTP/2 enabled on a reachable port, so teams can separate the servers that are exposed from the ones that only carry the vulnerable code.

A compromised NGINX server is rarely the goal. XM Cyber maps how an attacker could move from it to your critical assets, which lets you patch first the servers that sit on a path to something that matters and handle the rest in the normal cycle.


mxcyber

David Azria