
The new NGINX vulnerability pair, CVE-2026-123007 and CVE-2026-123633, lets an attacker who has never logged in crash or take over an NGINX server that has HTTP/2 turned on. Both are rated 9.2 (Critical). The fix is NGINX 1.30.7 or 1.31.9, followed by a full restart, and if you cannot upgrade today, turning HTTP/2 off closes the hole until you can.
I'm John Molina, and I run CodeCraft Studios. The advisory landed in my inbox on November 20 as a warning from a hosting provider we used to be on. Before I wrote a word of this I checked every system we run for clients. Below is what the bugs are, who is really exposed, the exact commands to check your own servers, and what we found on ours.
What Happened
On November 18, 2026, F5 shipped NGINX 1.30.7 (stable) and 1.31.9 (mainline) and published advisories for a batch of memory safety bugs. Red Hat grouped the worst of them under the name NGINX2Root in its security bulletin RHSB-2026-019, and some researchers call the pair NGINX2Shell. The two that matter for almost every website are in the HTTP/2 code.
- October 21: Wiz Research reports the use-after-free to F5, which says another team already reported it.
- November 16: Wiz reports the flow control bug. Rapid7 found it independently.
- November 18: F5 releases the fixes and the bugs go public.
- November 19 and 20: hosting providers start emailing customers, and Linux distributions start rebuilding their packages.
NGINX sits in front of a huge share of the web. Wiz's write-up puts it at more than 225 million websites. It's the reverse proxy, the load balancer and the static file server behind countless WordPress, Laravel, Node and Django sites, so a bug in NGINX itself skips past whatever your app is built with.
The Two Vulnerabilities At A Glance
| CVE-2026-123007 | CVE-2026-123633 | |
|---|---|---|
| Type | HTTP/2 flow control overflow (memory corruption) | HTTP/2 use-after-free |
| CVSS v4 | 9.2 Critical | 9.2 Critical |
| Vulnerable NGINX Open Source | 1.9.5 through 1.31.8 (since 2015) | 1.19.7 through 1.31.8 |
| Needs HTTP/2 on | Yes | Yes |
| Static file servers exposed | Yes | No, needs proxying to a backend |
| Fixed in | 1.30.7 and 1.31.9 | 1.30.7 and 1.31.9 |
| F5 advisory | K000163926 | K000163928 |
One honest note on severity. The official nginx.org security advisories page labels these "major" and "medium", while the CVSS scores and Red Hat say Critical. Both are true. The bugs are hard to exploit, but the payoff for an attacker is running code on your server, so treat them as Critical.
CVE-2026-123007: The Flow Control Overflow
HTTP/2 lets a browser tell the server how much data it's ready to receive. NGINX keeps a running count of that allowance. When a request is cancelled with data still waiting to go out, NGINX hands the unused allowance back to the count without checking the protocol limit.
An attacker can push that count past its maximum, at which point the number wraps around. Later NGINX reads it as a negative length and copies memory where it should not. Rapid7's analysis shows it turning into code execution as the NGINX worker user.
Two details matter for real-world risk:
- It does not need an app behind NGINX. A server that only hands out ordinary static files over HTTPS is exposed. That's why hosting providers are warning everyone, including people running a plain static site.
- It takes effort. Rapid7's demo needed roughly 128 GB of HTTP/2 traffic and a specific CPU and memory setup. It took about 2.5 minutes on a fast link. On connections slower than about 300 Mbit/s it would not finish inside NGINX's default one hour connection lifetime. Hard is not the same as impossible, and attackers get better at this fast.
CVE-2026-123633: The Use-After-Free
This one hits NGINX when it acts as a reverse proxy, which is the most common setup: NGINX in front, your WordPress, Laravel, Node or Python app behind it. An attacker sends half of a request header, waits, then sends the rest. NGINX has already marked that connection as free to recycle.
When the server runs low on connection slots, it closes the recycled connection while the request on it is still alive. The request then uses memory that has already been freed, which can crash the worker or, with more work, run the attacker's code.
Wiz confirmed code execution in the lab against official builds, including a way around ASLR (the memory randomisation that usually makes these attacks harder). Nobody has published a working exploit, and as of today neither CVE is in the CISA Known Exploited Vulnerabilities catalog. That's the window to patch in.
The Technical Deep Dive: Frame By Frame
If you run servers, here's what actually happens on the wire. HTTP/2 splits every connection into numbered streams and moves data in typed frames: HEADERS, CONTINUATION, DATA, SETTINGS, WINDOW_UPDATE, RST_STREAM and GOAWAY. Both bugs come from the bookkeeping NGINX does around those frames.
CVE-2026-123007: how a refund becomes a negative length
HTTP/2 flow control works on credit. The client grants the server a send window per stream and one for the whole connection (stream 0), and RFC 9113 caps every window at 231 minus 1 bytes. NGINX stores the connection credit in h2c->send_window. The attack, as Rapid7 and Wiz describe it, goes like this:
- Raise the credit. The client sends
WINDOW_UPDATEframes on stream 0 until the connection window sits close to the maximum. - Queue data, then cancel it. The client requests a response, lets NGINX queue
DATAframes, then cancels the stream withRST_STREAM. Inngx_http_v2_filter_cleanup()NGINX gives the unsent bytes back tosend_windowwith no ceiling check, so the counter now sits above 231 minus 1. - Wrap the bounds check. The next
WINDOW_UPDATEcheck subtracts in unsigned arithmetic. Because the counter is already over the limit, the subtraction wraps to a huge positive number and the check waves the update through. Repeat and the counter climbs to any value the attacker wants. - Turn it into a copy. Later that value is converted to a signed length on the TLS send path, comes out negative, and drives an oversized
memcpy. That gives out-of-bounds reads (leak memory, defeat ASLR) and writes (take control) inside the worker.
/* Simplified illustration of the bug class. Not NGINX source. */
#define MAX_WINDOW 0x7fffffff /* 2^31-1 */
/* RST_STREAM cleanup: unsent bytes go back, nobody checks the cap */
h2c->send_window += unsent; /* can now exceed MAX_WINDOW */
/* WINDOW_UPDATE check, done in unsigned math */
if (window_increment > (size_t) MAX_WINDOW-h2c->send_window) {
/* should reject, but the subtraction wrapped to a huge value */
}
h2c->send_window += window_increment; /* attacker steers the counter */
/* later: counter read as a signed length, goes negative, oversized copy */The upstream fix (commit e27f5fa84fe) tracks the bytes already queued and counts them when checking WINDOW_UPDATE, so the counter can't pass the cap any more. The demo needed about 128 GB of traffic because the window only moves in bounded steps, which is why it suits a fast, patient attacker on a long-lived connection.
CVE-2026-123633: a connection freed while it's still in use
Under load, NGINX recycles idle connections. When worker_connections runs low it walks the reusable connection list and closes the oldest entries to make room. An HTTP/2 connection with no live streams sits on that list. Here's the race Wiz described:
- The client opens a connection and sends only part of a
HEADERSframe. With no complete stream yet, the connection stays marked as reusable. - The client sends the rest of the frame. A stream is created and the request starts proxying to the backend, but the connection is never taken off the reusable list.
- The attacker opens enough other connections to push the worker close to its limit. NGINX picks the "idle" connection to reclaim.
- NGINX tries to send
GOAWAY. If that fails (for example because the frame limit is hit), the error path finalises the connection and frees its memory pool while the proxied request still points into it. - When the upstream answers, the request writes into freed memory. With heap grooming, the attacker decides what was placed there.
That's why this CVE needs proxying (the request has to outlive the reclaim) and why static file servers miss it. The fix takes the connection off the reusable list as soon as a stream exists.
Why a proxy in front breaks both attacks
HTTP/2 is hop by hop. Frames, windows and stream IDs belong to a single TCP connection. A CDN or load balancer that terminates HTTP/2 rebuilds each request from scratch on its own connection to the origin. The attacker's carefully timed WINDOW_UPDATE floods, half-sent HEADERS frames and RST_STREAM cancels never reach the origin in the shape they were sent. Rapid7 says as much: proxied HTTP/2 connections are unlikely to relay the attacker's frames in a usable way. If the hop to the origin is HTTP/1.1, the vulnerable code never runs at all.
Who Is Affected By The NGINX Vulnerability
You are in scope if NGINX with HTTP/2 enabled faces traffic you don't control. In practice that includes:
- A VPS or cloud server where you installed NGINX yourself, including one click images that bundle it.
- Docker images built on the official
nginximage, or any image that adds NGINX as a front proxy. - Kubernetes clusters using the community ingress-nginx controller. HTTP/2 is on by default there, and the Kubernetes project retired ingress-nginx in March 2026, so no patched release is coming. Turn HTTP/2 off in its ConfigMap now and plan a move to a maintained controller.
- Control panels and hosting stacks that use NGINX under the hood.
- NGINX Plus. Fixed in 37.0.8.1 and 37.3.0.1. Older R34 to R36 releases get no fix.
You are probably not directly exposed if:
- NGINX only speaks HTTP/1.1. No HTTP/2, no bug.
- Your site runs on a fully managed platform where you never touch the web server. Check your provider's status page anyway.
- A CDN or load balancer ends the HTTP/2 connection and talks plain HTTP/1.1 to your NGINX. Wiz says this partly protects you, because the attacker's HTTP/2 frames never reach NGINX. That only holds if NGINX can't be reached directly by its own IP address.
How To Check Your Servers
1. Find the version
nginx -v
# Docker
docker exec <container> nginx -vAnything from 1.9.5 up to 1.30.6, or 1.31.0 up to 1.31.8, is vulnerable unless your distribution backported the fix. Distros often fix bugs without changing the version number, so check the package changelog for the CVE IDs:
# Ubuntu and Debian (0 means not fixed yet)
apt changelog nginx 2>/dev/null | grep -cE "CVE-2026-(123007|123633)"
# RHEL, Rocky, Amazon Linux
rpm -q --changelog nginx | grep -E "CVE-2026-(123007|123633)"2. Check whether HTTP/2 is really on
sudo nginx -T 2>&1 | sed "s/#.*//" | grep -nE "listen.*http2|^\s*http2\s+on;"
openssl s_client -connect YOUR_DOMAIN:443 -alpn h2 </dev/null 2>&1 | grep "ALPN"If OpenSSL prints ALPN protocol: h2, the thing answering on that address speaks HTTP/2. If that thing is your NGINX and not a CDN, you're exposed. The sed strips comments so a commented out line does not fool you, a tip from the Computing for Geeks walkthrough.
3. Find the NGINX you forgot about
The dangerous copy is the one nobody remembers: the staging box, the old marketing site, the sidecar container in a Docker Compose file, the client portal someone set up three years ago. List every public IP you own and run the ALPN check against each one.
How To Patch
- Upgrade to NGINX 1.30.7 or 1.31.9 from nginx.org, or to your distribution's patched package once it ships. As of November 18 most distro packages and the official Docker images were still pending, so check again daily.
- Restart, don't reload.
systemctl reload nginxkeeps the old master process running the old binary. Usesystemctl restart nginx, then confirm the process start time is newer than the upgrade withps -o pid,lstart,cmd -C nginx. - Rebuild your containers. Pull the patched base image, rebuild and redeploy. A running container never patches itself.
If You Can't Patch Today: Turn Off HTTP/2
Both bugs live only in the HTTP/2 code, so switching it off closes them. On NGINX 1.25.1 and newer, set this in each affected server block and remove http2 from your listen lines:
server {
listen 443 ssl;
http2 off;
...
}On older versions, just remove http2 from the listen directive. Then run nginx -t, reload, and make sure the old workers have exited. The directive is documented in the ngx_http_v2_module reference.
The trade-off is speed. HTTP/2 loads pages faster, and a slower site loses sales, as I covered in how a slow website is killing your sales. A few days on HTTP/1.1 is a far better deal than a compromised server. If anything you run uses gRPC, it needs HTTP/2, so patch that host first. Turn HTTP/2 back on the moment you've upgraded.
What To Watch In Your Logs
- Worker crashes. Lines like
worker process exited on signal 11in the NGINX error log. One is noise. A pattern from the same IPs is a red flag. - Very long HTTP/2 connections moving huge amounts of data, the pattern Wiz flags for CVE-2026-123007.
- Anything NGINX should never do: new processes started by the nginx user, unexpected outbound connections, new files in web roots.
If you see any of that on an unpatched server, assume the worst. Rotate secrets and keys on that box and rebuild it from a clean image instead of cleaning it in place.
Our Clients, Protected As Always
Short version: no CodeCraft Studios client was exposed to either CVE, and nobody had to do anything. That isn't luck. It's how we build. Every client site runs on Next.js with Django and PostgreSQL behind it, on our own AWS platform, and the request path was designed so a bug like this has nowhere to land.
The request path, hop by hop
- Browser to edge. Visitors connect to Cloudflare, or to Amazon CloudFront for images and files. That's where TLS and HTTP/2 end. Neither runs NGINX.
- Edge to load balancer. Cloudflare opens its own fresh connection to an AWS Application Load Balancer. The ALB is AWS's own proxy, not NGINX, and it ends that connection too.
- Load balancer to app. Every target group is set to protocol version
HTTP1. The hop into our containers is plain HTTP/1.1, so the HTTP/2 frame parser where both bugs live is never in the path. - The app itself. The containers run gunicorn or Daphne for Django and the Node server for Next.js. There's no NGINX binary in any image we build.
- The network around it. App containers sit in private subnets with no public IP, and their security groups only accept traffic from the load balancer. Nobody can find an origin IP and skip the layers above.
How we checked, on November 20
I didn't take the architecture diagram's word for it. When the advisory arrived we checked the live systems:
# 1. What answers on the public edge?
curl -sI https://codecraftstudios.net | grep -iE "^(server|via):"
# 2. Which protocol do the load balancers speak to the apps?
aws elbv2 describe-target-groups \
--query "TargetGroups[].ProtocolVersion" --output text | tr '\t' '\n' | sort | uniq -c
# 3. What images are actually running? Any nginx?
aws ecs describe-tasks --cluster <cluster> --tasks <task-arns> \
--query "tasks[].containers[].image" --output text | grep -ci nginx
# 4. Can any container be reached directly?
aws ec2 describe-network-interfaces --network-interface-ids <task-enis> \
--query "NetworkInterfaces[?Association.PublicIp!=null]" --output textResults: the edge answers as Cloudflare, CloudFront or our own app servers, never NGINX. Every target group reported HTTP1. None of our own service images contain NGINX. Zero app containers have a public IP. Our two small utility servers (a locked down admin jump box and a NAT gateway) accept no inbound web traffic at all.
Even the apps we don't write are covered
We also host apps that clients and partners deploy from their own GitHub repos. We can't control what's inside those containers, and some could ship NGINX. It doesn't matter for this bug: they sit behind the same load balancer, which speaks HTTP/1.1 to them, with no public IP. An attacker's HTTP/2 frames die at the edge. We'll still tell those owners to update, because defense in depth means fixing the inner layer too.
Why it stays that way
- Fewer moving parts. Every server we don't run is a CVE we never have to patch.
- Immutable images. Apps ship as container images rebuilt on patched base images, so a fix rolls out as a normal deploy, not an SSH session at 2 am.
- Someone reads the advisories. I read the bulletin, checked our systems and wrote this the same day.
None of this makes Python or JavaScript immune to bugs. We wrote up the last big one in our React2Shell breakdown, and a month ago it was PHP's turn with the PHP2Shell flaw. What protects a site is a small modern stack, hosting that rebuilds on patched images, and someone who reads advisories the day they land. If your current site is overdue for that, our website redesign checklist covers moving without losing rankings.
The Business Side: Breach Costs And Cyber Insurance
A remote code execution bug in your web server is exactly the kind of incident cyber insurance is built for: forensics, breach notification, downtime and liability. It's also what insurers look at hardest after a claim. Many policies expect known critical flaws to be patched within a set time, and a breach through a well publicised, unpatched bug is harder to get paid on.
- Know your policy. Read the patching obligations and exclusions now, not after an incident. RhoneRisk will analyze your current policy.
- Cover the website risk directly with cyber liability coverage and data breach coverage.
Frequently Asked Questions
Is my WordPress site affected?
Only if NGINX with HTTP/2 serves it. Many WordPress hosts use NGINX in front of PHP. Ask your host, or run the ALPN check above against your server's IP. Plugins and themes have nothing to do with this one.
Is it being exploited right now?
No confirmed attacks as of November 20, 2026, and no public exploit code. Researchers have proved code execution in the lab, so expect that to change.
Does Cloudflare protect me?
Partly. Cloudflare ends the HTTP/2 connection itself, so attacks through it don't reach your NGINX as HTTP/2. If your server's real IP is public and accepts HTTP/2 directly, an attacker can skip Cloudflare entirely. Lock the origin to Cloudflare's IP ranges and patch anyway.
Are Node.js, Python or Django sites affected?
Not by the app code. But plenty of Node and Django deployments put NGINX in front, and that NGINX is the part to check.
I patched. Do I need to do anything else?
Restart rather than reload, rebuild containers, turn HTTP/2 back on if you disabled it, and check the logs above for the days before you patched.
Need Help With Your Servers?
If you're not sure what your site runs on, or you'd rather someone else checked every server, patched it and confirmed it's clean, that's what we do. My team handles web development, custom software and API development with security work built in, and we'll audit an existing stack even if we didn't build it. You can run a quick health check with our free website test tool, or book a call with me and we'll go through it together. For anything urgent, send us the details and I'll get back to you fast.
John Molina
CodeCraft Studios
Sources And Further Reading
Need This Done For Your Business?
We build websites, apps and search campaigns for businesses across Florida and the US. Tell us what you need and get a fixed quote.





