← Blog

nginx CVE-2026-123007 and CVE-2026-123633: check and fix nginx HTTP/2

In short: nginx with HTTP/2 switched on has two memory bugs, CVE-2026-123007 (nginx 1.9.5 and newer) and CVE-2026-123633 (1.19.7 and newer), that the researchers say allow code execution without login. The fix is nginx 1.30.7 (stable) or 1.31.9 (mainline), released on 18 November 2026. Until it is installed, http2 off; closes these two. On shared hosting, your hosting provider has to update. Check your domain for free.

What are CVE-2026-123007 and CVE-2026-123633?

Both sit in nginx’s HTTP/2 module. An attacker only has to talk HTTP/2 to the server; no login and no special page on your site is needed. JFrog calls the pair “Nginx2Shell”; Xint calls its exploit chain “NGINX2Root”. Both names refer to the same flaws.

CVE-2026-123007Memory corruption in HTTP/2 flow control. Affected: nginx 1.9.5 to 1.31.8
CVE-2026-123633Use-after-free in HTTP/2. Affected: nginx 1.19.7 to 1.31.8
Fixed in1.30.7 (stable) and 1.31.9 (mainline), 18 November 2026
NGINX Plus37.0.8.1 and 37.3.0.1 (Rapid7, Wiz)
NGINX Plus R34 to R36No fix listed (Rapid7). Move to 37.0.8.1 or 37.3.0.1
NeedsHTTP/2 switched on
Severitynginx.org: CVE-2026-123007 “major”, CVE-2026-123633 “medium”. Wiz calls both critical (CVSS 4.0: 9.2); Rapid7 rates CVE-2026-123007 critical (CVSS 4.0: 9.2)

The two bugs have different preconditions. According to JFrog, CVE-2026-123007 was confirmed on 64-bit servers over HTTPS, even when nginx only serves static files. CVE-2026-123633 additionally needs nginx to pass requests to a backend, such as a PHP application, while it is running low on free connections. On ASLR (a standard memory protection): according to The Hacker News, F5 says code can run where ASLR is off or can be bypassed, and Wiz says it bypassed ASLR in its tests. In our assessment, do not count on ASLR to protect you.

The same release fixes ten flaws in total, among them HTTP/3 and resolver bugs. http2 off; does not cover those, so the stopgap below is not a substitute for updating.

Which version is fixed depends on your branch. 1.30.7 is older than 1.31.0, so nginx 1.31.0 to 1.31.8 are newer than 1.30.7 and still affected. Branches before 1.30 get no fix from the nginx project: move to 1.30.7 or newer.

Is it being exploited?

Rapid7 published a proof-of-concept for CVE-2026-123007 on GitHub on 18 November 2026. By its own account it needs about 128 GB of HTTP/2 traffic, a CPU with AVX512 (it depends on glibc’s AVX512 memcpy routine on x86-64) and a connection that is not proxied. In Rapid7’s test, running the exploit takes about two and a half minutes, and sending the required data takes about two minutes over a 10 Gbit/s link or about seventeen minutes over 1 Gbit/s. Because nginx closes connections after one hour by default, Rapid7 says a link slower than about 300 Mbit/s cannot finish in time. The PoC repository itself says it only suits a freshly started local Docker container and will likely fail against servers with several clients at once, workers that have been running for a while, or a proxy in between. CERT-EU says no exploitation in the wild has been reported yet, and CISA’s Known Exploited Vulnerabilities catalog (version 2026.11.18) listed neither CVE when we checked on 19 November 2026 at 04:18 CET. Wiz and Xint withheld their exploits. No attacks in the wild have been reported (as of 18 November 2026). nginx.org itself words the impact more cautiously than the researchers do: a crash, or “potential other impact”. Treat it as urgent anyway, because the fix is public.

Step 1: Find out whether your server runs an affected nginx

On your own server:

