Home › Intelligence › Brief
VULNERABILITY BRIEF🟠 High Vulnerability

Five Critical nginx Vulnerabilities (nginx2root) Expose Millions of Web Servers – Cloudflare Proxy Mitigates Most

Ten nginx flaws were disclosed, five of which (nginx2root) allow unauthenticated code execution and root escalation. Cloudflare’s edge proxy blocks the most dangerous HTTP/2/HTTP/3 attack vectors, giving operators time to patch. This underscores the need for third‑party risk controls that limit direct exposure of critical assets.

LiveThreat™ Intelligence · 📅 November 20, 2026· 📰 blog.cloudflare.com
🟠
Severity
High
VU
Type
Vulnerability
🎯
Confidence
High
🏢
Affected
4 sector(s)
✅
Actions
4 recommended
📰
Source
blog.cloudflare.com

Five Critical nginx Vulnerabilities (nginx2root) Expose Millions of Web Servers – Cloudflare Proxy Mitigates Most

What Happened — On 18 Nov 2026, F5 and nginx.org disclosed ten vulnerabilities in the widely‑deployed nginx web server. Five of them (collectively dubbed nginx2root) are memory‑corruption bugs that allow an unauthenticated attacker to crash a worker or, under specific conditions, execute commands on the host; a related Linux‑kernel use‑after‑free can elevate those privileges to root, even from inside a Docker container. Public scans showed roughly 8.8 million nginx instances with HTTP/2 enabled fall within the vulnerable range. Cloudflare’s edge proxy terminates HTTP/2/HTTP/3 traffic, so for sites routed through Cloudflare the most severe bugs never reach the origin server, buying time for operators to patch.

On 18 November 2026, F5 Networks and the nginx.org project announced ten security flaws in the popular web server and reverse‑proxy software nginx. Five of those flaws, collectively dubbed nginx2root by the Xint research team, are memory‑corruption bugs that allow an unauthenticated attacker to crash a worker process or, as Xint demonstrated, execute arbitrary commands on the host. Xint also uncovered a Linux kernel use‑after‑free in the SCTP send path that can elevate those commands to root, even from inside a Docker container. Independent researchers—including Rapid7, Wiz Research, Ikotas Labs, Metnir, and Palo Alto Networks Unit 42—identified the two HTTP/2‑related bugs that form part of the same disclosure, which were assigned CVE‑2026‑123007 and CVE‑2026‑123633.

Cloudflare’s edge infrastructure was not vulnerable. The company said its proxy layer now runs on the Rust‑based FL2 stack, and that a pre‑release update covering all five nginx2root code paths was rolled out globally before the vulnerabilities were made public. The same deployment also patched five other recent nginx CVEs, including CVE‑2026‑118899, an infinite‑loop condition triggered when reading TLS 1.3 request bodies. For customers whose DNS records are proxied through Cloudflare, the service terminates every client HTTP/2 and HTTP/3 session at the edge and opens a fresh connection to the origin, meaning the malicious frames required for the attacks never reach the vulnerable nginx process.

The five nginx2root CVEs each target a distinct configuration scenario. CVE‑2026‑123007 (integer overflow, out‑of‑bounds heap read/write) affects any server with HTTP/2 enabled and has been present since nginx 1.9.5 in 2015. CVE‑2026‑123633 (use‑after‑free) requires HTTP/2 with a proxy_pass to a backend and low worker_connections, first seen in 1.19.7. CVE‑2026‑121810 (use‑after‑free) targets HTTP/3 (QUIC) with proxy_pass, present from 1.25.0. CVE‑2026‑123634 (use‑after‑free) exploits a resolver + proxy_pass configuration that uses variables and a subrequest, dating back to 0.6.18. Finally, CVE‑2026‑113425 (use‑after‑free) concerns the mail proxy with auth_http, existing since 0.5.33. F5 rated each as High (CVSS 3.1 8.1) or Critical (CVSS 4.0 9.2), noting that successful code execution requires disabling or bypassing ASLR; Xint’s write‑up shows how leaked memory addresses can achieve that.

