Cloudflare details nginx2root flaws and how its proxy shields origins

· Original article ↗

Summary

Cloudflare analyzes five nginx flaws and a Linux SCTP kernel bug, explains which HTTP/2 and HTTP/3 attacks its proxy blocks, and outlines patching and origin-hardening steps. No in-the-wild exploitation had been reported as of November 19.

Key points

  • The five nginx2root vulnerabilities affect HTTP/2, HTTP/3, resolver, and mail-proxy configurations; Xint reported potential code execution with the nginx worker’s privileges.
  • Xint also found a Linux kernel SCTP use-after-free that could let an attacker with code execution as the nginx worker gain host root; no kernel fix was available as of November 18.
  • Cloudflare says its edge is unaffected and its HTTP proxy shields origins from the described HTTP/2 and HTTP/3 attacks by terminating client connections and creating separate origin connections.
  • That proxy protection does not fully cover the resolver flaw or mail-proxy traffic, and it does not apply when attackers can reach the origin directly.
  • The article recommends updating nginx to 1.30.7 or 1.31.9, or a vendor-fixed build, and restricting origin access; it also provides configuration-specific workarounds.
  • Cloudflare tested four flaws with AddressSanitizer against nginx 1.31.8 and 1.31.9; it did not reproduce the HTTP/3 flaw.
  • As of November 19, the five nginx CVEs were not in CISA’s Known Exploited Vulnerabilities catalog, and the article reported no known in-the-wild exploitation.

Article Details

Attack Vectors
  • An unauthenticated attacker can send carefully ordered HTTP/2 control frames directly to a vulnerable nginx server to trigger CVE-2026-123007; Xint reports that the flaw can enable command execution.
  • CVE-2026-123633 can be triggered over a direct HTTP/2 connection when nginx uses proxy_pass, worker connection slots are scarce, and a partially received HEADERS frame leaves a connection reusable.
  • CVE-2026-121810 affects direct HTTP/3 (QUIC) connections to nginx using proxy_pass and can close a connection while a request is in progress.
  • CVE-2026-123634 requires a resolver lookup shared by a request and a mirror or SSI subrequest, with proxy_pass configured using variables and a carefully timed request cancellation.
  • CVE-2026-113425 affects nginx mail proxy configurations using proxy and auth_http; a client connection reset during login can cause a use-after-free.
  • The Linux kernel SCTP send-path use-after-free can reportedly let an attacker who already runs code as the nginx worker gain root on the host, including from an nginx process inside a Docker container.
Defensive Notes
  • Update nginx Open Source to 1.30.7 or 1.31.9, nginx Plus to 37.0.8.1 or 37.3.0.1, or install the applicable distribution fix; restart nginx because a configuration reload does not replace the running binary.
  • Ensure origins cannot be reached directly: use Cloudflare Tunnel, restrict inbound HTTP/HTTPS to Cloudflare IP ranges at the IP firewall, or require Authenticated Origin Pulls.
  • If patching is delayed, disable unused HTTP/2 or HTTP/3/QUIC features, use fixed upstream groups for proxy_pass, and restrict mail listeners to trusted networks.
  • Block the SCTP module if it is not needed, then install the kernel fix and reboot when the distribution provides one; blocking the module does not unload an already-loaded module or disable built-in SCTP.
  • Review nginx configurations for HTTP/2, HTTP/3/QUIC, variable-based proxy_pass with SSI or mirror subrequests, and mail proxy auth_http. Consider monitoring worker processes for unexpected execve activity and checking the article's described error-log signals.
  • The article reports that, as of November 19, 2026, none of the five nginx2root CVEs was listed in CISA's Known Exploited Vulnerabilities catalog and no in-the-wild exploitation reports had been seen. Xint and Wiz Research had not released their exploits; Rapid7 had published a proof of concept described as suitable only for a freshly started local container.

MITRE ATT&CK

CVE

People

Vendors

Products

Related Articles