Security Advisory
NGINX2Root - Published Nov. 19th - Revised Nov. 21st -
Web servers - nginx - HTTP/2

NGINX2Root: nginx with HTTP/2 enabled can be made to run commands by an unauthenticated request

Advisory severity
CRITICAL
CVSS 4.0 (F5)
9.2
CISA KEV
Not listed
Fix
1.30.7 / 1.31.9 (Nov. 18th)
CVEs CVE-2026-123007 (HTTP/2 flow control) and CVE-2026-123633 (HTTP/2 use-after-free), the two HTTP/2 flaws in the NGINX2Root set
Affects nginx 1.9.5 through 1.31.8 with HTTP/2 enabled (CVE-2026-123007), and 1.19.7 through 1.31.8 with HTTP/2 plus proxying to a backend (CVE-2026-123633). NGINX Plus R33 and 37.x before the fixed builds. Containers, ingress controllers and appliances that bundle those versions.
Fixed in nginx 1.30.7 (stable) and 1.31.9 (mainline); NGINX Plus 37.0.8.1 and 37.3.0.1; or a distribution package whose advisory names both CVEs
Level 1 - For the CEO

A flaw in nginx lets an outsider run commands on exposed servers that offer HTTP/2: the fix shipped Nov. 18th, so every internet-facing nginx either takes the update or has HTTP/2 switched off today.

Level 2 - In plain English

nginx is the front door for a large share of the world's websites, including many that call themselves something else. HTTP/2 lets that door serve many requests over one connection, with a running tally of how much each side may send. The tally had a bookkeeping error: refund the same credit twice and the number wraps around into nonsense. A carefully timed visitor can turn that nonsense into the server copying memory where it should not, then running a command of the visitor's choosing.

The name says root. On its own, the flaw gives an outsider the nginx worker account, which on a sensible setup is a low-privilege account. The researchers reached full control of the machine by pairing it with a separate, still unpatched Linux kernel bug in SCTP, a networking feature most web servers never use. It is the difference between a stranger in the lobby and a stranger with the master key. That key can come off the hook today.

Bitsight Threat Intelligence has not identified reports of exploitation in the wild as of Nov. 18th. Proof-of-concept code is circulating. The bug sat unnoticed for ten years, then five research teams found it within weeks of each other, so the quiet is unlikely to last. The update is routine, and switching HTTP/2 off is a one-line stopgap that most visitors will not notice.

Level 3 - For the team doing the work

Technical Assessment

CVE-2026-123007: HTTP/2 flow control

When an HTTP/2 stream is cancelled, nginx returns the credit for its unsent data to the connection's send window without checking the protocol maximum. A client that has already topped the window up with WINDOW_UPDATE frames can push it past the limit, after which the remaining-capacity check underflows and accepts further increments. The oversized window is later read as a small negative number and becomes a near-unlimited copy length in the TLS output path, giving an out-of-bounds write and an address disclosure from the same copy. Xint used that to overwrite a cleanup function pointer and run commands as the worker. It needs only a reachable HTTP/2 listener. The code dates to nginx 1.9.5 in 2015, the first release with HTTP/2.

CVE-2026-123633: HTTP/2 use-after-free

An HTTP/2 connection that has received half a HEADERS frame is wrongly left in nginx's queue of connections it may close to free slots. If the completed request then opens a backend connection while the worker is short of connection slots, nginx can close the client connection and free the request mid-flight, then keep using it. The attacker fills the slots first through another port. It needs HTTP/2 plus proxy_pass, fastcgi_pass or grpc_pass, which describes most production nginx.

Severity, ASLR and the "root" in the name

F5 scores both 9.2 under CVSS 4.0; the CVSS 3.1 score for CVE-2026-123007 is 8.1, reflecting high attack complexity. Some summaries say code execution requires address space layout randomization to be off. Xint's exploit discloses addresses itself and was validated against current official images on AWS, Google Cloud and Azure over public IPs, so ASLR is not a meaningful barrier here. The nginx flaws stop at the worker account. Root came from a separate Linux kernel use-after-free in SCTP, present since Linux 4.15 in 2018 and unpatched as of Nov. 18th, which in Xint's tests also escaped a Docker container to the host.

The rest of the NGINX2Root set

CVEExposed whenClosed by turning HTTP/2 off
CVE-2026-123007HTTP/2 enabledYes
CVE-2026-123633HTTP/2 enabled and requests passed to a backendYes
CVE-2026-121810HTTP/3 (QUIC) enabled and requests passed to a backendNo
CVE-2026-123634resolver set, proxy_pass target taken from the request, plus mirror or other subrequestsNo
CVE-2026-113425Mail proxy with proxy on and auth_httpNo

This advisory covers the two HTTP/2 flaws, which reach the most servers. The same update fixes all five. Turning HTTP/2 off is a stopgap for two of them only.

Distribution status as of Nov. 18th

SourceStatusFixed build
nginx.org packagesFixed1.30.7, 1.31.9
Official Docker Hub imagesFixed1.30.7, 1.31.9, stable, mainline, latest (pull again)
NGINX PlusFixed37.0.8.1, 37.3.0.1
Alpine 3.24 and edgeFixed1.30.7-r0
Alpine 3.22 / 3.23No fix yetNone released
Debian 12 / 13No fix yetNone released
Ubuntu 16.04 to 26.10No fix yetNone released
RHEL, Rocky, AlmaNo fix yetNone released
Amazon Linux 2023Pending fixNone released
Amazon Linux 2 (Extras nginx1)Check ALASNot yet listed
OpenRestyNo fix yetLatest bundles nginx 1.31.8
ingress-nginx controllerNo fix plannedProject retired; HTTP/2 on by default

