Status as of 19 November 2026. nginx 1.31.9 (mainline) and 1.30.7 (stable) were released on 18 November. They fix ten vulnerabilities, including two in HTTP/2 handling that can lead to unauthenticated remote code execution: CVE-2026-123007 and CVE-2026-123633. Wiz and Rapid7 rate both at CVSS 4.0 9.2. One of them works in a default configuration with HTTP/2 enabled, and the bug has been in the code since 2015.

The story was covered by Sekurak. Below is our summary for administrators, based on the nginx.org advisories and the write-ups from the researchers who found the bugs.

Two HTTP/2 flaws to patch first

CVE-2026-123007: memory corruption in HTTP/2 flow control. It affects versions 1.9.5 to 1.31.8, so practically every installation with HTTP/2. When a stream is cancelled, nginx does not check whether the refunded send window stays within the protocol limit. A following WINDOW_UPDATE frame causes an integer underflow and a copy beyond the buffer. According to Wiz, the attack works in a default configuration, without a reverse proxy or extra modules. It is enough for nginx to serve files over HTTPS with HTTP/2.

CVE-2026-123633: use-after-free in HTTP/2. It affects versions 1.19.7 to 1.31.8. The conditions are narrower: HTTP/2 enabled, nginx passing requests to a backend (proxy_pass) and free connections running low. That setup is still typical for servers in front of PHP, Node.js or Java applications.

Both flaws are fixed in 1.31.9 and 1.30.7. F5 lists separate releases for NGINX Plus; for CVE-2026-123007 these are 37.0.8.1 and 37.3.0.1. Check the F5 advisory for your branch.

What the researchers demonstrated

Rapid7 achieved code execution on nginx 1.31.8 in a Docker container in two and a half minutes. The attack required sending about 128 GB of HTTP/2 data. On a 10 Gbit/s link the transfer alone takes about two minutes, on 1 Gbit/s about seventeen. Below roughly 300 Mbit/s the attack does not fit within the default connection lifetime. Rapid7 has published proof-of-concept code on GitHub.

The data volume is not a big obstacle for an attacker with a cloud server. It is, however, a signal you can spot in monitoring: a single HTTP/2 connection receiving tens of gigabytes over a few minutes.

Xint demonstrated a full chain called nginx2root. After running code as the nginx process in a container, it used a previously unknown vulnerability in the Linux kernel SCTP module to gain root on the host. The kernel bug dates back to version 4.15. At the time of publication there is no patch, and Xint is withholding the details. A container is therefore not a security boundary if the attacker can reach SCTP in the shared kernel.

Other fixes in this release

1.31.9 and 1.30.7 also close vulnerabilities that disabling HTTP/2 does not block:

  • CVE-2026-123634: use-after-free in the DNS resolver. It affects configurations with resolver and variables in proxy_pass, and with mirror.
  • CVE-2026-121810: use-after-free in HTTP/3 when nginx passes requests to a backend.
  • CVE-2026-113425: use-after-free in the mail proxy module with auth_http.
  • CVE-2026-118899: infinite loop while reading the request body over TLS 1.3, a denial-of-service risk.
  • Less severe bugs in alias with try_files, PROXY protocol v2, ssl_preread and client certificate validation in the stream module.

The full list with version ranges is on the nginx advisories page.

What to check now

List every place nginx runs: web servers, reverse proxies, load balancers, container images and Ingress controllers in Kubernetes. On each host:

nginx -v
grep -RniE 'http2|quic|http3|resolver|mirror|auth_http' /etc/nginx/
dpkg -l 'nginx*' 2>/dev/null | grep ^ii || rpm -qa 'nginx*'

The version from nginx -v is not conclusive for distribution packages. Ubuntu, Debian and Red Hat backport fixes to older versions without changing the nginx version number. Compare the full package version with your distribution's security notice. Some distribution packages were not yet available on the day of publication, so check again.

In containers, check the nginx version inside the image, not on the host. A patched image has to be rebuilt and redeployed.

Updating

Install 1.31.9, 1.30.7 or a distribution package that confirms the fix for these CVEs. After updating, restart nginx rather than just reloading it. On reload, old worker processes keep serving open connections, and HTTP/2 connections can last a long time.

nginx -t && systemctl restart nginx
nginx -v

If you cannot update right away

Disable HTTP/2. This blocks CVE-2026-123007 and CVE-2026-123633, but not the other vulnerabilities. From nginx 1.25.1 you do this with http2 off;. Also remove the http2 parameter from listen directives:

server {
    listen 443 ssl;
    http2 off;
    # rest of the configuration unchanged
}

Then run nginx -t and restart. Services using gRPC through nginx will stop working, and clients fall back to HTTP/1.1. Re-enable HTTP/2 after updating.

A CDN or WAF that terminates HTTP/2 in front of your server can make the attack harder, because different traffic reaches the origin. Check, however, that the origin is not reachable directly from the internet.

Until a kernel patch is available, Xint recommends blocking the SCTP module from loading if you do not use it:

echo 'install sctp /bin/false' | sudo tee /etc/modprobe.d/disable-sctp.conf
lsmod | grep -w sctp

This setting does not unload a module that is already loaded and does not disable SCTP built into the kernel. If lsmod shows sctp, plan a host reboot.

What to watch in monitoring

  • Long HTTP/2 connections from one address that receive a lot of data and send little.
  • Unexpected nginx worker exits in the error log and core dumps (coredumpctl list nginx).
  • Processes started by the nginx user. A worker should never start a shell. An auditd rule on execve for that user helps.

Wiz and Xint warn that the attack may leave no trace in regular access logs.

We handle server updates and change windows as part of IT administration, and track server events in security monitoring.

In short: update nginx to 1.31.9 or 1.30.7, or to a distribution package with the fix, and restart it. If you have to wait, disable HTTP/2. Check your container images and block SCTP until the kernel is patched.