<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap" rel="stylesheet"/>

Nginx Unauthenticated RCE: Inside the NGINX2Root Flaw Chain

By Mihir Pipermitwala · 11 min read

⚡ TL;DR

Two HTTP/2 bugs (CVE-2026-123633, CVE-2026-123007) give unauthenticated nginx RCE, and 5 flaws chain to root. Here is what to patch and check today.

Nginx Unauthenticated RCE: Inside the NGINX2Root Flaw Chain

On November 18, 2026, Wiz disclosed two unauthenticated remote code execution bugs in nginx’s HTTP/2 handling: CVE-2026-123633 and CVE-2026-123007. Both scored 9.2 on the CVSS 4.0 scale, both need no credentials, and one of them works against a server that does nothing more than serve static files over HTTPS. Days later, Xint published follow-up research under the name NGINX2Root: five independent RCE bugs, plus a Linux kernel privilege escalation that turns any of them into root, even from inside a Docker container.

Nginx powers more than 225 million websites (Wiz, November 2026), so this is worth fifteen minutes of your day. Here’s what’s affected, how the chain works, what to run right now to check exposure, and what to do about it.

TL;DR

  • CVE-2026-123633 (use-after-free, HTTP/2 reverse proxying) affects nginx 1.19.7 through 1.31.8. CVE-2026-123007 (integer underflow in HTTP/2 flow control) affects 1.9.5 through 1.31.8, meaning it has been exploitable for over a decade (Wiz, November 2026).
  • NGINX2Root chains five critical nginx bugs with a Linux kernel SCTP bug (present since kernel 4.15 in 2018) to get root, including container escape to the host kernel (Xint, November 2026).
  • Everything is fixed in nginx 1.31.9 mainline and 1.30.7 stable; NGINX Plus also has patched builds (Wiz, November 2026).
  • Disabling HTTP/2 (http2 off;) blocks the two headline bugs but not the other three in the chain, so patching is the real fix.

Server racks and network cables in a data center, representing exposed nginx infrastructure

Contents

What Exactly Are the Two Wiz-Disclosed HTTP/2 Bugs?

CVE-2026-123633 is a use-after-free in HTTP/2 connection handling, and it requires nginx configured as a reverse proxy. The mechanics, simplified from Wiz’s writeup: a client sends a HEADERS frame in pieces. Nginx marks the connection reusable while the frame is incomplete, and when the frame finishes, the connection never gets removed from that reusable list. Later, when free connection slots run low, nginx may close that connection mid-request. The failed GOAWAY send trips an error path that frees the connection’s memory while the request is still using it. That’s a textbook use-after-free, reachable by an unauthenticated client.

CVE-2026-123007 is nastier in a boring way. It’s an integer underflow in HTTP/2 flow control. When a client cancels a stream, nginx refunds its unused send-window credit without checking the HTTP/2 maximum, which pushes the connection’s send window past its 31-bit limit. The next bounds check does unsigned subtraction, wraps around, and produces a giant value that eventually becomes a negative length. The oversized copy runs through the TLS send path and writes out of bounds. Because this lives in core HTTP/2 flow control, it hits servers serving plain static files over HTTPS on 64-bit systems. No backend, no modules, no special config (Wiz, November 2026).

Two details make both bugs serious. First, they’re unauthenticated; anyone who can open a connection can try. Second, ASLR and other memory-safety mitigations don’t save you, because the attacker gains memory-read primitives before going for code execution. Wiz built working proofs of concept, including an ASLR bypass against official 1.31.7 and 1.31.8 builds, and is not releasing them. That’s restraint, not a guarantee someone else won’t replicate the work.

How Does the NGINX2Root Chain Reach Root?

The Xint research (Xint, November 2026) broadens the picture considerably. Instead of two bugs, there are five, and each one is an independent unauthenticated RCE path on its own:

CVERequired configFirst affected releaseBlocked by disabling HTTP/2?
CVE-2026-123007HTTP/2 enabled1.9.5Yes
CVE-2026-123633HTTP/2 with upstream proxying1.19.7Yes
CVE-2026-123634resolver + variable proxy_pass + mirror1.13.4No
CVE-2026-121810HTTP/3 with upstream proxying1.25.0No
CVE-2026-113425Mail proxy with proxy on + auth_http0.5.15No

