Update nginx to 1.30.7 or 1.31.9: memory corruption flaws affect unauthenticated attackers
On November 18, 2026, F5 and nginx.org disclosed ten vulnerabilities affecting nginx, including five memory corruption flaws collectively known as nginx2root. Unauthenticated attackers can exploit these memory corruption bugs to crash an nginx worker or run commands on the server. A related Linux kernel use-after-free bug in the SCTP send path, present since Linux 4.15 in 2018, can turn that foothold into root on the host, including from inside a Docker container. F5 rates the nginx bugs as High and Critical, noting that code execution requires bypassing or disabling Address Space Layout Randomization. F5 and other researchers credited for discovering these issues include Rapid7, Wiz Research, Ikotas Labs, Metnir, and Palo Alto Networks Unit 42.
What changed
F5 and nginx.org disclosed CVE-2026-123007, an integer overflow leading to out-of-bounds heap read/write affecting HTTP/2 enabled since version 1.9.5. They also disclosed four use-after-free vulnerabilities: CVE-2026-123633 affecting HTTP/2 with proxy_pass and low worker_connections starting in 1.19.7; CVE-2026-121810 affecting HTTP/3 with proxy_pass starting in 1.25.0; CVE-2026-123634 affecting resolver combined with proxy_pass with variables and subrequests starting in 0.6.18; and CVE-2026-113425 affecting mail proxy with auth_http starting in 0.5.33. Additionally, CVE-2026-118899 causes an infinite loop while reading a request body over TLS 1.3 in versions 1.13.0 and later.
Who should care
If you run unpatched nginx instances with HTTP/2, HTTP/3, resolver with proxy_pass variables, mail proxy features, or direct connections exposed to the internet, your systems are at risk. While HTTP proxy services terminate client protocol connections and protect origin servers from the HTTP/2 and HTTP/3 attacks, origins with direct internet reachability, Spectrum TCP/UDP applications, mail proxy configurations, or resolver-based vulnerabilities remain exposed regardless of proxying.
What to do
- Find every nginx server across your infrastructure, including container images, appliances, and distribution packages, by running
nginx -Vandnginx -Tto check listeners and configuration blocks. - Update nginx Open Source to version 1.30.7 or 1.31.9, nginx Plus to 37.0.8.1 or 37.3.0.1, or apply your vendor's fixed package, noting that nginx Plus R34 to R36 must move to a fixed 37.x release.
- Restart nginx or perform a binary upgrade to replace the running process, as a configuration reload does not replace the active binary.
- Ensure your origin servers are only reachable through your proxy using Cloudflare Tunnel, an IP firewall restricting inbound traffic to published ranges, or Authenticated Origin Pulls with mTLS.
- Disable unused features if you cannot patch immediately, such as turning off HTTP/2 and HTTP/3, or restricting mail listeners to trusted networks.