Skip to content
DevOps 4 min read

nginx2root: five memory flaws let an unauthenticated attacker run code on nginx

On November 18, 2026, F5 disclosed five memory-corruption vulnerabilities in nginx, all exploitable without authentication to execute code with the privileges of the worker process; a proof-of-concept exploit already circulates for CVE-2026-123007.

November 18, 2026. F5, the owner of nginx, discloses five memory-corruption vulnerabilities, immediately dubbed nginx2root by the Xint lab. CVE-2026-123007, a heap overflow in HTTP/2, ships with a public proof-of-concept exploit. November 20, 2026. The fixes — 1.30.7 (stable) and 1.31.9 (mainline) — are out. Why it matters: nginx is the most widely deployed reverse proxy on Earth, and it is embedded in thousands of ingress controllers, appliances and distributions that must each patch on their own schedule.

Five flaws, one root cause: memory corruption

The batch is five CVEs, all rated 8.1 under CVSS 3.1 and 9.2 under CVSS 4.0, all exploitable by an unauthenticated attacker to run code with the privileges of the nginx worker process. What separates them is the vector and the exposure condition.

CVE Vector Exposure condition
CVE-2026-123007 HTTP/2 integer overflow → out-of-bounds heap write HTTP/2 enabled on a listening port
CVE-2026-123633 HTTP/2 use-after-free during connection draining HTTP/2 + requests forwarded to an upstream
CVE-2026-121810 HTTP/3 (QUIC) use-after-free during stream creation HTTP/3 + requests forwarded to an upstream
CVE-2026-123634 Use-after-free on the DNS resolver waiting list resolver + proxy_pass built from request data + mirror
CVE-2026-113425 Use-after-free in the mail proxy auth_http lookup Mail proxy with proxy on and auth_http

The most publicized is CVE-2026-123007: an integer overflow in HTTP/2 flow control triggers an out-of-bounds heap write. It is the one that researchers at Xint and Wiz demonstrated, and the one whose exploit is public. The logic is the same for the other four — a resource referenced after it was freed, or a poorly bounded size — but a single public demonstration is enough to start the clock: the rest will follow as soon as someone invests the time.

CERT-EU published an advisory the same evening (2026-022) and recommends fixing internet-facing instances first. The affected range is broad: the mainline branch from 1.9.5 to 1.31.8, the stable 1.30.x line up to 1.30.6, and NGINX Plus from R34 to R37.

nginx is everywhere, even where you don’t see it

The real problem is not patching one server — it is finding every embedded nginx. nginx is not just the software you install behind your front end: it is the default engine of Kubernetes ingress controllers, the core of OpenResty, and a component baked into appliances from F5, Cisco, Sophos and WatchGuard — each now publishing its own update advisory.

The operational consequence is direct: updating the nginx package in your distribution does not fix the ingress controller image running in your cluster, nor your appliance firmware. Every embedded binary must be tracked with its own vendor on its own calendar. This is exactly the situation a software inventory (the SBOM, software bill of materials) is supposed to make visible, and that most teams fail to keep current.

Distributions can backport the fix without changing the version number printed by nginx -v: checking the version is therefore not enough — you must cross-reference the distribution’s security advisory. Sophos makes this point explicitly in its own advisory, recommending you confirm patch status with each vendor.

The fastest way to build that inventory is a container image scan. Tools like Trivy or Grype index the packages and embedded binaries, and flag a vulnerable nginx inside an image in seconds:

trivy image nginx:1.30.6

The command reports the embedded version and its associated CVEs — including the nginx2root set, since 1.30.6 is among the affected versions. It is the same logic as an SBOM, applied to the container estate instead of just bare servers. In a cluster, that means scanning every ingress-controller image you pin, not just the nginx you installed yourself. The fix touches five distinct code paths, which is why the advisory reads as one incident but is operationally five separate exposure questions — you must check which of the five applies to each of your listeners. Five independent memory bugs in a single release is itself a signal: it suggests the code paths that terminate HTTP/2 and HTTP/3 connections have been under-scrutinized relative to the older, more battle-tested HTTP/1.1 core.

Mitigation and detection until the fix lands

The researchers at Xint and Wiz identified partial workarounds, validated only as temporary measures. Disabling HTTP/2 (removing http2 from the listen directives, or forcing http2 off;) neutralizes CVE-2026-123007 and CVE-2026-123633. Disabling HTTP/3 neutralizes CVE-2026-121810. These measures do not cover the resolver and mail-proxy flaws.

The change is simple, and should be tested before it ships:

# Before: HTTP/2 active on the listener
server {
    listen 443 ssl http2;
    server_name example.com;
    # ...
}

# After: HTTP/2 disabled while waiting for the patch
server {
    listen 443 ssl;
    server_name example.com;
    # ...
}

Then reload the configuration after a syntax check:

nginx -t && nginx -s reload

For detection, CERT-EU flags one useful but imperfect indicator: the worker crash, visible in the logs as worker process … exited on signal. It is the sign of an exploitation attempt, not of a confirmed compromise — process-creation monitoring is still required to confirm a successful code execution.

The verdict

If you expose nginx to the internet: patch now. Upgrade to 1.30.7 (stable) or 1.31.9 (mainline), then restart to load the patched binary. The fix is the only real answer: five memory flaws in the world’s most deployed proxy, with a public PoC, leave no room to maneuver.

If you cannot patch immediately: disable HTTP/2 and HTTP/3 on exposed listeners. It is a temporary mitigation that neutralizes three of the five flaws, and it ships as a single config directive. Test it before rolling it out everywhere.

If you run an ingress controller, OpenResty or an embedded appliance: your work starts now. The vendor of your embedded component has its own fix and its own calendar. Build an inventory of every nginx binary in your estate — including those inside container images and appliances — and treat each one as a distinct product to patch.

The lesson fits in one sentence: a web server’s vulnerability is rarely where you look for it — it is in the embedded component nobody listed.

References

You are reading the DevOps section.

RSS DevOps

Walid Ettayeb

DevSecOps engineer in Paris: cloud, Kubernetes and security.

Related articles