Three of the five are use-after-free bugs (resolver wait list, HTTP/2 connection draining, QUIC stream creation), one is the flow-control underflow, and one is the mail proxy flaw. None require chaining with each other.

The escalation step is a separate zero-day in the Linux kernel’s SCTP send path, present since kernel 4.15 in 2018. A use-after-free or double-free during association transfer between sockets yields a KASLR-defeating memory disclosure plus an arbitrary kernel function call. That’s reliable root. And because containers share the host kernel, a compromised nginx worker inside Docker can pivot to rooting the host (Xint, November 2026). That’s the part that should get every Kubernetes operator’s attention.

The chain also explains the name. Any single nginx RCE, plus the kernel bug, equals NGINX2Root.

Who Is Affected?

Per the sources, you’re exposed to the two headline bugs when all of these hold: an unpatched nginx version in the affected ranges, the HTTP/2 module compiled in, HTTP/2 actually enabled, and the server externally reachable. Xint estimated that roughly 98.9% of version-identified nginx hosts on Shodan fell in the affected range for CVE-2026-123007 (Xint, November 2026).

Two caveats worth stating plainly. Distro backports can make nginx -v lie to you; a patched upstream release backported by your distro may still report an old version string, so check full package versions against your vendor’s security advisories. And I haven’t seen an authoritative list of every downstream vendor (Alpine, official Docker images, cloud LBs that proxy to nginx) confirming patched builds, so treat vendor specifics as “verify yourself” rather than gospel.

How Do You Check Your Exposure?

Run these on every host running nginx. They take minutes.

1. Version and build flags:

Copy
nginx -V 2>&1 | head -5
# Confirms version and whether http2/h3 modules are compiled in.
# Remember: distro backports can make this misleading. Cross-check
# your package manager's version against vendor advisories.
dpkg -l | grep nginx   # Debian/Ubuntu
rpm -qa | grep nginx   # RHEL-family

2. Is HTTP/2 enabled in your config?

Copy
nginx -T 2>/dev/null | grep -n "http2\|http3\|listen"
# Look for `http2 on;` or `listen 443 ssl http2;` and any
# `http3`/QUIC listeners, plus `proxy_pass` with variables
# and `mirror` directives (the CVE-2026-123634 combo).

3. Does the server actually negotiate HTTP/2?

Copy
openssl s_client -alpn h2 -connect your-server:443 </dev/null 2>/dev/null \
  | grep ALPN
# "ALPN protocol: h2" means HTTP/2 is live on that listener.

4. Is the SCTP kernel module loadable (the root-escalation leg)?

Copy
cat /proc/modules | grep sctp
lsmod | grep sctp

5. Signs of exploitation to hunt for (per Wiz and Xint): nginx worker crashes, any execve launched by the nginx worker user (wire an auditd rule on that UID), long-lived HTTP/2 connections sending lots of WINDOW_UPDATE frames, and sustained high inbound bytes on 443 with little outbound data or gaps between received bytes and logged request lengths.

Which Mitigations Actually Work?

Patching is the fix; everything else is a stopgap with coverage gaps. Where each option stands:

ActionEffortCoverage
Upgrade to nginx 1.31.9 / 1.30.7 stable (or NGINX Plus patched builds)Low, with a restartAll five nginx CVEs
Restart nginx after upgrade (not just reload)TrivialCloses lingering old-worker connections (Xint, November 2026)
Set http2 off; and remove the http2 listen parameter, reloadLowBlocks CVE-2026-123007 and CVE-2026-123633 only
Disable HTTP/3/QUIC listeners (http3 off;, Alt-Svc 'clear')LowRemoves the CVE-2026-121810 path
Replace variable proxy_pass with fixed upstream groups; disable mirrorMediumRemoves the CVE-2026-123634 path
Restrict mail proxy listeners to loopback or trusted IPsLow (if you use it)Removes the CVE-2026-113425 path
Block SCTP module loading: install sctp /bin/false in /etc/modprobe.d/LowBreaks the kernel root-escalation leg
CDN/WAF that terminates HTTP/2 in frontLowMay partially reduce exploitability; implementation-dependent (Wiz, November 2026), don’t rely on it

One practical note on sequencing: if you can only do one thing today, upgrade and do a full restart. If upgrade needs a change window, do http2 off; plus the SCTP block now, then re-enable HTTP/2 once you’re on a fixed release.