CVE‑2026‑123007 was judged the most urgent because it only needs HTTP/2 to be turned on—a setting common on TLS deployments—and it has been present in every nginx release since the feature shipped. Xint’s public exploit ran against servers on AWS, GCP and Azure after a Shodan scan on 10 November that identified 56.7 million hosts reporting “product:nginx”; of the 11.94 million that disclosed a version, 98.9 % fell within the vulnerable range. By 19 November, Censys’ exposure tracker counted roughly 8.8 million services running a potentially vulnerable version with HTTP/2 enabled. The same releases also remedied the TLS 1.3 infinite‑loop bug. The kernel SCTP flaw, present since Linux 4.15 (2018), can be triggered from a compromised nginx worker to gain root, and because many distributions auto‑load the SCTP module, even hosts that never use SCTP may be exposed. No kernel patch existed as of the disclosure date, and Xint withheld full details pending a fix. As of 19 November, none of the five nginx2root CVEs appeared in CISA’s Known Exploited Vulnerabilities catalog, and no wild‑use reports had surfaced. Xint and Wiz Research have kept their exploit code private, while Rapid7 released a proof‑of‑concept limited to a freshly started local container, and “fake ‘exploits’ are also circulating on GitHub,” according to the researchers.

Direct control over HTTP/2 frames such as WINDOW_UPDATE, SETTINGS, PING and RST_STREAM on a single connection to nginx is covered by Cloudflare because the edge terminates those frames. The first half of a HEADERS frame on a raw HTTP/2 connection, combined with the ability to exhaust nginx’s connection slots and reset the TCP stream (CVE‑2026‑123633), is also protected since the client‑side HTTP/2 session ends at Cloudflare’s edge. A pure QUIC/HTTP‑3 link to nginx (CVE‑2026‑121810) is similarly shielded because Cloudflare terminates HTTP‑3 and never forwards it to origins.

The resolver‑related bug (CVE‑2026‑123634) involves a request and its mirror or SSI sub‑request sharing a DNS lookup, with the main request finishing while the answer is still being processed; Xint’s exploit forces nginx’s resolver to contact the attacker’s DNS server. This flaw is only partially mitigated—its impact depends on how the proxy_pass directive is built, so a patch is still required. A direct IMAP/POP3/SMTP connection to nginx’s mail proxy (CVE‑2026‑113425) receives no protection because Cloudflare’s HTTP proxy does not carry mail traffic.

Protection only works when the origin cannot be reached directly. If an adversary discovers the origin’s IP and connects to it on TCP 443/80 (HTTP/2), UDP 443 (HTTP/3) or the mail ports, Cloudflare is bypassed. Cloudflare recommends three hardening methods: using Cloudflare Tunnel (outbound‑only connection), firewalling inbound HTTP/HTTPS to Cloudflare’s published IP ranges, or enabling Authenticated Origin Pulls (mTLS) so the origin rejects any TLS handshake lacking Cloudflare’s client certificate. Xint’s own check stresses the same point: “If a CDN or reverse proxy sits in front of nginx, the test only reaches the proxy, so also run it directly against the nginx server.”

Several scenarios fall outside the proxy’s shield. Spectrum TCP/UDP applications forward traffic unmodified, so any nginx instance behind them must be patched or have the vulnerable features disabled. The mail proxy is untouched by the HTTP proxy, requiring mail listeners to be limited to trusted networks until fixed. The resolver issue (CVE‑2026‑123634) still needs remediation even when traffic passes through Cloudflare, because the exploit can be timed to cancel an HTTP request. Any “grey‑cloud”, internal, or otherwise non‑proxied nginx server—including those reachable after a host compromise—must be patched. Cloudflare’s WAF rules do not apply; these are protocol‑level bugs mitigated by terminating the connection at the edge rather than by pattern matching.

