NGINX2Root: five critical NGINX vulnerabilities, update now

By: ·

Machine translation · Read the original (Hungarian)

In short: Öt friss NGINX-sérülékenység (NGINX2Root): belépés nélkül, távolról kódfuttatás, kernelhibával root is. Frissíts 1.30.7-re vagy 1.31.9-re, a Docker-képeket is.

If you have NGINX running at home or at the company (web server, reverse proxy, Nginx Proxy Manager, a Docker image that contains it), it's worth reading this today. The National Cyber Security Institute (NBSZ-NKI) issued an alert on November 19 about five new NGINX vulnerabilities. Their common name is NGINX2Root.

What's the problem?

The vulnerabilities were made public on November 18. The most severe consequence: remote code execution without login, with the rights of the NGINX worker process. According to the alert, combined with a Linux kernel vulnerability (SCTP), this can lead to root access and, in certain cases, container escape.

Vulnerability What it affects
CVE-2026-123007 HTTP/2 (remote code execution)
CVE-2026-123633 HTTP/2 connections and requests to the backend server
CVE-2026-121810 HTTP/3 (QUIC)
CVE-2026-123634 DNS resolution with certain proxy settings
CVE-2026-113425 mail proxy, with certain authentication settings

The HTTP/2 vulnerability affects every official version from 1.9.5 to 1.31.8, if HTTP/2 is enabled. This is roughly ten years of NGINX. The alert does not say that it is already being actively exploited, but in such cases, it's not worth waiting.

What to do now?

  1. Update. The fixed versions are: 1.30.7 (stable) and 1.31.9 (mainline), or newer. With a distribution package, the fix may arrive with an old version number, so check your distribution's security announcement, not just the number.
  2. Don't forget containers. If you have NGINX in a Docker image (Nginx Proxy Manager, your own web app, anything), pull the new image and restart the container. Updating the host does not take care of this.
  3. If you can't update now, temporarily disabling HTTP/2 will protect you from the two HTTP/2 vulnerabilities, but not from the other three. Also, review your HTTP/3, dynamic DNS resolution proxy, and mail proxy settings if you use them.
  4. Check the logs: unusual outgoing connections, unexpected NGINX crashes, strange commands started by the web server.

Quick check

The alert recommends running these commands on the server:

nginx -v 2>&1
nginx -V 2>&1 | grep -- '--with-http_v2_module'
sudo nginx -T 2>&1 | grep -E 'http2|http3|quic'
sudo nginx -T 2>&1 | grep -E 'resolver|proxy_pass|fastcgi_pass|grpc_pass|mirror|mirror_request_body|auth_http|proxy on'

From the outside, to see if your server speaks HTTP/2 (replace with your own domain):

openssl s_client -connect sajat.domain.hu:443 -servername sajat.domain.hu -alpn h2 </dev/null 2>&1 | grep 'ALPN protocol'

Two minor notes: the presence of a directive does not necessarily mean you are vulnerable, and its absence does not mean you are safe. If you have Cloudflare or another proxy in front of you, the external test measures the proxy, not your server, so check from the server side as well.

Sources

What's running with NGINX for you? If you get stuck with the update or the check, write it here, we'll help.