A web server under a magnifying glass with warning markers on HTTP/2 traffic, illustrating the NGINX remote code execution flaws

Two unauthenticated remote code execution flaws in NGINX score 9.2 out of 10, and either one can hand an attacker control of your server without a login. Both live in NGINX's HTTP/2 handling, and both were fixed on November 18, 2026. If your server runs NGINX with HTTP/2 enabled, patch it to 1.30.7 or 1.31.9 — or turn HTTP/2 off until you can.

The flaws are CVE-2026-123007 and CVE-2026-123633. Five independent research teams found them, and Wiz Research published the coordinated disclosure alongside F5's security release. The story drew more than 1,300 points on Hacker News within a day, which tells you how seriously the developer community is taking it.

This post explains what each flaw does, how to tell whether you are affected, and exactly how to patch — plus the stopgap if you cannot upgrade today.

What Are the Two NGINX HTTP/2 Flaws?

Both are memory-safety bugs in how NGINX handles HTTP/2 traffic. Neither needs an account, a password, or a bug in your own application code. The flaws sit in NGINX itself, so a site with perfectly secure code can still be exposed.

CVE The bug Affected versions Who is exposed
CVE-2026-123007 Integer underflow in HTTP/2 flow control 1.9.5 – 1.31.8 Any server with HTTP/2 on, even one serving only static files
CVE-2026-123633 Use-after-free in HTTP/2 connections 1.19.7 – 1.31.8 Servers using HTTP/2 as a reverse proxy, when connection slots run low

CVE-2026-123007 is the broader of the two. NGINX tracks how much response data it may still send in a counter called the send window. When a stream is cancelled while data is still queued, NGINX returns the unused allowance — but the accounting can go wrong, and the counter underflows. The corrupted length then flows into a memory copy, which an attacker can steer into code execution.

Wiz demonstrated remote code execution with this flaw on NGINX serving ordinary static files over HTTPS, with no backend application and no third-party modules. That matters because it removes the usual excuse: you cannot argue your setup is safe because your app is simple.

CVE-2026-123633 is subtler. NGINX keeps a list of connections it may close when it needs room for new ones. An HTTP/2 connection joins that list when it has no active requests, and must leave it when a request starts. The bug is that it does not leave: a partially received request frame marks the connection reusable, and creating the request stream never removes it from the list.

When free connection slots run low, NGINX drains reusable connections to make room. It can then close and free a connection that is still processing a request. The request code keeps using the freed memory, and an attacker who controls what lands there can turn the use-after-free into code execution.

One detail makes both flaws worse: ordinary memory protections do not stop them. An attacker can use either flaw to read memory first, which defeats address space layout randomization (ASLR) before moving on to code execution.

Am I Affected? How to Check in 30 Seconds

You are affected only if two things are true: your NGINX version is in the affected range, and HTTP/2 is enabled on at least one listener. Check the version first.

nginx -v
# nginx version: nginx/1.28.0

# Check whether HTTP/2 is enabled anywhere
grep -r "http2" /etc/nginx/
grep -r "listen.*http2" /etc/nginx/  # older syntax, still common

If nginx -v prints 1.30.7, 1.31.9, or newer, you already have the fix. Anything from 1.9.5 up to 1.31.8 is vulnerable to at least one of the two flaws, provided HTTP/2 is on. If HTTP/2 is off everywhere, neither flaw is reachable — though you should still upgrade, because the same release fixes eight more vulnerabilities.

Also check the servers behind your load balancer, not just the one in front. NGINX often fronts several applications, so one affected deployment can put every site and API behind it at risk. Containers and staging hosts count too: check the NGINX version inside each image, not just the host.

If you run NGINX through a managed host or a platform-as-a-service provider, you may not control the version at all. In that case, ask your provider directly whether they have applied the November 18 security release — and ask for the version number, not a vague reassurance.

How to Patch NGINX