Remediation steps are to inventory every nginx deployment (including Plus, distro packages, containers and appliances), run nginx ‑V and ‑T to note HTTP/2, HTTP/3/QUIC listeners, variable proxy_pass usage, SSI or mirror directives, and any mail blocks. Update Open Source nginx to 1.30.7 or 1.31.9, Plus to 37.0.8.1 or 37.3.0.1, or apply the vendor’s fixed package; F5’s advisory notes that Plus releases R34‑R36 are vulnerable and should be upgraded to a 37.x release. Verify back‑ported fixes because version strings may not change. Ensure the origin is reachable only via Cloudflare (Tunnel, IP allow‑listing, or Authenticated Origin Pulls). If patching is delayed, disable unnecessary features: turn http2 off (blocks CVE‑2026‑123007 and CVE‑2026‑123633), remove QUIC listeners or set http3 off (blocks CVE‑2026‑121810), point proxy_pass to fixed upstream groups (mitigates CVE‑2026‑123634), and bind mail listeners to trusted networks (mitigates CVE‑2026‑113425). Blocking SCTP by preventing the kernel module from loading provides a stopgap until the distribution releases a kernel fix. The Cloudflare Radar Zero Wire entry for “nginx2root” contains a full checklist, an agent prompt for read‑only fleet assessment, and links to all vendor advisories.

CVE‑2026‑123633 and CVE‑2026‑121810 both stem from nginx’s handling of connection slots. When the server runs low on slots it frees one by closing an idle connection, but the logic mistakenly selects the connection that actually belongs to the incoming request. A related flaw, CVE‑2026‑123634, occurs when a resolver callback finishes a request; the cleanup frees a second resolver context that the resolver is about to invoke. CVE‑2026‑113425 affects mail proxying: if a write to a mail client fails, nginx closes the client socket while the link to the authentication service still points at the same session. F5 classifies all four as potential code‑execution vectors if ASLR is disabled or bypassed, and its own testing with Xint showed code execution at the privilege level of the nginx worker process.

The fifth vulnerability, CVE‑2026‑123007, is an accounting error that turns into a length overflow in HTTP/2 flow‑control handling. nginx maintains a per‑connection send window (h2c‑>send_window) that the client can enlarge with WINDOW_UPDATE frames, capped by the protocol at 2³¹‑1. The server correctly rejects updates that would exceed this cap, but it also refunds window credit when queued DATA frames are cancelled (h2c‑>send_window += window) without any cap on that addition. If a client enlarges the window after frames are queued but before the stream ends, the refund can push the window past the 2³¹‑1 limit, causing the subsequent cap check to wrap around and accept any further WINDOW_UPDATE values.

Because h2c‑>send_window is an unsigned size_t, once it exceeds 2⁶³ the subtraction in the cap check underflows, and the code that determines how much data to send treats the window as a signed off_t. This mismatch makes the calculated frame size become the window value itself, a number between 2⁶³ and 2⁶⁴, leading nginx to construct a buffer whose end pointer lies before its start pointer. Over TLS this malformed buffer reaches a memcpy in ngx_ssl_send_chain with an out‑of‑bounds length, which Xint’s write‑up shows can be turned into a controlled write and an address leak. Rapid7, Xint, and Wiz each reported that the condition can be leveraged for remote code execution; the public disclosures focus on the TLS path.

Rapid7’s proof‑of‑concept estimates that reaching the 2³¹‑1 window ceiling requires roughly 2³³ WINDOW_UPDATE frames—about 8.6 billion frames, or 112 GB of data (≈104 GiB). Their test also generates about 15 GB of ordinary request traffic, for a total of roughly 128 GB of HTTP/2 traffic. On a 10 Gbit/s link that volume would be transmitted in about two minutes; on a 1 Gbit/s link it would take around seventeen minutes. To push the window to 2⁶³, Rapid7 calculates roughly 2³² frames, or 52 GB, noting that these figures describe their specific attack route and are not proven minima. The sheer amount of data makes the exploit noisy: a single client would cause nginx to receive tens of gigabytes over a long‑lived connection while sending back very little, a pattern that stands out against normal access‑log volumes.

The bug was hard to spot because the refund line has existed since HTTP/2 support was added in nginx 1.9.5 (2015). Each individual check—rejecting oversized WINDOW_UPDATE frames and refunding queued credit—appears correct in isolation; the problem only emerges when the two interact. Moreover, triggering a crash requires the massive traffic volumes described above, so ordinary fuzzing that waits for a fault rarely reaches the vulnerable state. Censys published a clear‑text test that reaches the corrupted flow‑control condition with just a 5.69 MB capture, demonstrating that the bad state can be induced with modest traffic, but a test that merely watches for memory corruption would likely miss it.