nginx -v                                                  # version
nginx -V 2>&1 | grep -o with-http_v2_module               # HTTP/2 compiled in?
nginx -T 2>/dev/null | grep -E "http2|listen .* ssl"      # HTTP/2 switched on?
dpkg -l nginx | tail -1                                   # Debian, Ubuntu package version
rpm -q nginx                                              # RHEL, Rocky, Alma, Fedora

A listen line with http2, or http2 on; in a server block, means HTTP/2 is on. If the version is from 1.9.5 to 1.31.8 without the fix for your branch (1.30.7 or 1.31.9) and HTTP/2 is on, you are in range. You can also paste the output of nginx -v into the version box on our check page; it judges it in your browser and sends nothing.

On shared hosting you cannot run commands, and most hosting providers hide the version. Our free nginx HTTP/2 check shows from the outside what your site answers: whether nginx delivers it, whether HTTP/2 is on and which version it reports, if any. It loads your start page once and opens one TLS connection, like a browser. It does not try the flaw.

Exception for Linux distributions: Debian and Ubuntu ship older nginx numbers with backported fixes, so nginx/1.24.0 (Ubuntu) alone does not say whether the fix is in. On 18 November 2026 the Debian security tracker listed bookworm, trixie and sid as vulnerable with no fixed version, and Ubuntu’s tracker listed its releases from 16.04 to 26.04 as vulnerable with no fixed version. We found no verified package status for RHEL, Alma, Rocky, Amazon Linux or Alpine. nginx.org also publishes its own packages if you cannot wait for your distribution.

Docker: the official nginx image on Docker Hub lists 1.30.7 and 1.31.9 tags, but containers built earlier keep the old nginx until you pull and rebuild. Tags move, so check the version inside the image (docker run --rm nginx:stable nginx -v).

Kubernetes: the community kubernetes/ingress-nginx project was archived in March 2026 and gets no security updates, so no fix will come from it. Check which ingress controller you run and what its vendor says.

What hosting providers say

On shared hosting the fix depends on your hosting provider. On 18 November 2026 we found no statement from Plesk, cPanel or Cloudflare about these two flaws. “No statement found” does not mean unpatched, and many providers hide the nginx version, so a patched server can look the same from the outside as an unpatched one. Ask your provider directly whether the nginx serving your site has the fix for CVE-2026-123007 and CVE-2026-123633, and whether HTTP/2 is on.

If you sit behind a CDN, the CDN speaks HTTP/2 to visitors, and Rapid7 says its exploit is unlikely to work through a proxy. A CDN is not a fix, though: update the origin nginx anyway. A CDN also does not help if your origin server’s IP address still answers on port 443: attackers can skip the CDN and speak HTTP/2 straight to nginx (Mattias Geniar makes the same point). In our assessment, let the origin accept only the CDN’s traffic, or switch HTTP/2 off there.

Step 2: Fix it

Own server or VPS: install the update from your distribution as soon as it is there, or from the nginx.org repository:

sudo apt update && sudo apt install --only-upgrade nginx    # Debian, Ubuntu
sudo dnf upgrade nginx                                      # RHEL, Rocky, Alma, Fedora
nginx -t && sudo systemctl restart nginx
nginx -v

Restart, do not reload: a reload can leave old workers running with the old code. OpenResty, Angie and Tengine number their own releases, so the nginx version rule does not apply to them: check the vendor’s security notice. For Plesk and cPanel packages, check the vendor’s package changelog or notice.

Stopgap: switch HTTP/2 off

If the fixed package is not out yet, limit nginx to HTTP/1.1. In each server block (nginx 1.25.1 and newer):

server {
    listen 443 ssl;
    http2 off;
}

On older versions, remove http2 from the listen line (listen 443 ssl http2; becomes listen 443 ssl;). Then test and restart:

nginx -t && systemctl restart nginx

Pages load a little slower without HTTP/2, but everything keeps working. Switch it back on once the fixed nginx runs. This covers only the two HTTP/2 flaws. If your server also offers HTTP/3 (Alt-Svc: h3), its own flaw CVE-2026-121810 needs the update too.

Was my server attacked?

