nginx2root and ruby2shell: patch nginx and Ruby this week
nginx 1.30.7 and Ruby 3.3.14, 3.4.13 and 4.0.10 fix critical flaws. Which versions are affected, who is exposed and what to do today.
Two pieces that run a large share of the web got security patches this week: nginx and Ruby. nginx released versions 1.30.7 and 1.31.9 on November 18, and the Ruby project released 3.3.14, 3.4.13 and 4.0.10 the same day. If your site, store or system runs on either one, ask whoever manages it to update and restart today. If nobody does that for you, our software support and evolution service keeps what your business runs on up to date.
The short version
- nginx fixes ten flaws; the most serious (CVE-2026-123007) affects versions 1.9.5 to 1.31.8 with HTTP/2 enabled, according to its official advisory.
- Ruby fixes seven memory-safety flaws and says it knows of proofs of concept for remote code execution in several of them. Affected: Ruby 3.3.13 and earlier, 3.4.0 to 3.4.12 and 4.0.0 to 4.0.9.
- A public proof of concept for CVE-2026-123007 exists, published by Rapid7 according to SecurityWeek. Rapid7 warns that using it for code execution takes a lot of HTTP/2 traffic (about 128 GB); Censys says it reproduced the behavior without that volume.
- Per Cloudflare, there were no reports of attacks in the wild against the nginx flaws as of November 19. For Ruby, Cloudflare expects scanning soon, because one researcher plans to publish a proof of concept a week after disclosure.
- A web application firewall (WAF) helps, but it does not replace the patch.
Which nginx version should I install?
All ten flaws are fixed in 1.30.7 (stable line) and 1.31.9 (mainline), according to nginx.org. If your Linux distribution packages nginx, install its fixed package: it may carry the fix without changing the version number, so compare it with your distribution's advisory.
| Flaw (CVE) | What triggers it | Severity per nginx.org |
|---|---|---|
| CVE-2026-123007 | HTTP/2 enabled (versions 1.9.5 to 1.31.8) | Major |
| CVE-2026-123633 | HTTP/2 with proxy_pass to a backend | Medium |
| CVE-2026-121810 | HTTP/3 (QUIC) with proxy_pass | Medium |
| CVE-2026-123634 | resolver with proxy_pass and variables, plus a subrequest | Medium |
| CVE-2026-113425 | Mail proxy module with auth_http | Major |
| CVE-2026-118899 | Reading the request body over TLS 1.3 (infinite loop) | Major |
The first one is the main worry: it only needs HTTP/2 turned on, which is common on HTTPS sites. The Xint researchers, who named the set nginx2root, say it can lead to running commands on the server without credentials, though that requires getting around address-space randomization (ASLR). Those details come from Cloudflare's analysis; the nginx advisory only gives versions and severity.
SecurityWeek also reports that Rapid7 published a proof of concept for that flaw. According to Rapid7, getting code execution with it takes about 128 GB of HTTP/2 data, and if the connection is proxied the data is unlikely to arrive the way the attack needs. Censys says it reproduced the behavior without that volume. A public proof of concept is one more reason not to wait.
A third problem with no patch yet
According to Cloudflare, Xint also found a Linux kernel flaw (SCTP) that would turn a foothold in nginx into root access, including from inside a Docker container. As of November 18 there was no kernel fix. Update the kernel as soon as your distribution ships it.
What if my nginx sits behind Cloudflare?
Cloudflare explains that for domains served through its proxy, attackers' HTTP/2 and HTTP/3 connections end at its
network and never reach your nginx, so the most serious HTTP/2 and HTTP/3 flaws are covered while you update. It
does not cover everything: the resolver and mail flaws depend on your configuration, and anyone who connects
straight to the server's IP address skips the proxy. This is the vendor's own account of its protection; treat it as
an extra layer, not a reason to skip the update.
What about Ruby, Rails and Sinatra?
The Ruby project published seven advisories, all memory-safety bugs, in the regular expression engine and in string case conversion. For the case-conversion bugs it says it knows of proofs of concept for remote code execution. The fixed versions are 3.3.14, 3.4.13 and 4.0.10; Ruby 3.2 and earlier are end of life and will not get the fix.
The practical problem comes from Veria Labs, cited by Cloudflare: a Rails app, or a classic-style Sinatra app, reaches
the bug in its default configuration and before any authentication, because the middleware that simulates PUT and
DELETE for HTML forms upcases a field sent by the client. Cloudflare also lists products that bundle their own Ruby
(GitLab, GitHub Enterprise Server, Mastodon, OpenProject, Discourse, Chatwoot) and had not yet updated it in their
latest release as of November 19.
Those claims come from third parties, not from the Ruby advisory, which does not mention Rails or Sinatra. The action is the same either way.
What should I do this week?
- Find out what you run.
nginx -vandruby -von the server; in Docker, the base image version. With managed hosting, ask your provider when it will apply the patches. - Update nginx to 1.30.7 or 1.31.9 (or your distribution's fixed package) and restart. Start with whatever faces the internet.
- Update Ruby to 3.3.14, 3.4.13 or 4.0.10, rebuild container images and restart processes. Rails and Sinatra need no code changes.
- If you cannot today, limit the damage. Turn off HTTP/2 on exposed listeners (
http2 off;from nginx 1.25.1; on older versions, removehttp2from thelistendirective), which Cloudflare says blocks CVE-2026-123007 and CVE-2026-123633. Remove HTTP/3 and the mail module if you do not use them, and put the site behind a WAF. These are stopgaps and do not cover everything. - If you run Ruby 3.2 or earlier, plan the migration: it no longer gets security fixes.
PHP also shipped critical patches this week; we covered them in PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36: what they fix.
For development teams
Check your Dockerfiles: a pinned Ruby or nginx tag stays on the old version until you change it and rebuild the image.
Sources
- nginx: security advisories (accessed November 21, 2026)
- Ruby: Security advisories, multiple vulnerabilities in Regexp and String case conversion (2026-11-18) (accessed November 21, 2026)
- Cloudflare: nginx2root, five new nginx vulnerabilities (2026-11-20) (accessed November 21, 2026)
- Cloudflare: How Cloudflare WAF protects against ruby2shell (2026-11-20) (accessed November 21, 2026)
- SecurityWeek: F5 Patches Critical NGINX2Root Flaws as PoC Exploits Go Public (11/19/2026) (accessed November 21, 2026)
Keep reading
- NewsCustom software
GitHub blocks pull_request_target by default: what to check
Since December 2, 2026, GitHub Actions blocks pull_request_target by default in affected public repositories. What changes and how to audit your workflows.
David Hernandez· Software Engineer3 min read
- NewsCustom software
Django 6.1.4, 6.0.11 and 5.2.20: 7 security fixes explained
Django released 6.1.4, 6.0.11 and 5.2.20 on December 2, 2026 with 7 security fixes. Which ones affect you, what changes, and how to update.
David Hernandez· Software Engineer4 min read
- NewsCustom software
52% of WordPress sites will run unsupported PHP on Jan 1
52.24% of WordPress sites run PHP 8.2 or older, with no security patches from January 1. How to check your PHP version and which one to move to.
David Hernandez· Software Engineer3 min read