If you’re auditing the broader attack surface of things nginx proxies to, my earlier pieces on auditing AI-generated PHP for RCE vulnerabilities and treating prompt injection like SQL injection in AI agents cover the same lesson from different angles: one memory-safe boundary isn’t a security strategy.

How Urgent Is This, Really?

  1. If you run nginx with HTTP/2 enabled and it’s internet-facing: patch today. Two independent unauthenticated RCEs at CVSS 9.2, with working PoCs demonstrated and over a decade of exposure window for CVE-2026-123007, is the definition of patch-now. Neither Wiz nor Xint is publishing exploits, but disclosure attracts replication.
  2. If you can’t patch immediately: turn off HTTP/2 and block SCTP loading, then upgrade within the week. That’s mitigations for the two headline bugs and the root leg. It’s partial, and the other three CVEs remain, so this is a bridge, not a destination.
  3. If you run nginx only internally behind an HTTP/1.1 load balancer, your urgency drops, but your homework doesn’t. Verify with the ALPN handshake above, confirm your actual package version (backports), and still plan the 1.31.9 upgrade.
  4. Container operators: patch the app image and check the host kernel. The SCTP bug means container escape is in scope. Blocking the sctp module on hosts is a cheap, high-value control while kernels get patched.
  5. Longer term: the interesting meta-finding here is that Wiz found and validated these bugs using AI-assisted tooling (Wiz, November 2026). Memory-corruption bugs that survived a decade in the world’s most deployed web server are now findable in weeks. Assume discovery is getting cheaper and keep your patch cadence honest.

The Verdict

  1. Patch to 1.31.9 (or 1.30.7) and do a full restart, today if the server is internet-facing. Two unauthenticated RCEs at CVSS 9.2 with demonstrated PoCs is the strongest patch-now signal I’ve seen this year (Wiz, November 2026).
  2. If a change window blocks the upgrade, bridge with http2 off; and an SCTP module block. It covers the two headline bugs and the root-escalation leg, and it leaves the other three CVEs open, so treat it as a bridge, not a fix.
  3. Container operators get a second homework item: the host kernel. The SCTP bug makes container escape part of this incident, so check kernel versions and modprobe blacklist while images rebuild.
  4. Distrust version strings from distro backports. nginx -v can lie; verify package versions against your vendor’s advisory before you call a host clean.
  5. Assume discovery is getting cheaper. Wiz found and validated this chain with AI-assisted tooling (Wiz, November 2026). A decade-old memory bug is now a weeks-long find, so keep patch cadence honest.

FAQ

What versions of nginx are affected by CVE-2026-123633?

Nginx 1.19.7 through 1.31.8, when configured as an HTTP/2 reverse proxy. Fixed versions include 1.31.9 mainline, 1.30.7 stable, and specific NGINX Plus builds (Wiz, November 2026).

What versions are affected by CVE-2026-123007?

Nginx 1.9.5 through 1.31.8 with HTTP/2 enabled. It affects static-file servers too, on 64-bit systems. The bug dates to HTTP/2’s introduction in 2015 (Wiz, November 2026).

Does disabling HTTP/2 fully protect me?

No. It blocks CVE-2026-123007 and CVE-2026-123633, but the other three NGINX2Root bugs (resolver, HTTP/3, mail proxy) don’t need HTTP/2. Patching to 1.31.9 is the complete fix (Xint, November 2026).

How do I quickly check if my nginx is exposed?

Run nginx -V for the build, nginx -T | grep http2 for config, and an openssl s_client -alpn h2 handshake to confirm HTTP/2 is negotiated. Cross-check package versions against your distro because of backports (Xint, November 2026).

Can this vulnerability give attackers root access?

Yes, via chaining. Any of the five nginx RCE bugs combined with the Linux kernel SCTP bug (present since 4.15) yields root, including escaping a Docker container to the host (Xint, November 2026).

Sources: NGINX2Root writeup (Xint, November 2026), Tenable’s CVE-2026-123007 FAQ, and Cloudflare’s analysis.

Mihir Pipermitwala

Written by Mihir Pipermitwala

Senior Full Stack Consultant & Mobile Engineering Specialist building user-focused applications in healthcare with Flutter, Dart and React Native. I write about what I actually build and test — every tutorial here comes from real project work.

