News Security

Five nginx vulnerabilities let attackers run code remotely

Five memory corruption flaws in nginx, called nginx2root, can crash servers or run commands, and Cloudflare says its proxy shields origins from the worst.

Five memory corruption flaws in the nginx web server, collectively called nginx2root, let an unauthenticated attacker crash a server worker or run commands on it. Cloudflare says F5 and nginx.org disclosed ten nginx vulnerabilities on November 18, and Xint researchers detailed these five. Xint says it also found a Linux kernel bug that turns the foothold into root access, including from inside a Docker container.

Each bug works independently and needs a different configuration. The most serious, CVE-2026-123007, needs only HTTP/2 enabled and affects every release since 2015. Xint ran the exploit over the public Internet against servers on AWS, GCP and Azure. F5 rates each flaw High or Critical and notes that code execution requires disabling or bypassing ASLR, a memory randomization defense. Xint's write-up shows how this bug leaked memory addresses to do that.

Cloudflare says its own edge is not affected. It reviewed the parts built on its modified nginx fork before disclosure, and a fix finished rolling out globally before publication. For proxied hostnames, Cloudflare ends every client HTTP/2 and HTTP/3 connection at its edge, so attacker frames never reach the origin nginx. The resolver and mail proxy bugs depend on specific configurations, and some setups are not covered by the proxy. The fixed builds are nginx 1.30.7 and 1.31.9.

Source: nginx2root: five new nginx vulnerabilities, and how Cloudflare protects origins from the worst of them | Cloudflare Blog.