NGINX2Root: two HTTP/2 flaws let attackers run code - patch now

NGINX is the web server and reverse proxy behind a huge number of home labs. On 18 November 2026 its developers fixed ten security bugs, and two of them - in the HTTP/2 code - can let an unauthenticated attacker run code on your server. Security firm Wiz showed this even on an NGINX that only serves ordinary files, with no app behind it.

This is not a "panic tonight" bug: the attack is demanding and, as of 4 December, nobody has confirmed attacks in the wild (sources disagree - see below). But a public exploit exists, so update soon.

9.2

CVSS 4.0 score

11years

the bug has existed (since 2015)

10

NGINX bugs fixed on 18 Nov

2

of them are the HTTP/2 flaws

The short version#

TRUE

Code execution on a static-file server

Wiz showed it in the lab on NGINX serving plain files over HTTP/2 with TLS, with no backend and no third-party modules.

TRUE

A public exploit exists

Rapid7 published proof-of-concept code. It is hard to use: Rapid7 says it needs about 128 GB of HTTP/2 traffic and one specific 64-bit Linux setup.

UNKNOWN

It is being attacked right now

Singapore's CSA says it is "reportedly being actively exploited" but names no source. Sophos (23 Nov) was not aware of any. It is not in CISA's list of exploited bugs (3 Dec).

FALSE

A reload applies the fix

A reload keeps the old program in memory. You must restart NGINX after updating.

FALSE

Turning off HTTP/2 fixes everything

It blocks only the two HTTP/2 bugs. The other eight fixes still need the update.

FALSE

nginx -v proves you are safe

Debian and Ubuntu fix bugs without changing the main version number.

What happened#

NGINX2Root is the nickname the research team Xint gave to a chain of bugs: five in NGINX plus one in the Linux kernel. The kernel bug lets an attacker who controls the NGINX worker become the all-powerful root user. Xint says that also worked from inside a Docker container.

The two worst NGINX bugs:

CVEWhat it isNeedsAffected
CVE-2026-123007HTTP/2 flow-control memory corruptionHTTP/2 switched on1.9.5 to 1.31.8
CVE-2026-123633Use-after-free in HTTP/2 (memory used after it was freed)HTTP/2 plus NGINX proxying to a backend1.19.7 to 1.31.8

F5 (the company behind NGINX) scores both 9.2 on the CVSS 4.0 scale and 8.1 on the older CVSS 3.1 scale. The NGINX changelog says the first bug "might allow an attacker to cause a segmentation fault in a worker process, or might have potential other impact."

Science cornerWhat are HTTP/2 and flow control?

HTTP/2 is the newer way browsers talk to web servers: many requests share one connection. Flow control is a speed limiter - each side tells the other how much data it may send before waiting. In CVE-2026-123007 a client can cancel requests at the right moment so NGINX loses count of that allowance. The wrong number then makes NGINX copy memory it should not touch. A worker is one of the NGINX processes that handles visitors.

  • Other
  • Official

Other

Xint finds the bugs

Xint reports them to F5 five days later.

Official

nginx 1.30.7 and 1.31.9

The fix is released. Wiz, Xint and Rapid7 publish write-ups the same day.

Official

Distros, NPM and Synology follow

Ubuntu issues USN-9159-1, Nginx Proxy Manager 2.17.1 appears, Synology ships fixes for DSM 7.3 and 7.4.

Official

nginx 1.30.8 and 1.31.10

A further fix, for a different bug in TLS 1.3 early data. These are the current builds and include the November fixes.

Other

Singapore's CSA reports exploitation

The alert says "reportedly being actively exploited" and gives no source.

Am I affected?#

You are exposed if your NGINX has HTTP/2 on and is older than the fixed builds. Most HTTPS sites have it on. Check the table:

What you runAffected?What to do
NGINX 1.9.5 to 1.30.6 or 1.31.0 to 1.31.8, built with HTTP/2YesUpdate to 1.30.8 / 1.31.10 or newer, restart
NGINX 1.30.7+ / 1.31.9+No (for these two bugs)Move to 1.30.8 / 1.31.10 for the later fix
Debian or Ubuntu packageFixed in newer package versions, version number may look oldUpdate, then check the changelog (below)
Nginx Proxy ManagerYes up to 2.17.0Update to 2.17.1 or newer
SWAG (linuxserver.io)Yes if the image is older than 20 NovPull the newest image
OpenRestyYes up to 1.31.8.1OpenResty 1.31.9.1 (23 Nov)
Synology DSMYesUpdate DSM - see our Synology article
NGINX behind a CDNMaybeThe CDN may stop the attack, but test your server's own port
Traefik, CaddyNot covered by the sources we readCheck their own release notes

Debian lists fixed packages 1.22.1-9+deb12u12 (Debian 12) and 1.26.3-3+deb13u12 (Debian 13). Ubuntu 24.04 lists 1.24.0-2ubuntu7.20. Those numbers look old but contain the fix. Nginx Proxy Manager's release notes say 2.17.1 has "nginx2root backported fixes"; one outside write-up says it covers only the two HTTP/2 bugs, so also watch for newer releases.

What to do now#

1. Check your version#

Linux and Mac

Run in terminalbash
nginx -v
nginx -V 2>&1 | grep -o -- '--with-http_v2_module'
sudo nginx -T 2>&1 | grep -n http2

Expected: nginx version: nginx/1.30.8 (or newer), then --with-http_v2_module if HTTP/2 is built in, then the config lines that switch it on.