Upgrade to a fixed release. For NGINX Open Source, that is 1.30.7 on the stable branch or 1.31.9 on the mainline branch. Both fix both CVEs. NGINX Plus users need R33 builds: 37.0.7.1 or 37.2.0.1 for CVE-2026-123633, and 37.0.8.1 or 37.3.0.1 for CVE-2026-123007.

# Debian / Ubuntu
sudo apt update && sudo apt install nginx
nginx -v   # confirm 1.30.7 or newer

# RHEL / Rocky / AlmaLinux
sudo dnf update nginx
nginx -v

# Reload without dropping connections
sudo nginx -t && sudo systemctl reload nginx

Always run nginx -t before reloading so a configuration error does not take the server down. A reload swaps in the new binary's workers without dropping existing connections, which is the safe way to patch a live server.

For Docker deployments, rebuild the image from a fixed base tag and redeploy. Pin the tag — nginx:1.30.7 rather than nginx:latest — so the next rebuild does not silently move you again. Then confirm the running container reports the fixed version.

docker exec your-nginx-container nginx -v
# nginx version: nginx/1.30.7

Patch the internet-facing servers first, then work inward. Anything reachable from the public internet is the priority; internal-only servers can follow in the same maintenance window. If you use NGINX as a mail proxy or with HTTP/3, patch those deployments too — the same release fixes critical flaws there as well.

Can't Patch Yet? Disable HTTP/2 as a Stopgap

If testing or a change freeze blocks the upgrade, disabling HTTP/2 removes the attack surface entirely. Both flaws need HTTP/2, so turning it off buys you time. This is the mitigation Wiz and F5 both recommend when an immediate upgrade is not possible.

# In each affected server block (NGINX 1.25.1+)
server {
    listen 443 ssl;
    http2 off;
    # ...
}

# Remove "http2" from any listen directives, then:
sudo nginx -t && sudo systemctl reload nginx

Disabling HTTP/2 has a real cost: browsers fall back to HTTP/1.1, which is slower for pages that load many resources. That is a fair trade for a few days while you test the patch, but it is not a permanent fix. Re-enable HTTP/2 right after upgrading.

One warning: disabling HTTP/2 only helps if you do it on every affected listener. A single server block left with HTTP/2 on keeps the whole host exposed. Grep the configuration after the change and confirm nothing still enables it.

What Else Did the November 18 Release Fix?

The two HTTP/2 flaws headline the release, but F5 fixed eight more vulnerabilities in the same package. Three of them also score 9.2, so they deserve the same urgency if your configuration matches.

CVE What it is CVSS 4.0 When it applies
CVE-2026-121810 Use-after-free in HTTP/3 9.2 HTTP/3 configured as a proxy
CVE-2026-123634 Use-after-free in the DNS resolver 9.2 Attacker controls the upstream hostname
CVE-2026-113425 Use-after-free in the mail proxy 9.2 Mail proxy with auth_http
CVE-2026-118899 Infinite loop reading request body 8.7 TLS 1.3 enabled
CVE-2026-120993 NULL pointer dereference 6.9 proxy_protocol v2 in use
CVE-2026-125283 Buffer overflow, alias with try_files 6.9 Uncommon nginx.conf pattern
CVE-2026-123640 Weak validation in stream ssl_preread 6.9 ssl_preread enabled
CVE-2026-120967 Client certificate bypass 6.3 Specific SNI configurations

The HTTP/3 flaw is the one most likely to catch people who only checked HTTP/2. If you enabled HTTP/3, the same upgrade covers it — but the HTTP/2 stopgap does not. The DNS resolver flaw matters if your upstreams use hostnames an attacker could influence. The mail proxy flaw only applies if NGINX proxies mail, which is a smaller population.

The full list lives in the NGINX security advisories. If your setup uses any of these features, treat the release as urgent rather than routine.

NGINX vs Apache: Which Web Server Should You Pick?

A flaw this big always restarts the NGINX-versus-Apache question, so here is the honest answer: neither server is categorically safer. Apache had its own critical remote code execution flaw earlier this month — see Apache's own RCE flaw from earlier this month — and both projects patch quickly when flaws surface.

