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.
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.
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.
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.
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.
| CVE | Exposed when | Closed by turning HTTP/2 off |
|---|---|---|
| CVE-2026-123007 | HTTP/2 enabled | Yes |
| CVE-2026-123633 | HTTP/2 enabled and requests passed to a backend | Yes |
| CVE-2026-121810 | HTTP/3 (QUIC) enabled and requests passed to a backend | No |
| CVE-2026-123634 | resolver set, proxy_pass target taken from the request, plus mirror or other subrequests | No |
| CVE-2026-113425 | Mail proxy with proxy on and auth_http | No |
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.
| Source | Status | Fixed build |
|---|---|---|
| nginx.org packages | Fixed | 1.30.7, 1.31.9 |
| Official Docker Hub images | Fixed | 1.30.7, 1.31.9, stable, mainline, latest (pull again) |
| NGINX Plus | Fixed | 37.0.8.1, 37.3.0.1 |
| Alpine 3.24 and edge | Fixed | 1.30.7-r0 |
| Alpine 3.22 / 3.23 | No fix yet | None released |
| Debian 12 / 13 | No fix yet | None released |
| Ubuntu 16.04 to 26.10 | No fix yet | None released |
| RHEL, Rocky, Alma | No fix yet | None released |
| Amazon Linux 2023 | Pending fix | None released |
| Amazon Linux 2 (Extras nginx1) | Check ALAS | Not yet listed |
| OpenResty | No fix yet | Latest bundles nginx 1.31.8 |
| ingress-nginx controller | No fix planned | Project 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.
Copy marks a step as taken. Mark complete confirms it. Hand to an LLM copies the step with its context for an AI assistant.
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.
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
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.
openssl s_client -connect HOST:443 -servername HOST -alpn h2 </dev/null 2>&1 | grep -E 'ALPN protocol:|No ALPN negotiated'
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.
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
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
FROM nginx:1.30.7
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.
listen 443 ssl; http2 off;
sudo nginx -t && sudo systemctl restart nginx
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 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"}}'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.
echo 'install sctp /bin/false' | sudo tee /etc/modprobe.d/disable-sctp.conf lsmod | grep -w sctp || echo 'sctp not loaded'
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.
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
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.
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.
This advisory reflects public information as of Nov. 19th.