The remediation adds six lines that introduce a new counter, h2c‑>send_queued, tracking DATA frames that are queued but not yet sent. The WINDOW_UPDATE validation now subtracts both the current send window and the queued bytes, preventing the client from reclaiming credit that nginx is about to refund. On patched versions, an attempt to exceed the limit is rejected with a flow‑control error. The same CVE‑2026‑123633 bug also involves nginx workers’ fixed pool of connection slots (worker_connections). Since version 1.19.2, when free slots fall below one‑sixteenth of the total, ngx_get_connection() invokes ngx_drain_connections() to close “reusable” connections—those with no activity. Two commits landed in February 2021 and shipped in 1.19.7: one fixed the reuse of clear‑text HTTP/2 connections that still had active requests, and the other prevented reuse of connections awaiting the remainder of a partially received frame.

The HTTP/2 flaw stemmed from a subtle ordering issue: after a HEADERS frame created a stream, the connection’s reusable flag was not cleared until the socket went idle, leaving the connection in the reusable queue while still handling a request. When that request was proxied, nginx would request an upstream slot; if slots were scarce, the drain could select the same connection, issue a GOAWAY, fail to send it, and then free the connection and all its streams before the upstream code resumed. The fix adds a call to ngx_reusable_connection(h2c->connection, 0) in ngx_http_v2_create_stream() so any connection that holds a stream is never marked reusable. The advisory from F5 credits Albert Ebb of Metnir, Nir Ofeld of Wiz Research, Xint.io and memN0ps of Palo Alto Networks Unit 42, while nginx.org’s changelog notes Albert of Vexera AI.

A related vulnerability in the HTTP/3 implementation (assigned CVE‑2026‑121810) follows a different path but reaches the same outcome. In the QUIC module each connection occupies a slot and each stream occupies another; the connection is only drained after all its streams can be cancelled, which nginx determines by traversing the stream tree. Before the patch, the new stream was inserted into the tree only after the slot request, so a drain triggered by that request could close an idle stream, misinterpret the connection as idle, and mark it reusable, allowing a later drain to terminate the connection while a request was still active. The remediation reorders the operations so the stream is added to the tree before the slot request and removes it on error paths, adding four lines of code.

The third issue (CVE‑2026‑123634) appears when proxy_pass contains a variable and nginx resolves the hostname during request handling. If another lookup for the same name is already pending, the new request joins the same resolver node and, once the answer arrives, nginx detaches the waiting list and invokes each handler. Because the loop stores the next pointer before calling the handler, a handler that frees a different context can cause the loop to advance to a freed object. This situation arises with a request and its mirror subrequest (or SSI subrequests) resolving the same name. On vulnerable releases nginx logs an alert‑level message “could not cancel <name> resolving”. The patch prevents immediate freeing of a detached context, replaces its handler with one that frees it later, and demotes the log entry to debug level, so the alert appears only on unpatched versions.

The fourth vulnerability (CVE‑2026‑113425) affects the mail proxy’s auth_http module, where a client login triggers two concurrent connections: one to the client and one to an external authentication service that shares the client’s memory pool. If the client’s write handler runs and the client has already reset the connection, the client connection is closed and its session destroyed while the authentication connection still references that session, leading to use‑after‑free. Xint notes that exploitation requires the client’s write event to be registered and the login and reset to occur in the same event‑loop pass; valid credentials are irrelevant. The fix discards any queued reply when the authentication request starts and adds three additional commits that block client writes while waiting for the authentication response, for upstream connections, and while resolving the SMTP client’s address. Across all five patches, the changes are minor—ranging from two to thirty‑one lines—but they restore core invariants such as “a connection with an active request is never reusable” and “objects in use are not freed prematurely.” F5’s advisory warns that exploitation “also depends on conditions beyond the attacker’s control,” and Xint observes the bug “is triggered by a slightly different mechanism.” Attempts to exploit these flaws typically generate characteristic log entries: two informational messages, one warning, and default‑level alert messages, while CVE‑2026‑123007 is listed as another related identifier.

A single, long‑lived HTTP/2 stream can be abused to push tens of gigabytes of data into an nginx instance while the server returns almost nothing, inflating traffic far beyond what appears in the request log. On patched releases the server records a rejection with the message “client violated connection flow control: received WINDOW_UPDATE frame with window increment … not allowed for window …”, whereas older builds emit the same text for ordinary flow‑control violations. The log entry “http2 flood detected” may indicate a failed flood attempt, but nginx also uses that notice for a variety of other limit breaches.

