> ## Content Index
> Fetch the complete content index at: https://www.stirup.si/llms.txt
> Use this file to discover other available public pages before exploring further.

# Decade-Old NGINX Flaw Allows Remote Code Execution
- URL: https://www.stirup.si/decade-old-nginx-flaw-allows-remote-code-execution-04e49dcb/
- Published: 2026-11-19T21:49:24.000Z
- Updated: 2026-11-19T21:49:24.000Z
- Description: A 10-year-old vulnerability in NGINX's HTTP/2 implementation, CVE-2026-123007, allows unauthenticated attackers to execute arbitrary code on affected servers if left unpatched.
- Author: Satish Das
- Tags: Security, Analysis, Stirup Research

## Overview of the Vulnerability and Its Discovery

A decade-old flaw in NGINX, designated CVE-2026-123007 and nicknamed 'nginx2root,' has been present in the open-source code since version 1.9.5, released on September 22, 2015, according to evidence. This vulnerability allows unauthenticated attackers to execute arbitrary code on affected servers. The issue was independently identified by researchers from multiple organizations, including Xint, Wiz, Ikotas Labs, Metnir, and Rapid7, as reported in an article by Bill Toulas on November 19, 2026\. The vulnerabilities are specific to HTTP/2 implementations and can be chained with a Linux kernel bug to achieve full root access. Xint also uncovered three additional remote code execution (RCE) flaws in NGINX. The discovery highlights the long-standing nature of the flaw and the potential for exploitation if left unpatched.

## Technical Details and Attack Vectors

A 10-year-old flaw in NGINX's HTTP/2 implementation has resurfaced as a potential security risk. The vulnerability, identified as CVE-2026-123007, stems from a flow-control bug that can corrupt memory in an NGINX worker process. This flaw could allow unauthenticated attackers to execute arbitrary code on affected servers, particularly in environments where Address Space Layout Randomization (ASLR) is disabled or can be bypassed, as noted by F5, the company behind NGINX.

- CVE-2026-123007: A flow-control bug that corrupts memory in NGINX worker processes.
- CVE-2026-123633: A use-after-free vulnerability that affects NGINX when handling HTTP/2 connections and proxying requests to a backend.

## Mitigation Strategies and Fixes

Mitigation strategies for the 10-year-old NGINX HTTP/2 flaw involve either disabling HTTP/2 or upgrading to a secure version. According to CIRCL's response guidance, turning off HTTP/2 is a temporary mitigation until an upgrade is possible. System administrators are advised to upgrade immediately to the latest NGINX release or disable HTTP/2 in affected server blocks by setting `http2 off` and removing `http2` from listen directives on NGINX 1.25.1 and later. These steps prevent unauthenticated attackers from exploiting the vulnerability to execute code on servers. The recommendations emphasize that upgrading is the most effective long-term solution, while disabling HTTP/2 serves as a short-term workaround. Administrators should follow official NGINX documentation for precise configuration changes and ensure all dependencies are updated to avoid residual risks.

## Impact and Real-World Exposure

The impact of the 10-year-old NGINX HTTP/2 flaw, CVE-2026-123007, is significant, with Censys estimating that approximately 8.8 million NGINX services were potentially exposed as of November 19, based on affected version numbers and HTTP/2 support \[[bleepingcomputer.com](https://www.bleepingcomputer.com/news/security/critical-nginx-nginx2root-bugs-let-attackers-hijack-servers/?ref=stirup.si)\]. However, the company also notes that more than 511,000 of these services have already been patched or mitigated \[[bleepingcomputer.com](https://www.bleepingcomputer.com/news/security/critical-nginx-nginx2root-bugs-let-attackers-hijack-servers/?ref=stirup.si)\]. A challenge remains with the 104 million NGINX services that do not disclose their versions, making it difficult to assess their vulnerability status. Roth’s analysis of a sample of NGINX HTTPS endpoints from Shodan found that roughly 66% support HTTP/2, but confirming actual exposure requires checking the server’s configuration and whether a fix has been backported \[[bleepingcomputer.com](https://www.bleepingcomputer.com/news/security/critical-nginx-nginx2root-bugs-let-attackers-hijack-servers/?ref=stirup.si)\].

## Proof-of-Concept and Attack Requirements

Proof-of-concept code for the 10-year-old NGINX HTTP/2 flaw is publicly available on GitHub, though its notes specify it is suitable only for demonstrating the attack against a freshly started Docker container on the same machine, according to [The Hacker News](https://thehackernews.com/2026/11/10-year-old-nginx-http2-flaw-lets.html?ref=stirup.si). Wiz demonstrated unauthenticated remote code execution on a server hosting ordinary static files over HTTP/2 with TLS, while Xint achieved root access by chaining the flaw with a separate Linux kernel vulnerability, as noted in [bleepingcomputer.com](https://www.bleepingcomputer.com/news/security/critical-nginx-nginx2root-bugs-let-attackers-hijack-servers/?ref=stirup.si). Rapid7’s technical analysis indicates that its version of the attack requires approximately 128 GB of HTTP/2 traffic, per [The Hacker News](https://thehackernews.com/2026/11/10-year-old-nginx-http2-flaw-lets.html?ref=stirup.si). These demonstrations highlight the potential severity of the flaw, though the specific conditions required for exploitation may limit its real-world applicability.

## Sources and reporting notes

- [The Hacker News](https://thehackernews.com/2026/11/10-year-old-nginx-http2-flaw-lets.html?ref=stirup.si)
- [bleepingcomputer.com](https://www.bleepingcomputer.com/news/security/critical-nginx-nginx2root-bugs-let-attackers-hijack-servers/?ref=stirup.si)

Based on published source material. No independent hands-on testing is claimed.