Skip to main content
osky
Sección
Infrastructure

On November 18, 2026, nginx.org published nginx 1.31.9 and 1.30.7 with ten security fixes. Five of them make up nginx2root, the bundle documented by the Xint research team: memory corruption flaws that let an attacker with no credentials take down an nginx worker and, according to Xint, run commands on the server. The most serious one only needs something almost everyone has turned on: HTTP/2. It has been in the code since nginx 1.9.5, from 2015. If you have an nginx exposed to the internet, you need to update today, not "when there's a maintenance window."

What was published, exactly

The official nginx security advisories list marks every version prior to 1.31.9 (mainline branch) and 1.30.7 (stable branch) as vulnerable. According to Cloudflare's analysis, F5 rates each of the five nginx2root flaws as High (CVSS 3.1: 8.1) and Critical (CVSS 4.0: 9.2). F5 clarifies that code execution requires disabling or bypassing ASLR, memory address randomization. For the HTTP/2 flaw, Xint published how to leak memory addresses to achieve that.

The five flaws are not triggered the same way. Each one depends on a different configuration:

CVE Type Triggered by Vulnerable since
CVE-2026-123007 Integer overflow in flow control HTTP/2 enabled 1.9.5
CVE-2026-123633 Use-after-free HTTP/2 + proxy_pass with few free worker_connections 1.19.7
CVE-2026-121810 Use-after-free HTTP/3 (QUIC) + proxy_pass 1.25.0
CVE-2026-123634 Use-after-free resolver + proxy_pass with variables + mirror subrequest or SSI 0.6.18
CVE-2026-113425 Use-after-free Mail proxy with proxy on and auth_http 0.5.33

The sixth piece of the name isn't from nginx: Xint also found a use-after-free in the Linux kernel's SCTP code, present since Linux 4.15 (2018). With it, someone who is already running code as the nginx worker can escalate to root on the host, and Xint did it from an nginx running inside a Docker container. According to Cloudflare, as of November 18 there was no kernel patch and Xint was holding back the details until there was one.

The same release brings five other fixes. The most serious is CVE-2026-118899, rated major: an infinite loop when reading the request body over TLS 1.3, which affects versions since 1.13.0 and lets an unauthenticated attacker get a worker stuck.

Why the HTTP/2 one is the one that matters

According to Xint's write-up, CVE-2026-123007 lives in HTTP/2's send window accounting. nginx properly validates every WINDOW_UPDATE the client sends, but when a stream is canceled it returns credit to the window without checking the protocol's ceiling. If the client enlarges the window right between nginx queuing data and canceling the stream, the window overshoots the maximum, the validation stops working, and the frame size ends up in an out-of-bounds memory write. The official changelog describes it with its usual sobriety: "might allow an attacker to cause a segmentation fault in a worker process, or might have potential other impact".

The worrying part is the reach. Xint says it tested exploitation over the internet against servers on AWS, GCP and Azure. In their Shodan search from November 10, 11.8 of the 11.94 million nginx hosts that report a version were running an affected one, according to nginx2root.com. Careful: that figure measures versions, not exploitable servers, because distributions apply patches without changing the version number. Censys's tracker counted, as of November 19, around 8.8 million services with a potentially affected version and HTTP/2 enabled.

There is one fact that helps defenders: the known attack is not discreet. Cloudflare estimates that pushing the window to the limit takes about 8.6 billion WINDOW_UPDATE frames, around 112 GB. Rapid7, which published a proof of concept, talks about roughly 128 GB in total: two minutes at 10 Gbit/s or seventeen at 1 Gbit/s. A single client sending you tens of gigabytes over one connection and receiving almost nothing back should light up any decent monitoring.

Tabla con las cinco fallas de nginx2root, la configuración que activa cada una, la versión desde la que existen y si el proxy de Cloudflare las bloquea

Are there real attacks?