Pick on architecture, not on this week's CVE. NGINX's event-driven model handles many concurrent connections with little memory, which suits reverse proxies and high-traffic static serving. Apache's process-based model with .htaccess support suits shared hosting and setups where per-directory configuration matters. Most teams choose the one their stack already knows.

What actually protects you is patching discipline. Both servers had critical flaws within weeks of each other in November 2026. The teams that stayed safe were the ones with a tested upgrade path, not the ones who picked the "safer" server.

How Five Teams Found the Same Flaws Independently

Wiz Research, Ikotas Labs, Metnir, Rapid7, and Xint each found these flaws on their own and reported them to F5. Wiz reported the use-after-free on October 21, received a patch for review on November 10, reported the second flaw on November 16, and both shipped in the November 18 release.

Wiz credits its Atlas harness — the engine behind its AI code-scanning product — with surfacing both bugs, and says its researchers used Gemini 4 Carbon and ChatGPT 5.6 Sol to confirm each one could become unauthenticated code execution. The pattern is becoming familiar: the same AI-assisted discovery recently exposed flaws in PHP and Java tooling that had sat in code for years.

That has a practical consequence for defenders. Flaws that once hid for a decade can now surface in parallel, from several teams at once. The window between disclosure and exploitation keeps shrinking, so the speed of your patching process matters more than it used to. A tested, repeatable upgrade path is now a security control, not just good hygiene.

Wiz is not releasing its exploit code. No exploitation in the wild had been reported at the time of disclosure, according to the Wiz Research disclosure. That is good news, but it is temporary: with five teams holding the details and the fix public, working exploits are a matter of time, not possibility.

What to Watch After Patching

Patching closes the hole; monitoring tells you whether anyone got in before you patched. Look for unexpected NGINX worker crashes in the days around the disclosure, and for commands launched by the NGINX worker process — neither is proof of exploitation on its own, but both are worth investigating.

Check your access logs for unusual HTTP/2 request patterns, especially incomplete HEADERS frames and streams cancelled mid-response. Those are the shapes the two flaws abuse. If your logs show worker crashes correlated with strange requests, treat the host as potentially compromised and investigate before assuming the patch was enough.

Finally, record what you patched and when. If a later disclosure ties exploitation to this window, you will want to know exactly which servers were exposed and for how long.

The November 2026 patch wave — from PostgreSQL's November patch run to this NGINX release — is a reminder that patching is now a weekly discipline, not a quarterly chore. The same month also saw a supply-chain attack that turned a trusted script into malware, so the lesson applies well beyond one web server.

Frequently Asked Questions

Am I affected if I don't use HTTP/2?

No — both CVE-2026-123007 and CVE-2026-123633 require HTTP/2 to be enabled. But you should still upgrade: the same release fixes eight more vulnerabilities, including a critical HTTP/3 flaw and a DNS resolver flaw that do not need HTTP/2.

Is there exploitation in the wild yet?

Not that had been reported at disclosure on November 18. Wiz is not releasing its exploits. But five research teams hold the details, the fix is public, and the flaws are straightforward to understand — so treat the safe window as days, not weeks.

Should I disable HTTP/2 or patch?

Patch. Disabling HTTP/2 is a stopgap for when an upgrade genuinely cannot happen today. It costs performance and only covers the two HTTP/2 flaws, while the upgrade fixes all ten vulnerabilities in the release.

Is NGINX still safe to use?

Yes, once patched. Every major web server has critical flaws from time to time — Apache had one the same month. What matters is how fast you apply fixes. A patched NGINX 1.30.7 is as safe a choice as it was before this disclosure.

How do I check my NGINX version?

Run nginx -v on the server, or inside the container with docker exec <container> nginx -v. Version 1.30.7, 1.31.9, or newer includes the fix. Anything from 1.9.5 to 1.31.8 with HTTP/2 enabled is vulnerable to at least one of the two flaws.