A crashing nginx is the most visible sign: look for worker process ... exited on signal 11 lines in the nginx error log since 18 November. Code execution would run as the nginx worker user, so check for unknown processes and files changed by that user (www-data on Debian and Ubuntu, nginx on RHEL). Xint, which calls its exploit chain NGINX2Root, chained the nginx bug with a separate Linux kernel flaw (SCTP, no CVE yet) to reach host root; hosts that do not need SCTP can block the module with install sctp /bin/false in a file under /etc/modprobe.d/. If something looks wrong, take the site offline or behind maintenance mode, keep the logs, and get help before you clean up.

Get it done for you

No time, or no access to the server? We check which nginx your servers run, switch HTTP/2 off as a stopgap if needed, install the fix and test your sites. The first assessment is free. Use the form below.

Sources

Questions

What are CVE-2026-123007 and CVE-2026-123633?

Two memory-safety flaws in nginx's HTTP/2 code, disclosed on 18 November 2026. CVE-2026-123007 is memory corruption in HTTP/2 flow control; CVE-2026-123633 is a use-after-free in HTTP/2. The researchers who found them say an attacker can run code on the server without logging in. nginx.org describes the impact more cautiously, as a crash or "potential other impact".

Which nginx versions are affected, and which are fixed?

CVE-2026-123007 affects nginx 1.9.5 to 1.31.8, CVE-2026-123633 affects 1.19.7 to 1.31.8. The fix is per branch: 1.30.7 on the stable branch and 1.31.9 on the mainline branch. Because 1.30.7 is older than 1.31.0, versions 1.31.0 to 1.31.8 are newer than 1.30.7 and still affected.

Am I affected if HTTP/2 is off?

Not by these two. Both are in the HTTP/2 code path, so a server limited to HTTP/1.1 cannot be attacked through them. The same release fixes ten flaws, though, and switching HTTP/2 off covers only these two, so still update.

My server shows nginx 1.24.0 (Ubuntu). Is that fixed?

The number alone does not tell you. Distributions backport fixes and keep the old number (Ubuntu 24.04 ships 1.24.0, Debian 12 ships 1.22.1). On 18 November 2026 the Debian and Ubuntu security trackers still listed their releases as vulnerable, with no fixed package version. Check the full package version against the tracker, and use the HTTP/2 stopgap until your package is fixed.

Is my Docker image fixed?

Only if it runs nginx 1.30.7 or later on the 1.30 branch, or 1.31.9 or later on the 1.31 branch. Docker Hub lists those tags for the official nginx image, but an image you pulled or built earlier keeps the old nginx until you pull and rebuild. Run nginx -v inside the container to see what it really runs.

Is CVE-2026-123007 being exploited?

Rapid7 published a proof-of-concept on GitHub on 18 November 2026. By its own account it needs about 128 GB of HTTP/2 traffic, a CPU with AVX512 and a connection that is not proxied. Wiz and Xint withheld their exploits. No attacks in the wild have been reported as of 18 November 2026. Treat it as urgent anyway: the fix is public.

Is ingress-nginx in Kubernetes affected?

It bundles nginx, so it can be. The community kubernetes/ingress-nginx project was archived in March 2026 and no longer gets security updates, so there will be no fix from that project. Check which controller you run and what the vendor says, and move to a maintained one.

What are Nginx2Shell and NGINX2Root?

Names for the same flaws. JFrog calls the pair CVE-2026-123007 and CVE-2026-123633 "Nginx2Shell". Xint calls its exploit chain, which adds a Linux kernel flaw, "NGINX2Root".

Is NGINX Plus affected?

Yes. Rapid7 lists NGINX Plus R34 to R36 as vulnerable with no fix. Releases 37.0.8.1 and 37.3.0.1 contain the fix, so move to one of them.

Does a CDN protect me if my origin server can be reached directly?

Not if the origin's IP address still answers on port 443: attackers can skip the CDN and speak HTTP/2 to nginx. In our assessment, let the origin accept only the CDN's traffic, or switch HTTP/2 off there, and update nginx anyway.