According to Cloudflare, as of November 19 none of the five was in CISA's catalog of exploited vulnerabilities and there were no reports of active exploitation. Xint and Wiz Research have not released their exploits. Rapid7 did publish a proof of concept, which it describes as useful only against a freshly started local container. Cloudflare also warns that fake "exploits" are circulating on GitHub. My take: if you find a repo that promises one-click RCE on nginx, the one who ends up infected is most likely you.

If you're behind Cloudflare

Here's the interesting part for anyone who puts a CDN in front of their server. Cloudflare explains that, when a hostname goes through its proxy, the client's HTTP/2 or HTTP/3 connection terminates at its edge. The attacker's control frames (WINDOW_UPDATE, SETTINGS, PING, RST_STREAM) are consumed there and not forwarded. Your nginx only receives the requests Cloudflare decides to send it, built by Cloudflare. That cuts off the attacks for the three HTTP/2 and HTTP/3 flaws. Note: there's no WAF rule involved. The protection comes from terminating the connection, not from detecting a pattern.

But it has conditions, and they're important:

  • Your origin must not be directly reachable. If someone finds the server's IP and talks to it on 443 (TCP for HTTP/2, UDP for HTTP/3), Cloudflare is not in the middle. Cloudflare recommends three paths: Cloudflare Tunnel, an IP firewall that only accepts its published ranges (in the firewall, not in the nginx config), or Authenticated Origin Pulls with mTLS.
  • The mail proxy is not covered. IMAP, POP3 and SMTP don't go through the HTTP proxy.
  • The resolver flaw only becomes harder, not impossible.
  • Grey-cloud records, internal services and Spectrum applications reach the origin intact.

Diagrama de los dos caminos de ataque: con el origen cerrado al proxy, las tramas HTTP/2 se quedan en el borde de Cloudflare; con el origen expuesto, el atacante llega al worker de nginx y, con la falla de SCTP, a root en el host

What to do, in order

This comes from Cloudflare's and Xint's recommendations. I didn't test it against a server of my own: it's a summary of their documentation.

  1. Inventory. Find everything that runs nginx: distribution packages, nginx Plus, container images and appliances. Run nginx -V and nginx -T and look at the listen directives with http2 or quic, at proxy_pass with variables combined with SSI or mirror, and at any mail block.
  2. Update. nginx Open Source to 1.30.7 or 1.31.9; nginx Plus to 37.0.8.1 or 37.3.0.1. According to Cloudflare, F5 has no fixed build for nginx Plus R34 through R36, so those go straight to 37.x.
  3. Actually restart. A reload doesn't replace the running binary: you need to restart or do a binary upgrade.
  4. Check the backports. Distributions often patch without changing what nginx -v says. Compare the full package version against your distribution's advisory.
  5. If you can't update today, turn off what you don't use. http2 off; (since nginx 1.25.1; on earlier versions, remove http2 from listen) blocks CVE-2026-123007 and CVE-2026-123633. Removing the QUIC listeners and setting http3 off; blocks CVE-2026-121810. Pointing proxy_pass at fixed upstream groups mitigates the resolver one, and binding the mail listeners to trusted networks mitigates the mail proxy one.
  6. Block SCTP if you don't use it. Cloudflare suggests putting install sctp /bin/false in a file inside /etc/modprobe.d/ so the module doesn't load. It doesn't unload a module that's already loaded, nor does it help if SCTP is compiled into the kernel. When your distribution ships the fixed kernel, install it and reboot.
  7. Look for traces. On vulnerable versions, the resolver flaw usually leaves the line could not cancel <name> resolving in the error log at alert level. For the HTTP/2 one, look for connections that receive tens of gigabytes and send almost nothing.

What this means

nginx went from two security advisories in 2025 to 36 so far in 2026, according to Cloudflare. Xint says one of its researchers found the HTTP/2 flaw by hand, and that its automated tool found the other four with no human guidance. My take: AI-assisted research is pulling bugs out of code that had been audited for a decade, and the pace of patches is going to stay like this. That changes the conversation from "do I patch this month?" to "how fast can I patch in any given week?". Having your origin locked down behind a proxy doesn't replace updating, but it buys you time to do it without panic.

Sources