Four of the five flaws are tracked as CVE‑2026‑123633, CVE‑2026‑121810, CVE‑2026‑123634 and CVE‑2026‑113425. The first two trigger an alert such as “worker process <pid> exited on signal 11” when a server handling HTTP/2 or HTTP/3 proxies to an upstream and the configured worker_connections are insufficient; a use‑after‑free may occur without an immediate crash. CVE‑2026‑123634 produces an alert “could not cancel <name> resolving” only on unpatched versions, though the lack of this log entry does not prove the bug is absent. CVE‑2026‑113425 causes worker crashes in mail proxies that use auth_http, resetting client connections during login. The fifth indicator of compromise is the launch of unexpected programs by an nginx worker, which can be caught with an auditd execve rule on the worker’s user; Xint calls this “the strongest sign of a successful attack”.

Xint’s research timeline shows the vulnerabilities were first identified on 11 October 2026, reported to F5 via HackerOne on 16 October, and handed to the nginx development team on 27 October. After validating the patches by 10 November, the fixes were publicly disclosed on 18 November alongside the release of nginx 1.30.7 and 1.31.9.

The disclosures sit atop a longer history of latent flaws: CVE‑2026‑123007 had lingered in nginx for more than a decade, and a related SCTP issue has existed in the Linux kernel since 2018. Xint notes that one researcher manually uncovered CVE‑2026‑123007, while an automated Xint scan discovered the other four bugs; independent teams also found the two HTTP/2 vulnerabilities. The nginx advisory list has swelled from two entries in 2025 to thirty‑six so far in 2026, a growth Xint attributes to AI‑assisted code analysis accelerating bug discovery.

Cloudflare stresses that placing its edge in front of an origin server dramatically reduces exposure to these protocol‑level bugs, because attackers cannot speak HTTP/2 or HTTP/3 directly to the origin. “Our edge is not affected,” the company states, urging operators to apply the patches, restrict inbound traffic to Cloudflare only, and verify their deployments via the Radar Zero Wire page. Further disclosures are expected as automated research tools continue to surface hidden vulnerabilities.

Why It Matters for Trust & Control Assurance — The incident highlights the control objective of protecting external attack surfaces through vetted third‑party services; Cloudflare’s proxy demonstrates how continuous third‑party risk monitoring can provide immediate mitigation while organizations remediate underlying configuration gaps.

Who Is Affected — SaaS providers, e‑commerce sites, media platforms, and any organization that runs nginx as a public‑facing web or reverse‑proxy server.

Recommended Actions —

  • Inventory every nginx instance (including containers, appliances, and managed services).
  • Patch to nginx 1.30.7 / 1.31.9 (or vendor‑provided fixes) and restart the service.
  • Ensure origins are reachable only through a trusted proxy (Cloudflare Tunnel, IP allow‑listing, or Authenticated Origin Pulls).
  • Disable unused features (HTTP/2, HTTP/3, resolver, mail proxy) if immediate patching isn’t possible.

Source: Cloudflare Blog

Technical Notes — The five CVEs (CVE‑2026‑123007, CVE‑2026‑123633, CVE‑2026‑121810, CVE‑2026‑123634, CVE‑2026‑113425) are rated CVSS 8.1–9.2. Exploits require crafted HTTP/2/HTTP/3 frames or specific resolver/mail configurations; a separate Linux kernel use‑after‑free (present since 4.15) enables root escalation from a compromised nginx worker. No public exploits have been observed in the wild. Source: [CVE Details]

📰 Original Source
https://blog.cloudflare.com/nginx2root/ ↗

This LiveThreat Intelligence Brief is an independent analysis. Read the original reporting at the link above.

From the Verisq platform · Vendor Risk Hub

This is the scenario continuous vendor monitoring is built to catch.

When a vendor is compromised, your third-party risk controls are what produce the audit trail showing you knew, assessed, and acted. The Verisq AI Trust Operations platform tracks that continuously.

Explore the Verisq AI Trust Operations platform →