How do I check if the nginx HTTP/2 flaws affect my app?
Two questions settle it. First, does any nginx config turn HTTP/2 on, with listen 443 ssl http2 or http2 on;? If not, these two flaws don't apply. Second, which nginx runs it? nginx's own builds and the official Docker image are fixed from 1.30.7 (stable) and 1.31.9 (mainline). Distro packages keep older version numbers, so check your distribution's notice. Until you're patched, turn HTTP/2 off.
On 18 November 2026, F5 fixed two flaws in nginx's HTTP/2 code that can let someone on the internet run their own code on a server without logging in. Most write-ups explain the bug. This page answers the question a team running its own server actually has: is our app affected, and what do we change?
What are CVE-2026-123007 and CVE-2026-123633?
They're two memory-safety bugs in nginx's HTTP/2 handling. Wiz Research, Ikotas Labs, Metnir, Rapid7 and Xint found them independently and reported them to F5, and Wiz rates both 9.2 on CVSS 4.0 (Wiz, 18 November 2026).
nginx.org lists the affected versions as follows (nginx security advisories):
| CVE | What it is | Vulnerable | Not vulnerable |
|---|---|---|---|
| CVE-2026-123007 | Memory corruption in HTTP/2 flow control | 1.9.5 to 1.31.8 | 1.30.7+, 1.31.9+ |
| CVE-2026-123633 | Use-after-free in HTTP/2 | 1.19.7 to 1.31.8 | 1.30.7+, 1.31.9+ |
Three details decide whether they matter to you:
- Both need HTTP/2 to be on. It's off unless a config turns it on: the
http2directive defaults tooff(nginx docs). A server block that only sayslisten 80;orlisten 443 ssl;isn't exposed to these two. - A static site is enough. Wiz says its testing of CVE-2026-123007 showed code execution on nginx serving ordinary static files, with no backend application or third-party modules (Wiz). CVE-2026-123633 matters mainly where nginx proxies to a backend.
- There's no public exploit yet. Wiz says it won't release its exploits for now (Wiz). That buys time, not safety.
Step 1: is HTTP/2 turned on?
Search your repository and server for the two ways nginx turns it on:
grep -rnE "listen[^;]*\bhttp2\b|http2[[:space:]]+on[[:space:]]*;" --include="*.conf*" .
A match outside a comment means HTTP/2 is on in that server block. Look in nginx.conf, anything under conf.d/ or sites-available/, and config templates your Dockerfile copies in.
No match anywhere nginx reads its config? Then these two CVEs don't reach you. Upgrade anyway when it's convenient: the same release fixed other flaws too.
Step 2: which nginx runs it?
This is where Docker setups trip people up. The answer depends on how nginx got into the image.
| How nginx is installed | Example | What to check |
|---|---|---|
| Official image, exact tag | FROM nginx:1.27.4-alpine | The tag is the version. Anything older than 1.30.7, or a 1.31 older than 1.31.9, is affected. |
| Official image, older line | FROM nginx:1.28-alpine | Affected at every patch level, even after a rebuild: the fix only went into 1.30 and 1.31. Move to nginx:1.30 or later. |
| Official image, moving tag | FROM nginx:stable-alpine, nginx:alpine, nginx:latest | The tag now points at a fixed build, but your running container is whatever you last built. Pull, rebuild and redeploy. |
| Distro package | RUN apt-get install -y nginx | The version number won't tell you. Check your distribution's security tracker. |
| Your own server (a VPS) | nginx installed on the machine | Run nginx -v, then use the row above that matches how it was installed. |
Docker Hub's official nginx image published 1.30.7 and 1.31.9 tags on 18 and 19 November 2026, and stable, mainline, latest and alpine were updated the same days (Docker Hub, checked 19 November 2026). A moving tag only protects you once you rebuild: a container started last week is still running last week's nginx.
Why distro version numbers mislead
Linux distributions patch the version they already ship rather than jumping to a new one. On Ubuntu 24.04, the fixed package is 1.24.0-2ubuntu7.20, and Ubuntu lists fixed packages back to 16.04, the oldest through Ubuntu Pro (Ubuntu, 18 November 2026). So a patched Ubuntu server can still report nginx 1.24.0.
Debian is the other way round. On 19 November 2026, Debian's tracker listed bookworm, trixie and forky as still vulnerable, with only sid fixed (Debian security tracker). Many slim Docker base images are built on Debian, so FROM python:3.12-slim followed by apt-get install nginx has no fixed package to install yet. For that setup, turning HTTP/2 off is the fix for now.
For Alpine, Cycode reported on 18 November that Alpine 3.24 and edge ship nginx 1.30.7, and that 3.22 and 3.23 had no fixed build yet (Cycode).
If you're affected
- Upgrade where a fix exists. Move an exact tag to
nginx:1.30.7ornginx:1.31.9or later, or rebuild on a moving tag, then redeploy. On a server, install the patched package and restart nginx: a reload keeps the old master process, so the binary doesn't change (nginx2shell.com, Previdian). - Turn HTTP/2 off where you can't upgrade yet. On nginx 1.25.1 or later, set
http2 off;in each affected server block. On older versions, removehttp2from thelistenlines. Reload, and check the old workers have exited (Wiz). - Turn HTTP/2 back on after you've upgraded. Browsers fall back to HTTP/1.1 in the meantime, so the site keeps working.
What a repository can and can't tell you
A repository can show two facts: whether a config turns HTTP/2 on, and sometimes which nginx version runs it, when the Dockerfile names an exact tag. It can't show what's running. A moving tag, a distro package or a server set up by hand all leave the version open, and only the server knows.
That's also why "we use Vercel" or "we use Netlify" usually ends the question: if a platform serves your app and you don't run nginx in your own container or server, there's nothing in your repository to change. Patching the platform is the provider's job.
Where SystemAudit's free scan fits
SystemAudit's free scan reads your GitHub repository's default branch through the GitHub API. Among the files it reads are Dockerfiles, docker-compose files and nginx config files (nginx.conf, and .conf files in an nginx, conf.d or sites-available folder). From those it reports:
- Critical: a config turns HTTP/2 on and a Dockerfile or compose file pins an nginx version in the affected range. The finding names the config line, the image line and the fixed versions.
- High: a config turns HTTP/2 on and nothing pins the version. The finding asks you to check the server, and says how for distro packages.
- Nothing: HTTP/2 is off, or every pinned version is patched.
Critical and high findings show their file and line on the free scan, without signing up. What it doesn't do: it reads the repository, not your running containers or servers, so it can't confirm what version is live. It can't see nginx config that only exists on a server, and a deployment that isn't in the repository is invisible to it. Run a free scan.
For the other half of a deployment review, see how to find exposed secrets in GitHub and cleaning up a vibe-coded app before launch. For this year's supply chain attacks, see how to check your lockfile for ChainDrop.
Frequently asked questions
Is my site vulnerable if nginx only listens on port 80?
Not to these two flaws, unless that listen line also says http2 or the server block has http2 on;. Both CVEs need HTTP/2. Plain listen 80; serves HTTP/1.1. HTTP/2 is set per server block, so check each one, not just the first.
My server says nginx 1.24.0. Am I vulnerable?
It depends on where it came from. nginx's own 1.24.0 is in the affected range. Ubuntu's patched 24.04 package is also numbered 1.24.0 (1.24.0-2ubuntu7.20), so check apt policy nginx against Ubuntu's notice before you conclude anything.
Does nginx:stable in my Dockerfile protect me?
Only after you rebuild and redeploy. Docker Hub moved stable to the fixed 1.30.7 build on 19 November 2026, but a moving tag is resolved when the image is built. A container built before then still runs the old nginx.
Do these flaws affect Apache, Caddy or other web servers?
No. CVE-2026-123007 and CVE-2026-123633 are bugs in nginx's own HTTP/2 code. Other servers have their own code and their own advisories. Products built on nginx, such as OpenResty or NGINX Plus, need their own fixed releases.
What is NGINX2Root?
It's the name Xint and Cycode give these flaws. Cycode's write-up covers CVE-2026-123007 and four more nginx CVEs fixed in the same release, so the checks above apply.
Based on nginx.org's security advisories, Wiz's and Cycode's reports of 18 November 2026, Ubuntu's notice of 18 November, and Debian's tracker and Docker Hub as read on 19 November 2026. Distribution fix status changes daily: check your distribution's tracker before relying on the table above.