NGINX2Root: five critical nginx RCE flaws, upgrade to 1.30.7 or 1.31.9
F5 fixed five critical nginx flaws called NGINX2Root, some allowing code execution; upgrade to 1.30.7 or 1.31.9 and restart nginx.
- Published
- Updated
- Fixed in
- NGINX Open Source 1.30.7 (stable), 1.31.9 (mainline); NGINX Plus 37.0.7.1, 37.0.8.1, 37.2.0.1, 37.3.0.1 (per Wiz)
- Exploitation
- No confirmed in-the-wild exploitation; Xint reported no evidence of exploitation at publication, and Rapid7 built a proof-of-concept for CVE-2026-123007
Live scores
CVE-2026-123007- EPSS
- 0.064
some chance of attack soon - VEDAS
- 0.974
strong exploit evidence - On CISA KEV
- Not listed
- Detection rule
- No public rule yet
Live scores
CVE-2026-123633- EPSS
- 0.065
some chance of attack soon - VEDAS
- 0.975
strong exploit evidence - On CISA KEV
- Not listed
- Detection rule
- No public rule yet
Live scores
CVE-2026-123634- EPSS
- 0.016
some chance of attack soon - VEDAS
- 0.513
likely exploited - On CISA KEV
- Not listed
- Detection rule
- No public rule yet
Live scores
CVE-2026-121810- EPSS
- 0.018
some chance of attack soon - VEDAS
- 0.511
likely exploited - On CISA KEV
- Not listed
- Detection rule
- No public rule yet
Live scores
CVE-2026-113425- EPSS
- 0.016
some chance of attack soon - VEDAS
- 0.517
likely exploited - On CISA KEV
- Not listed
- Detection rule
- No public rule yet
What happened
On November 18, 2026, F5 published security advisories for five critical vulnerabilities (CVSS v4.0 score 9.2) that Xint collectively named “NGINX2Root”. They affect NGINX Open Source and NGINX Plus configurations. Exploitation could lead to crashes, denial of service, memory corruption or code execution, according to Sophos. The five CVEs are:
- CVE-2026-123007: an integer underflow in HTTP/2 flow control. Rapid7 says a remote, unauthenticated client can trigger memory corruption that can disclose data, interrupt service and execute code with the nginx worker’s permissions. Aikido calls it an integer overflow, so the outlets differ on the wording.
- CVE-2026-123633: a use-after-free affecting HTTP/2 connections that are proxied to a backend.
- CVE-2026-123634: a use-after-free in the NGINX resolver, in setups where a proxied server name contains variables and an SSI or mirror subrequest resolves the same name (Sophos).
- CVE-2026-121810: a use-after-free in HTTP/3 configurations.
- CVE-2026-113425: a use-after-free when NGINX is configured as a mail proxy.
Wiz says CVE-2026-123007 affects versions from NGINX 1.9.5 (2015) through 1.31.8, and that CVE-2026-123633 affects 1.19.7 through 1.31.8. Wiz says typical memory-safety mitigations such as ASLR do not protect against these two, because attackers can use either flaw to read memory before code execution. Sophos relays F5’s statement that code execution requires ASLR to be disabled or bypassed, and notes Wiz reports the two HTTP/2 flaws can bypass ASLR.
Per Sophos, Xint reports that each vulnerability can be chained with a separate Linux kernel SCTP vulnerability to gain root on the host, including when NGINX runs in a Docker container. Aikido describes the kernel flaw as a use-after-free in the SCTP send path, introduced in Linux 4.15.
Several teams found the issues independently. Infosecurity Magazine reports that Wiz, Ikotas Labs, Metnir, Rapid7 and Xint disclosed vulnerabilities on November 18, and that the number of flaws differs between their disclosures. It also reports that Xint said each of the five has a proven exploit and that it had no evidence of exploitation in the wild at publication, though the age of some flaws means exploitation cannot be ruled out.
Rapid7 demonstrated unauthenticated code execution against a linux/amd64 Docker image of nginx 1.31.8 with http2 and TLS enabled. It lists practical limits:
- Exploitation needs roughly 128 GB of HTTP/2 data, and networks slower than about 300 Mbit/s would exceed nginx’s default one hour connection lifetime.
- A proxied HTTP/2 connection will likely not forward the attacker’s frames in a usable way.
- Rapid7’s exploit depends on a specific x86-64 glibc memcpy implementation chosen at runtime.
- Rapid7 says alternative strategies may exist, but none are currently known.
Am I affected?
You are likely affected if you run NGINX Open Source or NGINX Plus in an affected version range and one of these configurations applies (per Aikido and Wiz):
- CVE-2026-123007: HTTP/2 enabled and reachable. Wiz says it is exploitable in default configurations with HTTP/2 enabled, including NGINX serving static files directly.
- CVE-2026-123633: HTTP/2 with requests forwarded to an upstream server.
- CVE-2026-121810: HTTP/3 (QUIC) with requests forwarded to an upstream server.
- CVE-2026-123634: a resolver with a proxy_pass that uses a variable. Infosecurity Magazine describes it as resolver, proxy_pass and mirror directives with mirror_request_body off. Aikido notes other subrequest features such as SSI may reach the same bug.
- CVE-2026-113425: a mail proxy using proxy and auth_http.
First-affected versions differ between outlets. For CVE-2026-123634, Wiz lists 0.6.18 and Aikido lists 1.13.4. For CVE-2026-113425, Wiz lists 0.5.33 and Aikido lists 0.5.15. Check F5’s advisories for the authoritative ranges.
Other points from the sources:
- Distribution packages: Aikido says Ubuntu 24.04 (nginx 1.24.0), Ubuntu 22.04 (1.18.0), Debian 12 (1.22.1) and Debian 13 (1.26) ship versions within the reported range. Distributions may backport fixes without changing the version number, so check your distribution’s security advisory rather than the version string.
- ingress-nginx: Aikido says it bundles nginx 1.27.1, is vulnerable to CVE-2026-123633, and will not get an upstream patch because the project was archived in March 2026.
- Sophos products: Sophos says an internal investigation into its own products is underway. The result is not confirmed.
What to do now
- Identify NGINX deployments and ingress controllers, including those in containers, and note which have HTTP/2, HTTP/3 or mail proxy enabled. Prioritise those reachable from the internet (Wiz).
- Upgrade NGINX Open Source to 1.30.7 (stable) or 1.31.9 (mainline) (Wiz, Infosecurity Magazine). For NGINX Plus, Wiz lists fixed releases of 37.0.7.1 and 37.2.0.1 for CVE-2026-123633, and 37.0.8.1 and 37.3.0.1 for CVE-2026-123007.
- Restart nginx or upgrade the binary after updating. Xint notes that
nginx -s reloaddoes not load the new binary (Sophos). - If you cannot upgrade yet, apply the mitigation for your configuration, then reload and confirm old workers have exited (Aikido, Wiz):
- CVE-2026-123007 and CVE-2026-123633: disable HTTP/2. On nginx 1.25.1 or later set
http2 off;in affected server blocks. On older versions remove the http2 parameter from listen directives. Test application compatibility first. - CVE-2026-123634: avoid SSI or mirror directives and proxied server names with variables (Sophos), for example by pointing proxy_pass at a fixed upstream group (Aikido).
- CVE-2026-121810: remove QUIC listeners and set
http3 off;(Aikido). - CVE-2026-113425: restrict mail proxy listeners to trusted networks (Sophos).
- CVE-2026-123007 and CVE-2026-123633: disable HTTP/2. On nginx 1.25.1 or later set
- If you run ingress-nginx, disabling HTTP/2 addresses CVE-2026-123633, but Aikido advises planning a move to a maintained ingress or an nginx 1.30.7 or 1.31.9 build, since no upstream patch is expected.
- For the kernel chain, Aikido says hosts that do not use SCTP can add
install sctp /bin/falseto a .conf file under /etc/modprobe.d/. This does not unload a module already loaded or affect SCTP compiled into the kernel. - Watch for unexpected NGINX worker crashes or commands launched by NGINX. Wiz calls these general warning signs, not confirmed indicators of these vulnerabilities.
Sources
- Sophos: Patches released for critical ‘NGINX2Root’ vulnerabilities
- Rapid7: CVE-2026-123007: Critical NGINX HTTP/2 Integer Underflow Leads to RCE (FIXED)
- Wiz: Unauthenticated Remote Code Execution in NGINX: CVE-2026-123633 and CVE-2026-123007
- Infosecurity Magazine: Five Critical Vulnerabilities Found in World’s Most Widely Used Open-Source Web Server
- Aikido: nginx2root: Critical nginx vulnerabilities, including one RCE