More about Mihir →
Scroll down to load comments...
Related Blogs
Nginx Unauthenticated RCE: Inside the NGINX2Root Flaw Chain

Nginx Unauthenticated RCE: Inside the NGINX2Root Flaw Chain

Two HTTP/2 bugs (CVE-2026-123633, CVE-2026-123007) give unauthenticated nginx RCE, and 5 flaws chain to root. Here is what to patch and check today.

SECURITYDEVSECOPSDEVELOPER TOOLS

November 24, 2026

Goldman Sachs Pulled Claude Code: What Regulated Teams Do Next

Goldman Sachs Pulled Claude Code: What Regulated Teams Do Next

Goldman Sachs restricted Claude Code and Copilot to engineers in November 2026. A governance playbook: 4 policy options, 10 checklist items, 1 verdict.

AI TOOLSDEVELOPER TOOLSSECURITY

November 18, 2026

AI-Generated Code Is Fragile: Engineering Habits That Fix It

AI-Generated Code Is Fragile: Engineering Habits That Fix It

AI-generated code gets fragile fast: GitClear measured an 8x rise in duplicated blocks in 2024. Five engineering habits, with code, restore maintainability.

AI TOOLSDEVELOPER TOOLSPRODUCTIVITY

November 16, 2026

Amazon Swapped Sonnet for Rules: When to Replace Your LLM Call

Amazon Swapped Sonnet for Rules: When to Replace Your LLM Call

Amazon reported millions in savings after swapping a Sonnet 4.6 call for a $0.0005 decision layer. Here's the 5-step pattern to replace your own LLM calls.

LLMOPSAI TOOLSDEVELOPER TOOLS

November 15, 2026

Related Recommended Services
Visual Studio Code for the Web

Visual Studio Code for the Web

Build with Visual Studio Code, anywhere, anytime, in your browser.

IDEVISUAL STUDIOVISUAL STUDIO CODEWEB
Renovate | Automated Dependency Updates

Renovate | Automated Dependency Updates

Renovate Bot keeps source code dependencies up-to-date using automated Pull Requests.

AUTOMATED DEPENDENCY UPDATESBUNDLERCOMPOSERGITHUBGO MODULES
Best XML Formatter and XML Beautifier

Best XML Formatter and XML Beautifier

Online XML Formatter will format xml data, helps to validate, and works as XML Converter. Save and Share XML.

XMLXML BEAUTIFIERXML CONVERTERXML FORMATXML FORMATTER
Kubecost | Kubernetes cost monitoring and management

Kubecost | Kubernetes cost monitoring and management

Kubecost started in early 2019 as an open-source tool to give developers visibility into Kubernetes spend. We maintain a deep commitment to building and supporting dedicated solutions for the open source community.

CLOUDKUBECOSTKUBERNETESOPEN SOURCESELF HOSTED
Related Recommended Stories
How GitHub reduced testing time for iOS apps with new runner features

How GitHub reduced testing time for iOS apps with new runner features

Learn how GitHub used macOS and Apple Silicon runners for GitHub Actions to build, test, and deploy our iOS app faster.

IOSGITHUBTESTINGRUNNER
5 ways to transform your workflow using GitHub Copilot and MCP

5 ways to transform your workflow using GitHub Copilot and MCP

Learn how to streamline your development workflow with five different MCP use cases.

AGENT MODECODING AGENTCOPILOTFIGMAGITHUB
One weird trick for powerful Git aliases

One weird trick for powerful Git aliases

Advanced Git Aliases

ALIASALIAS TEMPLATEATLASSIANBITBUCKETGIT
Awesome Python

Awesome Python

An opinionated list of awesome Python frameworks, libraries, software and resources

AWESOMEAWESOME PYTHONCOLLECTIONSGITHUBPYTHON
Related Recommended Tools
Find out what websites are built with - Wappalyzer

Find out what websites are built with - Wappalyzer

Find out the technology stack of any website. Create lists of websites and contacts by the technologies they use.

ADD ONSANALYTICSAPP STOREAPPLEBOOKING
Sourcetree | Free Git GUI for Mac and Windows

Sourcetree | Free Git GUI for Mac and Windows

A Git GUI that offers a visual representation of your repositories. Sourcetree is a free Git client for Windows and Mac.

GITGITHUBGITLABATLASSIANBITBUCKET
Related Recommended Videos