Windows (PowerShell, inside your nginx folder)

Codepowershell
.\nginx.exe -v

Docker (my-proxy is a dummy container name - use your own)

Run in terminalbash
docker ps
docker exec my-proxy nginx -v

OpenResty-based images print openresty/... instead. Nginx Proxy Manager 2.17.1 is based on OpenResty 1.31.8.1 plus backports, so its version text may still look old.

From another computer: does your server offer HTTP/2? (your-server.example is a dummy.) The output 2 means yes.

Run in terminalbash
curl -sI --http2 https://your-server.example -o /dev/null -w "%{http_version}\n"

On Windows use curl.exe and -o NUL.

2. Update#

Linux (distribution package)

Run in terminalbash
sudo apt update && sudo apt install --only-upgrade nginx
sudo systemctl restart nginx

On Fedora or RHEL-type systems use sudo dnf upgrade nginx instead. To see if your package has the fix, search its changelog: apt changelog nginx | grep -m1 CVE-2026-123007 (Debian, Ubuntu) or rpm -q --changelog nginx | grep -m1 CVE-2026-123007 (RHEL family). One matching line means fixed.

Want the newest builds straight from the developers? Follow the repository steps on the nginx.org Linux packages page.

Docker

Run in terminalbash
docker compose pull
docker compose up -d
docker compose exec my-proxy nginx -v

Running containers stay old until you recreate them. If you build your own image on top of nginx, rebuild it with docker compose build --pull. Official tags 1.30.8 and 1.31.10 exist on Docker Hub.

Windows

Download the zip nginx/Windows-1.30.8 from the nginx.org download page. Stop the old one with .\nginx.exe -s quit, unpack the new version, copy your conf folder across, start nginx.exe, then run .\nginx.exe -v.

Mac

Run in terminalbash
brew update
brew upgrade nginx
brew services restart nginx
nginx -v

Homebrew's current nginx is 1.31.10 (checked 4 Dec).

3. Restart, do not just reload#

Xint says: restart NGINX; "a configuration reload alone does not replace the running executable." Linux uses sudo systemctl restart nginx; in Docker, recreate the container.

4. If you cannot update today: turn HTTP/2 off#

This is a stop-gap for the two HTTP/2 bugs only. In every server block (NGINX 1.25.1 or newer):

File contentnginx
server {
    listen 443 ssl;
    http2 off;
    # ... the rest of your settings ...
}

On NGINX 1.9.5 to 1.25.0 remove the word http2 from the listen line instead. Then test and reload:

Run in terminalbash
sudo nginx -t
sudo systemctl reload nginx

Expected: syntax is ok and test is successful. Old workers may linger for a while (nginx: worker process is shutting down); a restart removes them but cuts connections. gRPC services need HTTP/2 and will stop working. In Nginx Proxy Manager, each proxy host has an HTTP/2 switch on its SSL tab.

Common mistakes#

MistakeWhy it happensDo this instead
Running nginx -s reload after the upgradeReload is the habit after config editsRestart the service or recreate the container
Trusting nginx -v aloneDistros backport fixesCheck the package changelog
Updating the host but not the containerThe proxy runs in Docker with its own NGINXRun docker exec ... nginx -v and pull a new image
Testing HTTP/2 only through your CDNThe CDN answers, not your serverTest your server's own port
An AI assistant says "update to 1.30.7"Its knowledge stops before 23 Nov1.30.8 / 1.31.10 are current - verify on nginx.org
An AI assistant says "disable HTTP/2 and you are done"It only knows part of the adviceThat covers 2 of the 10 bugs

Our take#

Update this week, restart, and write down which of your services carry their own NGINX - Nginx Proxy Manager, SWAG, your NAS. Reports of attacks are still unconfirmed and the public exploit is demanding, but a bug that works on a plain static-file server is the kind you do not want to leave open. We checked every claim against the vendor pages we could open; F5's own advisory page would not load for us, so its wording is not quoted.

Sources#

Checked on 4 December 2026.

  1. nginx security advisories - nginx.org
  2. Changes with nginx 1.30.x - nginx.org, 18 and 23 Nov 2026
  3. CVE-2026-123007 record - CVE Program, published 18 Nov 2026
  4. Unauthenticated Remote Code Execution in NGINX - Wiz Research, 18 Nov 2026
  5. nginx2root: remote code execution and nginx2root.com - Xint
  6. NGINX2Root: five nginx flaws - Qualys, 18 Nov 2026
  7. CVE-2026-123007 critical NGINX HTTP/2 integer underflow - Rapid7, 18 Nov 2026 (updated 20 Nov)
  8. Critical NGINX nginx2root bugs let attackers hijack servers - BleepingComputer, 19 Nov 2026
  9. Active Exploitation of Vulnerability in F5 NGINX - Cyber Security Agency of Singapore, 26 Nov 2026
  10. Sophos advisory nginx2root - Sophos, updated 23 Nov 2026
  11. Debian security tracker and Ubuntu CVE page
  12. Nginx Proxy Manager releases - GitHub, 19 Nov 2026
  13. Which open source apps are affected - WZ-IT, 21 Nov 2026
  14. Synology-SA-26:20 - Synology, 19-26 Nov 2026
  15. Known Exploited Vulnerabilities catalog - CISA, version 2026.12.03
  16. Self-Hosted Weekly, week 48 - Elestio

Try one of these