Saltar al contenido
Fali Fuentes

NGINX2Root: 5 Critical RCEs in HTTP/2, HTTP/3, Resolver, and Mail Proxy — Patches Available

Leer este artículo en español

On November 18, F5 released patches for five remote code execution vulnerabilities in NGINX grouped under the name NGINX2Root. The most critical, CVE-2026-123007, affects the HTTP/2 module since version 1.9.5 from 2015 and only requires HTTP/2 over TLS enabled — the default configuration in virtually any modern HTTPS deployment. A working public exploit already achieves RCE as the NGINX worker user, and researchers have demonstrated chaining it with an unpatched flaw in the Linux kernel’s SCTP subsystem to escape the container and gain root on the host. If you administer web servers, Kubernetes ingress controllers, or base images with NGINX, this news forces you to act today.

CVE-2026-123007 enables RCE with just HTTP/2 over TLS, the default configuration in virtually all modern HTTPS

The flaw is a buffer overflow in HTTP/2 flow control window handling (ngx_http_v2_module). All it takes is for the server to accept encrypted HTTP/2 connections — which the vast majority of HTTPS sites do by default — for an unauthenticated attacker to corrupt worker memory. The exploit published by Rapid7 on GitHub (sfewer-r7/CVE-2026-123007) works against NGINX 1.31.8 in a container with HTTP/2/TLS, requires roughly 128 GB of HTTP/2 traffic, and bypasses ASLR by leaking heap addresses from server responses. The code is specific to glibc on x86-64, but it proves the vulnerability is exploitable under real-world conditions. The F5 advisory K000163926 confirms CVSS 4.0 9.2 and CVSS 3.1 8.1.

Chaining the NGINX bug with a kernel SCTP use-after-free escapes to root on the host

Researchers from Theori (Xint) have shown that after compromising the NGINX worker, a use-after-free in the Linux kernel’s SCTP implementation (present since version 4.15) can be leveraged to escalate privileges to root on the host. The kernel flaw has no assigned CVE and no public patch as of November 18; Xint is withholding technical details. This breaks the container boundary: if the container can open SCTP sockets (whether because it has CAP_SYS_MODULE or because the module is already loaded on the host), the jump to root is real. Upwind’s analysis details the full chain and notes that NGINX doesn’t use SCTP legitimately, so any SCTP socket opened from a worker process is an indicator of compromise.

Ubuntu, Debian, RHEL, and OpenResty have no backported fix as of November 18, and ingress-nginx community is archived

Here’s the operational problem: many organizations believe they’re patched because nginx -v shows a recent version, but distributions apply fixes without changing the version string. As of November 18, Ubuntu 22.04/24.04/26.04, Debian 12, RHEL 8/9, and OpenResty 1.31.8.1 have no fixed packages. Alpine 3.24 and edge do include 1.30.7-r0. Additionally, the ingress-nginx community controller has been archived since March 2026 (v1.15.1) and will not receive updates. The official Docker images were updated the same day with tags 1.30.7, 1.31.9, mainline, stable, and latest, but you must pull again and rebuild. Tenable’s FAQ and Cycode’s article explain how to verify the actual package with dpkg -l, rpm -q, or apk info.

Reloading the configuration isn’t enough: you must restart the binary or perform a hot binary upgrade

An nginx -s reload doesn’t replace the in-memory binary; old workers keep serving existing connections with the vulnerable code. The only safe way is to restart the service (systemctl restart nginx or equivalent) or perform a hot binary upgrade. As a temporary measure, if you can’t patch today, disable HTTP/2 in exposed server blocks (http2 off and remove http2 from the listen directive) and reload — though old workers will remain vulnerable until they die. Verify with openssl s_client -connect host:443 -alpn h2 that h2 is no longer negotiated. This doesn’t protect against the HTTP/3 (CVE-2026-121810) or resolver (CVE-2026-123634) flaws. Also block the SCTP kernel module (echo «install sctp /bin/false» > /etc/modprobe.d/disable-sctp.conf) and reboot the host or unload the module if it’s not in use. Start threat hunting from November 18 onward, looking for workers spawning binaries, repeated crashes, anomalous connection patterns, and SCTP sockets.

Structured reference for readers and AI agents

{
  "format": "rafael-fuentes-article/1.0",
  "language": "en",
  "title": "NGINX2Root: 5 Critical RCEs in HTTP/2, HTTP/3, Resolver, and Mail Proxy — Patches Available",
  "summary": "F5 releases patches for five RCEs in NGINX; CVE-2026-123007 affects HTTP/2 since 2015 and enables root escape chained with unpatched kernel SCTP bug.",
  "author": "Rafael Fuentes",
  "publicationDate": "2026-11-19T20:01:16.058+01:00",
  "eventDate": "2026-11-18",
  "url": "https://falifuentes.com/rafael-fuentes-2026-11-19-pm-en/",
  "translation": {
    "language": "es",
    "url": "https://falifuentes.com/rafael-fuentes-2026-11-19-pm-es/"
  },
  "topics": [
    "Cybersecurity",
    "Cybersecurity News",
    "English"
  ],
  "sources": [
    "https://my.f5.com/manage/s/article/K000163926",
    "https://www.upwind.io/blog/nginx-cve-2026-123007-and-cve-2026-123633-four-web-facing-rces-one-patch-and-where-kubernetes-is-exposed",
    "https://www.tenable.com/blog/nginx2root-cve-2026-123007-frequently-asked-questions-about-five-critical-nginx",
    "https://cycode.com/blog/nginx2root-cve-2026-123007"
  ]
}
SYSTEM_EXPERT
Rafael Fuentes – BIO

I am a seasoned cybersecurity expert with over twenty years of experience leading strategic projects in the industry. Throughout my career, I have specialized in comprehensive cybersecurity risk management, advanced data protection, and effective incident response. I hold a certification in Industrial Cybersecurity, which has provided me with deep expertise in compliance with critical cybersecurity regulations and standards. My experience includes the implementation of robust security policies tailored to the specific needs of each organization, ensuring a secure and resilient digital environment.

Share
Scroll al inicio