NGINX2Root Vulnerability Exposes Servers to Arbitrary File Overwrite and RCE
CrowdStrike has identified NGINX2Root, a critical vulnerability in NGINX, enabling arbitrary file overwrite and potential remote code execution.

CrowdStrike researchers have disclosed a critical vulnerability, tracked as CVE-2026-123007 and dubbed NGINX2Root, that impacts the widely-used NGINX web server. This flaw allows attackers to achieve arbitrary file overwrite, a capability that can be leveraged to execute arbitrary code on vulnerable systems, leading to a full compromise.
The vulnerability stems from how NGINX handles specific HTTP requests, particularly those involving file uploads or manipulations. When NGINX processes certain malformed requests, it can be tricked into writing data to unintended locations on the file system. This misdirection allows an attacker to overwrite critical configuration files, executable binaries, or other sensitive data, effectively gaining control over the server.
The potential impact of NGINX2Root is significant due to NGINX's pervasive use as a web server, reverse proxy, and load balancer across countless organizations globally. Successful exploitation could lead to widespread disruption, data breaches, and the deployment of further malicious payloads. The ability to overwrite arbitrary files is a powerful primitive for attackers, enabling them to escalate privileges, bypass security controls, or establish persistent access.
CrowdStrike's Falcon platform is equipped to detect and protect against NGINX2Root. The company has implemented specific indicators of compromise and behavioral detection rules to identify and block exploitation attempts. Users are advised to consult CrowdStrike's security advisories for detailed detection signatures and mitigation strategies.
While specific details on exploitation in the wild are still emerging, the critical nature of this vulnerability and its potential for remote code execution make it a prime target for threat actors. Organizations relying on NGINX are urged to apply any available patches or implement recommended workarounds as soon as possible.
This discovery underscores the ongoing security challenges associated with complex web server software. Even mature and widely adopted technologies like NGINX can harbor critical vulnerabilities that require diligent security research and prompt patching to mitigate risks. The arbitrary file overwrite capability makes NGINX2Root a particularly dangerous flaw, demanding immediate attention from system administrators and security teams.
This new article from Cloudflare provides additional context on the nginx2root vulnerabilities, detailing how their edge network is protected and how origins behind their proxy are shielded from the most severe HTTP/2 and HTTP/3 exploits. It also highlights CVE-2026-123007 as particularly concerning due to its long presence since nginx 1.9.5 and widespread affected versions, while noting that direct-facing nginx instances still require immediate patching.
New analysis from Censys indicates that approximately 8.8 million NGINX services remain potentially vulnerable to the NGINX2Root memory bugs, with CVE-2026-123007 being the most critical. While patches are available, a significant number of servers are still running affected versions, and the flawed code has existed since HTTP/2 was introduced in 2015. Researchers have also developed smaller test files to help defenders verify their patches without the need for extensive traffic generation.