Skip to content

NGINX2root: Five nginx Bugs, Five Different Configs, Fixed in 1.30.7 and 1.31.9

NGINX2root CVE-2026-123007 and CVE-2026-123633: nginx Fix 1.30.7 / 1.31.9

NGINX2root: five nginx memory bugs, five different configs, one patch (1.30.7 / 1.31.9)

“NGINX2root” is the name researchers at Xint gave to five nginx memory-corruption bugs that F5 and nginx.org disclosed and fixed on November 18, 2026: CVE-2026-123007, CVE-2026-123633, CVE-2026-121810, CVE-2026-123634 and CVE-2026-113425. the “2root” part comes from a sixth, separate bug in the Linux kernel’s SCTP code that Xint says turns code execution in an nginx worker into root on the host. the fix for all five nginx bugs is nginx 1.30.7 (stable) or 1.31.9 (mainline). the part most headlines skip: each bug needs a different configuration, and only one of them needs nothing more than HTTP/2 turned on.

Lab-only / defensive use. everything below is version checking, configuration review, stopgap hardening and log review. the downloadable scripts read local state, and the one script that changes anything does nothing unless you pass an explicit --apply flag. no exploit code, no payloads, no attack traffic, and we do not link to any proof-of-concept.
What happened. On November 18, 2026, F5 (the CNA for nginx) published CVE records for all five bugs and nginx.org shipped nginx 1.30.7 and 1.31.9, which also fix five other, unrelated nginx CVEs. Xint published its NGINX2root write-up the same day. F5’s records credit several teams that found overlapping bugs independently: Rapid7, Wiz Research, Xint and Ikotas Labs for CVE-2026-123007, and Metnir, Wiz Research, Xint and Palo Alto Networks Unit 42 for CVE-2026-123633. Cloudflare published a technical breakdown on November 20.

the exact condition per CVE, no inflation

conditions below are from F5’s CVE records and the nginx.org changelog, with Cloudflare’s per-bug table where F5 is vaguer. “first affected” is from nginx.org’s advisory page.

  • CVE-2026-123007, HTTP/2 flow control (integer overflow leading to out-of-bounds heap read/write): F5 says it affects configurations “that use HTTP/2.” that is the whole condition. nginx.org rates it major. first affected 1.9.5, the release that added HTTP/2 in 2015. this is the one to prioritize.
  • CVE-2026-123633, HTTP/2 use-after-free: nginx must use HTTP/2 for client connections and proxy requests to a backend, and the worker must be running low on worker_connections (F5’s wording). first affected 1.19.7.
  • CVE-2026-121810, HTTP/3 use-after-free: only configurations that use HTTP/3 (QUIC). nginx.org’s changelog adds the same “worker_connections were not enough” condition, and F5 says exploitation “also depends on conditions beyond the attacker’s control.” first affected 1.25.0.
  • CVE-2026-123634, resolver use-after-free: nginx acting as a proxy where the proxied server name contains variables (so the resolver looks it up at request time), plus an SSI or mirror subrequest that resolves the same name. first affected 0.6.18. not an HTTP/2 bug.
  • CVE-2026-113425, mail proxy use-after-free: only when nginx is configured as a mail proxy (IMAP, POP3, SMTP). first affected 0.5.33. not an HTTP/2 bug.

so no, HTTP/2 is not required for all five. two of them need it, one needs HTTP/3, and two depend on resolver or mail-proxy setups. a plain static site with HTTP/2 on is in scope for CVE-2026-123007 and nothing else on this list.

what an attacker gets

  • by default: a crashed or corrupted nginx worker. F5 says each one can crash the worker, and that code execution is possible “on systems with Address Space Layout Randomization (ASLR) disabled or when the attacker can bypass ASLR.”
  • the researchers’ results: Xint, Wiz Research and Rapid7 each report working code execution in their own tests, including ASLR bypasses (their claims, in their labs). Rapid7 notes execution is with the worker’s permissions and that execution as the master process or root “has not been established.”
  • the root part: Xint reports a use-after-free in the Linux kernel’s SCTP send path, present since Linux 4.15, that it chained from the nginx worker to root on the host, including from inside a Docker container. per Cloudflare (November 20), no kernel fix or CVE existed yet and Xint is withholding details. we could not verify that bug against a primary kernel source, so treat it as a researcher claim.
  • the traffic cost: Cloudflare and Rapid7 put the published CVE-2026-123007 route at tens of gigabytes of HTTP/2 traffic, and Rapid7’s own run at about 128 GB, on one long-lived connection. Rapid7 says those figures are not a proven minimum. noisy, but minutes of work on a fast link.

scores, status, and who gave them

  • F5 (the CNA): all five are CVSS 3.1 8.1 High (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) and CVSS 4.0 9.2 Critical. the 9.2 everyone quotes is F5’s v4 score. the v3.1 score is 8.1.
  • NVD: lists F5’s scores only, no NIST score of its own.
  • CISA SSVC (on the CVE records, November 18): exploitation “none,” automatable “no,” technical impact “total.”
  • CISA KEV: none of the five is listed as of catalog 2026.11.20, checked November 22. we found no report of exploitation in the wild.
  • public code: Rapid7 has published a proof of concept that, per Cloudflare, it describes as only suitable against a freshly started local container, and Cloudflare warns that fake “exploits” are circulating on GitHub. we are not linking either. if you go looking, assume anything unofficial is malware aimed at you.
Kali terminal running nginx2root-version-check.sh against a sample Debian 13 lab capture: nginx/1.26.3 flagged below 1.30.7 upstream, nginx and nginx-common 1.26.3-3+deb13u10 flagged VULN against the fixed 1.26.3-3+deb13u11, plus an /opt nginx binary and a container nginx listed for separate checks.
Step 0: version and package check. Debian and Ubuntu backport the fix without changing the 1.26.3-style version, so the script compares full package builds. sample lab capture.

affected and fixed

  • nginx Open Source: fixed in 1.30.7 (stable) and 1.31.9 (mainline), both released November 18, 2026. everything from each bug’s first affected release through 1.31.8 is listed as vulnerable.
  • NGINX Plus: F5’s CVE records list fixes in 37.3.0.1 and 37.0.8.1 (for CVE-2026-123633 alone, F5 lists 37.2.0.1 and 37.0.7.1). older R-series builds are listed as affected with no fixed build, so plan a move to a fixed 37.x release. check F5’s K000163925, K000163926, K000163927, K000163928 and K000163931 for your branch.
  • Debian: Debian 12 bookworm fixed in 1.22.1-9+deb12u11 (DLA-4918-1), Debian 13 trixie in 1.26.3-3+deb13u11 (DSA-6642-1).
  • Ubuntu: fixed builds listed on Ubuntu’s CVE pages include 24.04 LTS 1.24.0-2ubuntu7.20 and 22.04 LTS 1.18.0-6ubuntu14.23, with Pro builds for older releases.
  • Red Hat: RHSA errata are out for RHEL 8, 9 and 10 nginx streams. some layered products (3scale, OpenShift Pipelines images) were still listed as affected when we checked.
  • containers, ingress controllers, appliances: a host update does not patch nginx baked into an image, an ingress controller or a vendor appliance. those need their own rebuilds or vendor fixes.
  • restart, do not reload. a config reload does not replace the running binary.
Kali terminal running nginx2root-config-audit.sh on a saved lab nginx -T capture: HTTP/2 on, a QUIC listener, three proxy passes, worker_connections 768, and per-CVE results flagging CVE-2026-123007, CVE-2026-123633, CVE-2026-121810 and CVE-2026-123634 conditions as present and the mail proxy CVE-2026-113425 as not present.
Step 1: map your config to each CVE’s condition. a match means the condition is present, not that the host is exploitable. saved lab config only.

what to do today

  1. inventory. nginx -v and nginx -T on every host, then the package build (dpkg -l 'nginx*' or rpm -q nginx), then the copies the package manager does not know about: containers, ingress controllers, /opt, appliances.
  2. patch to 1.30.7 / 1.31.9, NGINX Plus 37.3.0.1 / 37.0.8.1, or your distro’s fixed build, and restart.
  3. if you cannot patch today, disable what you do not need. http2 off; (nginx 1.25.1 and later; on older builds remove http2 from the listen line) blocks CVE-2026-123007 and CVE-2026-123633 only. Xint is explicit that it does not block the other three. remove QUIC listeners and set http3 off; for CVE-2026-121810. point proxy_pass at fixed upstream groups instead of variables for CVE-2026-123634. bind mail listeners to trusted networks for CVE-2026-113425. HTTP/2-only clients such as native gRPC will break when HTTP/2 is off.
  4. CDN in front? Cloudflare says origins only reachable through its HTTP proxy are shielded from the HTTP/2 and HTTP/3 bugs because client frames end at its edge, but not from the resolver or mail bugs, and not if attackers can hit your origin IP directly. the same logic applies to any proxy that terminates HTTP/2 itself. lock origin access down.
  5. SCTP stopgap. if you do not use SCTP, Cloudflare suggests install sctp /bin/false in a file under /etc/modprobe.d/ until a kernel fix ships. it does not unload a module that is already loaded.
  6. watch the logs. worker process ... exited on signal 11 next to worker_connections are not enough, could not cancel ... resolving on unpatched builds, and on fixed builds client violated connection flow control. the info and warn lines only show if error_log is set below error. the strongest signal, per Xint, is the nginx worker user spawning programs it never runs.
Kali terminal running nginx2root-mitigate.sh against a lab config: lists a legacy listen 8443 ssl http2 line, a quic listener and a server-level http2 on to edit by hand, then writes an http2 off and http3 off snippet and an SCTP modprobe block into lab directories.
Step 2: stopgaps, dry run by default. note the warning: a server-level http2 on overrides an http-level http2 off. lab directories only.
Kali terminal running nginx2root-log-indicators.sh on a lab error.log: two worker process exited on signal 11 alerts, one worker_connections are not enough warning and one client violated connection flow control info line, plus a note that the default error_log level hides info and warn lines.
Step 3: log and crash indicators. a use-after-free does not always crash, so zero hits proves nothing. sample lab log.

download the Kali defensive checks

nginx2root-defensive-check.zip contains four defensive scripts with the fixed versions baked in. nginx2root-version-check.sh compares nginx -v and your Debian or Ubuntu package build against the fixed releases and lists other nginx binaries on the box. nginx2root-config-audit.sh reads nginx -T (or a saved copy) and reports which of the five conditions your config has. nginx2root-mitigate.sh is a dry run unless you pass --apply-http2-off or --apply-sctp-block, and lists the lines you must change by hand. nginx2root-log-indicators.sh greps your error logs for the crash and flow-control signals above. none of them exploit anything, and none of them prove or disprove compromise.

sloth take

“every nginx server is rootable” is the headline you will see this week, and it is not what the advisories say. what they do say is bad enough: one bug needs only HTTP/2, which is commonly enabled on TLS sites, the fix is a point release, and researchers have working exploits they are not publishing. nothing is on KEV and nobody has reported exploitation in the wild, which makes this the calm window. patch to 1.30.7 or 1.31.9, restart, then go find the nginx copies hiding in containers and appliances. slowly, but today.

sources

While you’re here, check your own front door

Reading about someone else’s bad week is a good time to glance at your own exposure. Dark Edge Consulting runs a Free External Security Snapshot: a passive, no-touch look at your domain, email, and website, graded A to F with the fixes spelled out. No login, nothing scanned on your side, just what attackers already see from the outside.

See what attackers see from the outside →

Rather talk it through with a human? Book a strategy call →