Threat Response - NGINX2Root
Dutch follows English
A critical set of vulnerabilities dubbed ‘nginx2root’ [3] was discovered by security company Xint [1] and independently reported by researchers. Five vulnerabilities affect the widely used nginx web server, allowing an unauthenticated attacker to run commands remotely (Pre-Auth RCE). A sixth vulnerability in the Linux kernel allows attackers to elevate these privileges to full host control, even escaping Docker containers. Fixed nginx versions (1.31.9 mainline and 1.30.7 stable) are now available. Although a public working exploit is available, no attacks in the wild have been reported so far.
Description
nginx2root is the collective name given by Xint for six vulnerabilities. Five are located in nginx and one in the Linux kernel. The five nginx vulnerabilities each allow remote code execution without logging in. Each works independently, but affects a different configuration:
- CVE-2026-123007: HTTP/2 is enabled. This integer underflow vulnerability is the most serious flaw. It affects official nginx releases from 1.9.5 onward (code from 2015).
- CVE-2026-123633: HTTP/2 is enabled and nginx forwards requests to a backend server.
- CVE-2026-121810: HTTP/3 is enabled and nginx forwards requests to a backend server.
- CVE-2026-123634: A use-after-free vulnerability triggered when nginx looks up backend names via DNS for each request and uses the "mirror" feature.
- CVE-2026-113425: nginx acts as a mail proxy (IMAP, POP3, or SMTP) and uses "auth_http".
The sixth vulnerability is an unpatched Linux kernel SCTP use-after-free flaw (Local Privilege Escalation) present since 2018. It currently has no CVE number. An attacker who already has code execution on the server (via nginx) can use this to become root on the underlying host [1].
Impact
We estimate the impact of these vulnerabilities as high. Under the right circumstances, attackers can:
- Read decrypted requests and responses from the nginx worker's memory, exposing passwords, session tokens, and TLS private keys held in software.
- Run commands on your nginx server without any authentication (Pre-Auth RCE). These commands run with the rights of the nginx worker process.
- Escalate privileges to take full control (root) of the host by chaining the RCE with the Linux kernel flaw.
- Escape from a Docker container to the underlying host kernel, putting all other containers and data on that host at immediate risk [1].
Risk
We estimate the risk of these vulnerabilities as high.
Several factors raise the risk:
- F5 has rated all five nginx vulnerabilities as CVSS 4.0 9.2 (Critical). Red Hat has assigned CVE-2026-123007 a CVSS 3.1 score of 8.1 (High).
- A working Proof-of-Concept (PoC) exploit for CVE-2026-123007 is now publicly available via Rapid7.
- nginx is one of the most widely used web servers globally, and the most serious flaw only requires HTTP/2, a very common configuration. Scans suggest 98.9% of internet-visible nginx servers with a known version fall in the affected range [1].
Several factors lower the risk:
- Achieving code execution generally requires Address Space Layout Randomization (ASLR) to be disabled or bypassed.
- As of November 19, 2026, there is no evidence of these vulnerabilities being actively exploited in the wild.
Mitigation
- The complete fix is to update nginx to version 1.31.9 (mainline) or 1.30.7 (stable), or to install your Linux distribution's backported security package.
- Important: After updating, you must restart the nginx service. A configuration reload (
nginx -s reload) alone does not replace the running program in memory. - If you are using containerized appliances or management interfaces (such as Nginx Proxy Manager [2]), standard patching methods do not apply. Any manual updates made inside a running container will be lost upon restart. You must wait for the project maintainers to publish an updated container image containing the fixed nginx version and monitor their issue trackers for temporary configuration workarounds [2].
- For the Linux kernel flaw, a patch is not yet available. See the workarounds below to block the SCTP module.
What should you do?
- Make a list of all your systems running nginx. Include containers, appliances, and ingress components.
- Check which servers face the internet and determine their configuration (HTTP/2, HTTP/3, request-based DNS lookups with "mirror", or the mail proxy).
- Install nginx 1.31.9, 1.30.7, or your distribution's backported security update immediately, and restart the service. Note: Output of
nginx -vmay not reflect distribution security backports; check your package manager's security advisories. - If you cannot patch immediately, apply the following temporary mitigations to servers at risk (prioritize internet-facing servers with HTTP/2 enabled):
- Disable HTTP/2 (Blocks CVE-2026-123007 and CVE-2026-123633). Note: Services requiring HTTP/2, like native gRPC, will stop working.
- Disable HTTP/3 / QUIC (Blocks CVE-2026-121810).
- Use a fixed backend instead of a per-request DNS lookup, and turn off "mirror" if not needed (Blocks CVE-2026-123634).
- Keep untrusted users away from the nginx mail proxy (Blocks CVE-2026-113425).
- Block the SCTP module on servers that do not use it to mitigate the Linux kernel flaw until a patch is available. (Note: This only works if the module is not already loaded or built into the kernel).
- Check for signs of compromise. Look for:
- An nginx worker starting programs such as
/bin/shor/bin/bash(strongest sign of successful attack). - Repeated worker crashes.
- Long-lived connections that receive abnormally large amounts of data.
What will Northwave do?
Northwave MDR closely follows the guidelines from nginx, security researchers, and public reporting on these vulnerabilities. Northwave MDR will monitor environments for exploitation of these nginx and Linux vulnerabilities based on the available log sources when additional details become available. As no known exploits are knonw we continue with our default monitoring. This advisory will be updated as new information becomes available or if the risk assessment changes.
E-mail: soc@northwave-cybersecurity.com
Do you have an incident right now? Call our Incident Response Team: 00800 1744 0000
Disclaimer applies, see below.
Sources
Een kritieke reeks kwetsbaarheden, genaamd ‘nginx2root’ [3], is ontdekt door beveiligingsbedrijf Xint [1] en onafhankelijk gerapporteerd door onderzoekers. Vijf kwetsbaarheden treffen de veelgebruikte nginx-webserver, waardoor een ongeauthenticeerde aanvaller op afstand commando's kan uitvoeren (Pre-Auth RCE). Een zesde kwetsbaarheid in de Linux-kernel stelt aanvallers in staat om deze rechten te verhogen tot volledige controle over de host, waarbij ze zelfs uit Docker-containers kunnen ontsnappen. Gepatchte nginx-versies (1.31.9 mainline en 1.30.7 stable) zijn inmiddels beschikbaar. Hoewel er een publieke werkende exploit beschikbaar is, zijn er tot op heden geen aanvallen in het wild gemeld.
Beschrijving
nginx2root is de verzamelnaam die door Xint is gegeven aan zes kwetsbaarheden. Vijf bevinden zich in nginx en één in de Linux-kernel. De vijf nginx-kwetsbaarheden maken het elk mogelijk om zonder in te loggen op afstand code uit te voeren. Elke kwetsbaarheid werkt op zichzelf, maar treft een andere configuratie:
- CVE-2026-123007: HTTP/2 is ingeschakeld. Deze integer underflow-kwetsbaarheid is de meest ernstige fout. Het treft officiële nginx-releases vanaf versie 1.9.5 (code vanaf 2015).
- CVE-2026-123633: HTTP/2 is ingeschakeld en nginx stuurt verzoeken door naar een backend-server.
- CVE-2026-121810: HTTP/3 is ingeschakeld en nginx stuurt verzoeken door naar een backend-server.
- CVE-2026-123634: Een use-after-free kwetsbaarheid die wordt getriggerd wanneer nginx backend-namen opzoekt via DNS voor elk verzoek en de "mirror"-functie gebruikt.
- CVE-2026-113425: nginx fungeert als een mailproxy (IMAP, POP3 of SMTP) en gebruikt "auth_http".
De zesde kwetsbaarheid is een ongepatchte Linux-kernel SCTP use-after-free fout (Local Privilege Escalation) die sinds 2018 aanwezig is. Deze heeft momenteel geen CVE-nummer. Een aanvaller die al code kan uitvoeren op de server (via nginx) kan deze fout gebruiken om root te worden op de onderliggende host [1].
Impact
Wij schatten de impact van deze kwetsbaarheden als hoog in. Onder de juiste omstandigheden kunnen aanvallers:
- Gedecodeerde verzoeken en antwoorden uitlezen uit het geheugen van de nginx-worker, waardoor wachtwoorden, sessietokens en TLS-privésleutels in software kunnen uitlekken.
- Commando's uitvoeren op uw nginx-server zonder enige authenticatie (Pre-Auth RCE). Deze commando's draaien met de rechten van het nginx-workerproces.
- Rechten verhogen om volledige controle (root) over de host over te nemen door de RCE te combineren met de Linux-kernelkwetsbaarheid.
- Ontsnappen uit een Docker-container naar de onderliggende host-kernel, waardoor alle andere containers en data op die host direct gevaar lopen [1].
Risico
Wij schatten het risico van deze kwetsbaarheden in als Hoog.
Verschillende factoren verhogen het risico:
- F5 heeft alle vijf de nginx-kwetsbaarheden beoordeeld met een CVSS 4.0-score van 9.2 (Kritiek). Red Hat heeft CVE-2026-123007 beoordeeld met een CVSS 3.1-score van 8.1 (Hoog).
- Een werkende Proof-of-Concept (PoC) exploit voor CVE-2026-123007 is nu publiek beschikbaar via Rapid7.
- nginx is wereldwijd een van de meest gebruikte webservers en het ernstigste lek vereist alleen HTTP/2, een zeer veelvoorkomende configuratie. Scans tonen aan dat 98,9% van de internet-bereikbare nginx-servers met een bekende versie in de getroffen reeks valt [1].
Verschillende factoren verlagen het risico:
- Om succesvol code uit te voeren, is het over het algemeen vereist dat Address Space Layout Randomization (ASLR) is uitgeschakeld of wordt omzeild.
- Per 19 november 2026 is er geen bewijs dat deze kwetsbaarheden actief worden misbruikt in het wild.
Mitigatie
- De volledige oplossing is het updaten van nginx naar versie 1.31.9 (mainline) of 1.30.7 (stable), of het installeren van de gepatchte package van uw Linux-distributie.
- Belangrijk: Na het updaten moet u de nginx-service herstarten. Een configuratie-reload (
nginx -s reload) vervangt het draaiende programma in het geheugen niet. - Als u gebruikmaakt van gecontaineriseerde appliances of beheerinterfaces (zoals Nginx Proxy Manager [2]), zijn de standaard patchmethoden niet van toepassing. Handmatige updates binnen een draaiende container gaan verloren bij een herstart. U moet wachten tot de beheerders van het project een bijgewerkte container-image publiceren met daarin de gepatchte nginx-versie, en hun kanalen in de gaten houden voor tijdelijke configuratie-oplossingen [2].
- Voor de Linux-kernelkwetsbaarheid is nog geen patch beschikbaar. Zie de onderstaande tijdelijke maatregelen om de SCTP-module te blokkeren.
Wat moet u doen?
- Maak een lijst van al uw systemen waarop nginx draait. Neem ook containers, appliances en ingress-componenten mee.
- Controleer welke servers met het internet verbonden zijn en bepaal hun configuratie (HTTP/2, HTTP/3, request-based DNS lookups met "mirror", of de mailproxy).
- Installeer onmiddellijk nginx 1.31.9, 1.30.7 of de security update van uw distributie en herstart de service. Let op: De output van
nginx -vtoont niet altijd de security backports van uw distributie; controleer de security advisories van uw package manager. - Als u nog niet direct kunt patchen, pas dan de volgende tijdelijke mitigaties toe op servers die risico lopen (geef prioriteit aan internet-gerichte servers met HTTP/2 ingeschakeld):
- Schakel HTTP/2 uit (Blokkeert CVE-2026-123007 en CVE-2026-123633). Let op: Diensten die HTTP/2 vereisen, zoals native gRPC, zullen stoppen met werken.
- Schakel HTTP/3 / QUIC uit (Blokkeert CVE-2026-121810).
- Gebruik een vaste backend in plaats van een DNS-lookup per request, en schakel "mirror" uit indien u dit niet nodig heeft (Blokkeert CVE-2026-123634).
- Houd niet-vertrouwde gebruikers weg van de nginx mailproxy (Blokkeert CVE-2026-113425).
- Blokkeer de SCTP-module op servers die deze niet gebruiken om de Linux-kernelkwetsbaarheid te mitigeren totdat er een patch beschikbaar is. (Let op: Dit werkt alleen als de module nog niet geladen of in de kernel ingebouwd is).
- Controleer op tekenen van misbruik. Let op:
- Een nginx-worker die programma's zoals
/bin/shof/bin/bashstart (het duidelijkste teken van een succesvolle aanval). - Herhaaldelijke crashes van worker-processen.
- Langdurige verbindingen die abnormaal grote hoeveelheden data ontvangen.
Wat zal Northwave doen?
Northwave MDR volgt de richtlijnen van nginx, beveiligingsonderzoekers en publieke berichtgeving over deze kwetsbaarheden nauwgezet. Northwave MDR zal omgevingen monitoren op exploitatie van deze nginx- en Linux-kwetsbaarheden op basis van de beschikbare logbronnen wanneer additionele details beschikbaar komen. Deze advisering zal worden bijgewerkt zodra nieuwe informatie beschikbaar komt of wanneer de risico-inschatting verandert.
E-mail: soc@northwave-cybersecurity.com
Heeft u nu een incident? Bel ons Incident Response Team: 00800 1744 0000
Disclaimer van toepassing, zie hieronder.
Bronnen
Heeft u nu een incident? Bel ons Incident Response Team: 00800 1744 0000
Disclaimer van toepassing, zie hieronder.
Bronnen

