| Severity | CRITICAL |
| Threat Category | Vulnerability – Unauthenticated Remote Code Execution, chainable to host root |
| Affected Platforms | nginx Open Source 1.9.5 through 1.31.8 (mail proxy affected from 0.5.x); NGINX Plus R33–R36 and R37.0–R37.2; underlying Linux kernels for the privilege-escalation step |
| CVE | CVE-2026-123007, CVE-2026-123633, CVE-2026-123634, CVE-2026-121810, CVE-2026-113425 (plus an as-yet unassigned Linux kernel SCTP flaw) |
| CVSS | 9.2 (CVSS v4.0, assigned by F5) for the lead flaw CVE-2026-123007 |
1. Overview
“NGINX2Root” is the name given by the research team Xint (Theori) to a set of five newly disclosed vulnerabilities in the nginx web server, which — when chained with a separate, still-unpatched Linux kernel flaw — allow a remote, unauthenticated attacker to take complete control of an affected host, including the ability to escape a container and reach the underlying operating system as root.
The five nginx flaws were disclosed on 18 November 2026 in a coordinated, out-of-band security release by F5 (the maintainer of nginx). The most severe, CVE-2026-123007, is an integer-overflow flaw in nginx’s HTTP/2 flow-control handling that has existed in every nginx release since HTTP/2 support was introduced in version 1.9.5 (2015). On its own it yields remote code execution at the privilege level of the nginx worker process; the full path to root additionally relies on a use-after-free flaw in the Linux kernel’s SCTP subsystem that, as of this advisory, has no CVE identifier and no fix.
2. Who is Affected
Any organization running an affected version of nginx is potentially exposed; nginx is among the most widely deployed web servers and reverse proxies in the world, and is extremely common in Bhutan across government web portals, hosting providers, API gateways, load balancers, and the ingress controllers of containerized and Kubernetes environments. Because the vulnerable code shipped in every release from 1.9.5 (2015) onward, the installed base of affected instances is very large.
Exposure depends on which nginx features are enabled:
- The two most serious flaws (CVE-2026-123007 and CVE-2026-123633) require HTTP/2 to be enabled for client connections — a very common configuration on TLS-enabled sites.
- CVE-2026-121810 requires HTTP/3 (QUIC) to be enabled; CVE-2026-113425 affects deployments using the mail proxy module; CVE-2026-123634 affects reverse proxies that resolve upstream names at request time (for example via the mirror directive).
- The privilege-escalation step to root requires the separate Linux kernel SCTP flaw to be reachable on the host.
As of the date of this advisory, BtCIRT is not aware of any confirmed exploitation of these vulnerabilities in Bhutan, and the vulnerabilities are not yet listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. In-the-wild exploitation has not been publicly reported anywhere as of 19 November 2026. The severity is nonetheless assessed as CRITICAL because:
- The lead flaw is an unauthenticated remote code execution bug, reachable over the network with no credentials, on a default HTTP/2 + TLS configuration — F5 rates the five flaws 9.2 (CVSS v4.0).
- A working proof-of-concept for CVE-2026-123007 has already been published by Rapid7 (github.com/sfewer-r7/CVE-2026-123007), which materially lowers the barrier to exploitation.
- The flaws can be chained to full host root, including escape from Docker/container boundaries to the host kernel.
- The affected software is pervasive and internet-facing, so the window between public disclosure and opportunistic scanning is typically short.
3. How the [Threat/Vulnerability/Attack] Works
NGINX2Root is a two-stage chain: a network-reachable flaw in nginx to gain code execution as the web server, followed by a kernel flaw to escalate from that foothold to root on the host.
Stage 1 – Unauthenticated remote code execution as the nginx worker
An attacker sends specially crafted traffic to an exposed nginx service. Five distinct memory-safety flaws can each lead to code execution in the nginx worker process:
- CVE-2026-123007 — an integer overflow in HTTP/2 flow control: a manipulated send window exceeds its permitted maximum, producing an invalid memory-copy length and out-of-bounds reads and writes on the heap. This is the lead flaw and needs only an HTTP/2-over-TLS port to be reachable; researchers demonstrated it against an instance serving only static content.
- CVE-2026-123633 — a use-after-free in HTTP/2 connection handling, triggered when an active HTTP/2 connection is drained while a request is opening an upstream connection on a reverse proxy.
- CVE-2026-123634 — a use-after-free in the DNS resolver’s waiting-list handling, reachable when a reverse proxy resolves upstream names at request time (for example via the mirror directive).
- CVE-2026-121810 — a use-after-free in HTTP/3 (QUIC) stream creation, triggered when the parent QUIC connection is drained during an upstream connect.
- CVE-2026-113425 — a use-after-free in the mail proxy auth_http path, where the client session is freed while the authentication connection still references it.
All five carry an F5-assigned CVSS v4.0 score of 9.2 (Critical). Converting a worker-process crash into reliable code execution generally requires defeating address-space layout randomization (ASLR); the public CVE-2026-123007 exploit is constrained (it is x86-64-specific, needs a large volume of HTTP/2 traffic on a connection, and depends on recovering heap addresses), but constraints of this kind tend to ease as research matures.
Stage 2 – Escalation from nginx worker to host root
Code execution as the nginx worker is a low-privilege, often sandboxed or containerized account. To reach root, the researchers chained the nginx foothold with a separate use-after-free / double-free flaw in the Linux kernel’s SCTP subsystem (present in the kernel since version 4.15, 2018). From inside the worker, this flaw yields kernel memory disclosure (defeating KASLR) and an arbitrary kernel function call, which together give full root on the host; and in the researchers’ testing, allowed escape from a Docker container to the host kernel.
4. Indicators to Watch For
These vulnerabilities are exploited through ordinary network traffic and may leave little obvious trace, so configuration and version review is the most reliable check. Administrators should look for:
- nginx reports a version in the affected range (check with nginx -v). Fixed releases are 1.30.7 (stable) and 1.31.9 (mainline), all versions prior to 1.30.7 (stable) and 1.31.9 (mainline) are affected.
- Important: Linux distributions frequently backport fixes without changing the reported version string, so an instance may show an old version yet be patched (or vice-versa). Verify the full package version against your distribution’s security advisory — for example dpkg -l nginx on Debian/Ubuntu or rpm -q nginx on RHEL-family systems.
- HTTP/2 enabled for client connections (listen … http2 or http2 on;) is the sole requirement for the most critical flaw (CVE-2026-123007). If NGINX also proxies HTTP/2 requests to an upstream (proxy-pass), it is additionally exposed to CVE-2026-123633.
- HTTP/3 / QUIC listeners enabled (listen … quic or http3 on;) combined with upstream proxying (proxy-pass).
- A mail proxy block mail { … proxy on; auth_http … } exposed beyond the local host/trusted networks — the condition for CVE-2026-113425.
- Reverse-proxy configurations that resolve upstreams at request time (a resolver with request-derived proxy_pass, or subsequent features such as mirror or SSI) — the condition for CVE-2026-123634.
- Signs of crash-level exploitation attempts – Unexplained nginx worker-process crashes, restarts, or exited on signal/segmentation fault entries in error logs, as well as unexpected child processes spawned by NGINX worker user.
- On the host, whether the SCTP kernel module is loaded or loadable (lsmod | grep sctp), which bears on reachability of the privilege-escalation step.
5. Recommendations
5.1. For organizations and government offices:
- Patch nginx as the priority action. Upgrade nginx Open Source to 1.30.7 (stable) or 1.31.9 (mainline). For NGINX Plus, upgrade to R37.0.8.1 or R37.3.0.1 (R33–R36 have no patch and must be moved to a fixed R37 release). Where a distribution package is used, apply the vendor’s updated package.
- Restart nginx after upgrading. A configuration reload does not replace the already-running executable in memory, so a full restart is required for the fix to take effect.
- If you cannot patch immediately, apply the matching interim mitigation: Treat these as temporary stopgaps, not fixes, and note that no single mitigation covers all five flaws.
- Disable HTTP/2 (http2 off;) to block CVE-2026-123007 and CVE-2026-123633 (this will break gRPC clients).
- Remove HTTP/3 / QUIC listeners (http3 off;, drop quic listeners) to block CVE-2026-121810.
- Bind mail-proxy listeners to loopback or restrict them by firewall to block CVE-2026-113425.
- Use a fixed upstream group in proxy_pass and turn off mirror where not needed to reduce exposure to CVE-2026-123634 (note this is not a complete fix for the resolver bug).
- Address the privilege-escalation path. On hosts that do not require SCTP, prevent the module from loading (for example an install sctp /bin/false line in a file under /etc/modprobe.d/), and ensure ASLR is enabled. Keep the host kernel current and watch for a forthcoming kernel SCTP patch.
- Prioritize internet-facing instances. Inventory all nginx deployments — including those embedded in appliances, container images, and Kubernetes ingress controllers — and patch externally reachable, HTTP/2-enabled instances first.
- Also apply the five additional, lower-severity nginx CVEs fixed in the same 18 November 2026 release (CVE-2026-118899, CVE-2026-120993, CVE-2026-125283, CVE-2026-123640, CVE-2026-120967); upgrading to the fixed nginx version remediates all of them together.
- Monitor nginx error logs and network telemetry for worker crashes and anomalous HTTP/2 traffic, and review whether any affected instance may have already been reached.
6. Reporting
If you suspect your organization, device or account has been affected by this threat, or observe activity matching this pattern, please report it to BtCIRT at cirt@btcirt.bt
7. Sources and References
- F5 / nginx security advisory K000164058 (18 November 2026). https://my.f5.com/manage/s/article/K000164058
- Xint (Theori) — “NGINX2Root,” 18 November 2026. https://xint.io/blog/nginx2root-remote-code-execution
- Tenable Research — “NGINX2Root (CVE-2026-123007): FAQ About Five Critical nginx Vulnerabilities,” 18 November 2026. https://www.tenable.com/blog/nginx2root-cve-2026-123007-frequently-asked-questions-about-five-critical-nginx
- watchTowr Labs — “NGINX ‘NGINX2root’ (CVE-2026-123633) FAQ,” 18 November 2026. https://watchtowr.com/intelligence/nginx-nginx2root-cve-2026-123633-faq/
- Rapid7 — technical analysis and proof-of-concept for CVE-2026-123007 (Stephen Fewer), 18 November 2026.
https://github.com/sfewer-r7/CVE-2026-123007
