Critical Nginx Flaws Allow Unauthenticated Remote Code Execution — Patch Now

Two Critical Flaws in the World’s Most Popular Web Server

Security researchers have disclosed two critical vulnerabilities in Nginx, the web server and reverse proxy that sits in front of a huge share of the world’s websites and APIs. The flaws, tracked as CVE-2026-123633 and CVE-2026-123007, are both rated Critical with a CVSS 4.0 score of 9.2, and both can be exploited remotely without any authentication. The disclosure, coordinated by F5, the company behind Nginx, was published on 18 November 2026 and has since become one of the most discussed security stories in the industry.

Critical Nginx flaws allow unauthenticated remote code execution

What makes the flaws especially dangerous is that they live in Nginx itself. A website or API can be exposed even when its own application code is completely secure, because the vulnerability is in the software that receives and routes traffic before it ever reaches the application. Both flaws require HTTP/2 to be enabled on the affected server.

What the Vulnerabilities Are

Both flaws are memory-safety problems in how Nginx handles HTTP/2 traffic, in the ngx_http_v2_module component. CVE-2026-123633 is a use-after-free vulnerability: Nginx keeps a list of idle connections that it may close when it runs low on free connection slots, and an HTTP/2 connection could remain on that reusable list even after a new request stream had started on it. When Nginx is proxying the request to a backend and running low on worker connections, it can close and free that connection while the request is still using it, corrupting the worker process memory.

CVE-2026-123007 is an integer underflow in HTTP/2 flow control. When an HTTP/2 stream is terminated, its unsent data is credited back to the connection’s flow-control window. A malicious client could push that window beyond its allowed maximum, breaking Nginx’s buffer size accounting and causing a heap buffer overflow. Researchers confirmed that this flaw allows remote code execution on Nginx serving ordinary static files, with no backend application or third-party modules needed.

One of the flaws had been hiding in the code for more than a decade: the integer underflow dates back to Nginx 1.9.5, released in 2015. The use-after-free flaw had been present for nearly six years.

Who Discovered Them, and How They Were Reported

The vulnerabilities were discovered independently by several research teams — Wiz Research, Ikotas Labs, Metnir, Rapid7 and Xint — and reported to F5 under responsible disclosure. Wiz reported the use-after-free flaw on 21 October 2026, including confirmed remote code execution with a bypass of address space layout randomisation (ASLR), a key memory protection. F5 confirmed that another team had already reported the same flaw, and supplied a patch for review on 10 November. Wiz reported the second flaw on 16 November, and F5 confirmed it the next day. Both fixes were released in a coordinated security update on 18 November.

Rapid7 has demonstrated unauthenticated remote code execution for CVE-2026-123007 with a proof of concept, and Wiz has also confirmed code execution. As of the disclosure date, there were no reports of the flaws being exploited in the wild, but public proof-of-concept code now exists, which raises the urgency for administrators to patch.

Three More Flaws in the Same Release

The same security release fixed three further vulnerabilities, and the five flaws have collectively been named “NGINX2Root” by researchers. The additional issues are CVE-2026-113425, a use-after-free flaw in the mail proxy module; CVE-2026-121810, a use-after-free flaw in HTTP/3; and CVE-2026-123634, a use-after-free flaw in the resolver. The researchers also reported chaining the Nginx flaws with a separate Linux kernel flaw, unpatched at the time of disclosure, to gain root privileges on the host in tests, including from Nginx running inside a container.

Affected versions are wide-ranging. For Nginx Open Source, CVE-2026-123007 affects versions 1.9.5 through 1.30.6 and 1.31.0 through 1.31.8, while CVE-2026-123633 affects versions 1.19.7 through 1.30.6 and 1.31.0 through 1.31.8. Nginx Plus versions in the R33 range and later are also affected.

Nginx security vulnerabilities patch now

What Administrators Should Do Now

The fix is straightforward: upgrade to the patched releases. For Nginx Open Source, the fixed versions are 1.30.7 (stable) and 1.31.9 (mainline). For Nginx Plus, the fixes are in releases 37.0.8.1 and 37.3.0.1. Organisations should identify every affected deployment, including servers hidden behind load balancers and containers, and apply the updates as soon as possible.

As a temporary mitigation, disabling HTTP/2 removes the exposure for the two critical flaws, although that may not be practical for busy production sites and does not address the other three vulnerabilities. Administrators should also watch for unusual worker process crashes or restarts, which can be a sign of exploitation attempts, and review logs for abnormal HTTP/2 traffic. Because Nginx is so widely deployed, security teams are treating this as a patch-now event — the window between public disclosure and active exploitation is often short.

Website Disclaimer

The information provided on this website is for general informational and educational purposes only. While we strive to ensure that all content is accurate and up to date, we make no guarantees regarding the completeness, reliability, or accuracy of any information published.

The views and opinions expressed in articles belong to their respective authors and do not necessarily reflect the views of this website. Any action you take based on the information found on this website is strictly at your own risk. We will not be liable for any losses, damages, or inconveniences arising from the use of our content.

Some articles may contain opinions, third-party information, or external links. We do not endorse or guarantee the accuracy of content on external websites and are not responsible for their practices or policies.

All content on this website is provided in good faith and is intended for informational purposes only. Readers are encouraged to verify information independently and seek professional advice where appropriate.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *