nginxHTTP/2CVE-2026-123007Respuesta a incidentesDebianRCE

nginx2root (CVE-2026-123007): an RCE threatening half the internet — does it hit us?

Published on 2026-11-20 · Xiliux

Every few months a headline sounds like the end of the world: "A 10-year-old nginx flaw lets anyone run code on any server." CVE-2026-123007 —nicknamed nginx2root— is real, critical (unauthenticated RCE), and has been in the code since nginx 1.9.5, back in 2015. It affects every release from 1.9.5 to 1.31.8. The headline is correct. It's also incomplete.

The trigger isn't "running nginx." It's running HTTP/2.

The bug lives in the HTTP/2 stack. If your listen 443 ssl blocks don't enable HTTP/2, this particular flaw doesn't execute code on you. That single distinction separates "half the internet on fire" from "a bounded list of servers that genuinely need patching now." Panic doesn't discriminate; triage does.

The 5-minute triage (what we ran on our own infra)

1. Am I serving HTTP/2?

grep -rEn 'http2|listen[^;]*443' /etc/nginx/

If you see http2 on; or listen 443 ssl http2, you meet the precondition.

2. What version do I have, and which one fixes it?

apt-cache policy nginx

nginx fixed it upstream in 1.31.9 (mainline) and 1.30.7 (stable). But on Debian/Ubuntu you don't need that version: your distro backports the patch into its own branch. What matters is your distro's tracker, not the upstream number.

3. Is it patched in MY distro?

Debian fixes it in 1.26.3-3+deb13u11 (DSA-6642-1). The Debian security tracker tells you, by exact version, whether you're "vulnerable" or "fixed." A version number proves nothing on its own: anchor it to the advisory.

Our verdict, with proof

Our infra was serving HTTP/2 and was running the pre-patch build. Debian's fix had just landed, so the response was a single line:

apt-get install --only-upgrade nginx nginx-common libnginx-mod-stream

The package reloads nginx itself; site config is untouched. Verified: version deb13u11, clean nginx -t, every domain answering exactly as before, over HTTP/2.

A detail the headline omits: nginx2root travels with a sibling —a kernel (SCTP) privesc—. The nginx patch doesn't cover it; that ships with the kernel update, and only on reboot. So the real close wasn't the apt upgrade: it was the reboot that loaded the new kernel, with verification that every service and domain came back.

The lesson

Speed didn't come from running faster. It came from knowing the surface (knowing which ports serve HTTP/2 without guessing), from having the exact command ready, and from anchoring the verdict to an artifact —the version pinned in the distro's advisory, not a hunch—. "Verdict with proof, not panic" isn't a slogan: it's a method that turns a 9.8-CVSS headline into a two-minute maintenance window.

If you run nginx, run the three commands above today. The lab exploit is already public.

← More articlesRequest a quote