Most servers run a distribution package, and distributions backport fixes without changing the version nginx -v prints. The package advisory naming both CVEs is the evidence. Where the distribution has no fix yet, the nginx.org repository or the official image is the route to a fixed build today.

Verification and remediation

Copy marks a step as taken. Mark complete confirms it. Hand to an LLM copies the step with its context for an AI assistant.

0 of 8 steps taken
1Identify nginx, its package, and whether HTTP/2 is built and enabled

Read-only. Run on every host and inside every container that serves traffic. HTTP2_MODULE=absent or no matching configuration line means these two flaws do not apply. Note any proxy_pass, fastcgi_pass or grpc_pass for CVE-2026-123633.

Terminal
nginx -v 2>&1
nginx -V 2>&1 | grep -q -- '--with-http_v2_module' && echo HTTP2_MODULE=present || echo HTTP2_MODULE=absent
sudo nginx -T 2>&1 | sed 's/#.*//' | grep -nE 'listen[[:space:]].*http2|^[[:space:]]*http2[[:space:]]+on|_pass[[:space:]]'
dpkg-query -W nginx 2>/dev/null || rpm -q nginx 2>/dev/null || apk info -v nginx 2>/dev/null
2Confirm whether HTTP/2 answers from outside

Run from outside the network. ALPN protocol: h2 means the server is reachable through CVE-2026-123007. Behind a CDN or load balancer, test the nginx origin address directly as well, because the front end may answer for it.

From outside
openssl s_client -connect HOST:443 -servername HOST -alpn h2 </dev/null 2>&1 | grep -E 'ALPN protocol:|No ALPN negotiated'
3Update to a fixed build, then restart

Start with internet-facing nginx that answered h2 in step 2. A reload is not enough: existing workers keep the old code on open connections, so restart. Where the distribution has no fix yet, use the nginx.org repository or the official image.

Debian / Ubuntu / RHEL family (package with fix available)
sudo apt-get update && sudo apt-get install --only-upgrade nginx 2>/dev/null || sudo dnf upgrade nginx
sudo nginx -t && sudo systemctl restart nginx && nginx -v
Amazon Linux 2023 / Amazon Linux 2
sudo dnf updateinfo list --cve CVE-2026-123007 --cve CVE-2026-123633 2>/dev/null || sudo yum updateinfo list --cve CVE-2026-123007 --cve CVE-2026-123633
sudo dnf upgrade --cve CVE-2026-123007 --cve CVE-2026-123633 2>/dev/null || sudo yum update --cve CVE-2026-123007 --cve CVE-2026-123633
Containers
FROM nginx:1.30.7
4Where no fixed build is possible today, switch HTTP/2 off

Closes CVE-2026-123007 and CVE-2026-123633 only. Browsers fall back to HTTP/1.1; native gRPC through this server stops working, so check for it first. On nginx 1.25.1 and later, set http2 off in every server block sharing the address and port, and remove http2 from listen lines. On older versions, remove http2 from listen. Restart, then repeat step 2: it should print No ALPN negotiated.

nginx configuration
listen 443 ssl;
http2 off;
Terminal
sudo nginx -t && sudo systemctl restart nginx
5Kubernetes: switch HTTP/2 off in ingress-nginx and plan the move

The retired ingress-nginx controller serves HTTP/2 by default and will not receive a fixed image. Setting use-http2 to false closes these two flaws in the meantime. Replacing the controller is the lasting fix.

kubectl
kubectl get pods -A -l app.kubernetes.io/name=ingress-nginx
kubectl -n ingress-nginx patch configmap ingress-nginx-controller --type merge -p '{"data":{"use-http2":"false"}}'
6Take the "root" out of NGINX2Root: block the SCTP kernel module

The escalation to root used an unpatched SCTP kernel flaw. Web servers rarely use SCTP, and many distributions load the module on first use. This stops modprobe loading it. It does not unload a module already in memory or disable SCTP built into the kernel, so check lsmod; a loaded module needs a reboot after this change. Skip on hosts that use SCTP, such as some telecom workloads.

Terminal
echo 'install sctp /bin/false' | sudo tee /etc/modprobe.d/disable-sctp.conf
lsmod | grep -w sctp || echo 'sctp not loaded'
7Look for signs of an attempt

The HTTP/2 control frames used in the attack are not written to access logs. A program started by an nginx worker is the clearest sign of success; repeated worker crashes and long-lived connections with fast-growing inbound bytes are weaker signs. The audit rule records only from now on. Replace NGINX_UID with the worker's numeric UID from the first command.

Terminal
ps -eo uid,user,pid,args | grep '[n]ginx: worker process'
sudo grep -Ei 'worker process.*exited|signal 11|segfault' /var/log/nginx/error.log
sudo auditctl -a always,exit -F arch=b64 -S execve,execveat -F euid=NGINX_UID -k nginx_worker_exec
sudo ausearch -k nginx_worker_exec -ts recent -i
8Confirm, and keep the evidence

For each server record one of two outcomes: a fixed build running after restart (nginx -v at 1.30.7 or 1.31.9 or later, or a package advisory naming both CVEs), or the external probe showing No ALPN negotiated. Turn HTTP/2 back on only after the fixed build is confirmed.

Terminal
nginx -v 2>&1; systemctl show -p ActiveEnterTimestamp nginx
openssl s_client -connect HOST:443 -servername HOST -alpn h2 </dev/null 2>&1 | grep -E 'ALPN protocol:|No ALPN negotiated'

The name promises root, but nginx alone hands over only the worker account; whether that becomes the whole server depends on a kernel module most web servers have never needed.

Revision history

Sources

This advisory reflects public information as of Nov. 19th.