Skip to content
RCE Write-up Advanced

NGINX2Root (CVE-2026-123007): Frequently asked questions about five critical NGINX vulnerabilities

Five critical memory-corruption vulnerabilities in NGINX, including an unauthenticated remote code execution flaw (CVE-2026-123007) that requires only HTTP/2 to be enabled, could allow an attacker to run code as the NGINX worker process. A separate unpatched Linux kernel local privilege escalation flaw can be chained to gain root.

Alexis Clark Follow

Published on tenable.com

Subscribe

Alexis Clark, on tenable.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely memory-corruption bugs (such as integer underflow and use-after-free) in NGINX's HTTP/2, HTTP/3, resolver, and mail proxy modules.

Impact

An attacker could run code as the NGINX worker process, and by chaining a separate Linux kernel flaw could escalate to root; however, the public exploit is constrained, requires roughly 128 GB of traffic, needs to defeat ASLR, and is unlikely to work behind HTTP/2-terminating proxies.

What the attacker needed

HTTP/2 enabled for CVE-2026-123007; relevant feature active for other CVEs; ASLR absent or defeated; roughly 128 GB of HTTP/2 traffic

The fix

F5 released fixed versions (NGINX Open Source 1.30.7 and 1.31.9, NGINX Plus [redacted] and [redacted]) and mitigations such as disabling HTTP/2 or HTTP/3, restricting mail proxy access, and blocking the SCTP module.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

NGINX is a popular web server. These bugs are memory-corruption flaws: mistakes in how the server handles data can let an attacker overwrite memory and run their own code. The most urgent one only needs HTTP/2 (a newer version of the web protocol) turned on, and a public proof-of-concept exists but is described as constrained.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.