home › Forums › Device, App & Web Security › Other Web, App Security › NGINX Fixes Critical HTTP/2 Flaw Known as nginx2root

Viewing 1 post (of 1 total)
  • Posts
  • NGINX has released security updates to fix a critical HTTP/2 vulnerability that could allow attackers to remotely execute malicious code on affected web servers without authentication.

    The vulnerability, tracked as CVE-2026-123007 and known as nginx2root, has existed in NGINX for more than 11 years. It affects NGINX Open Source versions dating back to September 2015.

    F5, the company behind NGINX, released versions 1.31.9 and 1.30.7 on 18 November 2026 to address the vulnerability.

    The updates fix 10 security vulnerabilities in total, including five flaws identified by security researchers that could potentially allow remote code execution under different configurations.

    CVE-2026-123007 has a critical CVSS 4.0 severity score of 9.2. Successful exploitation could allow attackers to execute code with the permissions of an NGINX worker process.

    How the NGINX HTTP/2 Vulnerability Works

    NGINX is widely used as a web server, reverse proxy and load balancer. It handles incoming website traffic and can distribute requests across multiple backend applications.

    The CVE-2026-123007 vulnerability affects how NGINX manages HTTP/2 flow control, which regulates the amount of data transmitted between a client and server.

    An integer underflow in the HTTP/2 implementation can result in memory corruption, potentially allowing an attacker to execute malicious code remotely.

    According to F5, remote code execution is possible when Address Space Layout Randomisation (ASLR), a security mechanism designed to make memory attacks more difficult, is disabled or successfully bypassed.

    Security researchers at Wiz confirmed that they were able to bypass ASLR and achieve remote code execution in controlled tests.

    The researchers demonstrated the attack against NGINX servers running versions 1.31.7 and 1.31.8 with HTTP/2 enabled.

    Their findings showed that the vulnerability could be exploited even when NGINX was serving ordinary static website files, without requiring a vulnerable web application or additional third-party modules.

    This means websites running secure application software could still be exposed if the underlying NGINX installation is vulnerable.

    Which NGINX Versions Are Affected?

    NGINX’s official security advisory confirms that CVE-2026-123007 affects NGINX Open Source versions 1.9.5 through 1.31.8.

    The flaw dates back to NGINX 1.9.5, which introduced HTTP/2 support on 22 September 2015.

    NGINX Open Source installations can be protected by upgrading to version 1.31.9 on the mainline branch or version 1.30.7 on the stable branch.

    NGINX Plus, the commercial version of the software, is also affected.

    For CVE-2026-123007, the fixes are available in NGINX Plus versions 37.3.0.1 and 37.0.8.1, depending on the installed release branch.

    Older NGINX Plus releases, including R34, R35 and R36, are also affected. F5 has not listed fixes for these branches.

    However, running a vulnerable NGINX version does not automatically mean a server can be attacked through CVE-2026-123007.

    The vulnerability requires HTTP/2 to be enabled on an accessible NGINX listener.

    Servers that only accept HTTP/1.1 traffic are not exposed to this specific HTTP/2 vulnerability, although they may still be affected by other security flaws.

    NGINX Security Update Fixes 10 Vulnerabilities

    The NGINX 1.31.9 and 1.30.7 security releases address 10 vulnerabilities affecting different components of the web server.

    Five of these vulnerabilities are associated with the nginx2root research and can potentially allow remote code execution.

    Besides CVE-2026-123007, another vulnerability, CVE-2026-123633, also affects HTTP/2 connections.

    This second flaw involves a use-after-free condition when NGINX processes proxied requests while available worker connections are running low.

    Researchers from Wiz confirmed that both HTTP/2 vulnerabilities could allow remote code execution without authentication under the required conditions.

    Three other vulnerabilities affect different NGINX configurations.

    CVE-2026-121810 affects HTTP/3 processing, while CVE-2026-123634 involves the DNS resolver when specific proxy and subrequest configurations are used.

    CVE-2026-113425 affects NGINX installations configured as mail proxies.

    These five vulnerabilities have been assigned critical CVSS 4.0 scores of 9.2, although the NGINX project uses its own severity classifications.

    The remaining five security issues fixed in the same releases involve TLS 1.3 request processing, the PROXY protocol, alias configuration, client certificate validation and the SSL preread module.

    Not every vulnerability affects every installation, as exploitation depends on the enabled features and server configuration.

    Researchers Demonstrate NGINX Server Compromise

    Security researchers from Xint demonstrated how CVE-2026-123007 could be exploited to execute commands on a vulnerable NGINX server without authentication.

    The commands initially run with the permissions assigned to the NGINX worker process.

    However, the researchers also demonstrated how the vulnerability could be combined with a separate security flaw in the Linux kernel’s Stream Control Transmission Protocol (SCTP) implementation.

    In their tests, the combined attack allowed them to obtain root privileges on the underlying host system.

    The attack also worked against NGINX running inside a Docker container, allowing the researchers to escape the container and compromise the host.

    Xint reported successful demonstrations against test environments hosted on Amazon Web Services, Google Cloud Platform and Microsoft Azure.

    The findings do not mean that exploiting CVE-2026-123007 alone automatically provides root privileges.

    Gaining full control of the underlying host requires an additional privilege escalation vulnerability or another method of obtaining higher permissions.

    Rapid7 has also published proof-of-concept code for CVE-2026-123007.

    However, its demonstrated exploitation method requires specific system conditions and substantial amounts of HTTP/2 traffic. It should not be assumed that the same exploit will work against every vulnerable server.

    How to Fix the NGINX Vulnerability

    Administrators operating affected NGINX servers are advised to install the latest security updates.

    For NGINX Open Source, the patched releases are 1.31.9 for the mainline branch and 1.30.7 for the stable branch.

    Organisations using NGINX Plus should install an appropriate fixed release or consult F5 for guidance on affected older branches.

    Administrators using NGINX packages supplied through Linux distributions should check their distribution’s security advisories.

    This is important because Ubuntu, Debian and other Linux distributions may backport security patches without changing the main version number reported by NGINX.

    Administrators should also ensure the updated NGINX executable is running after applying a patch.

    A configuration reload alone may leave an older executable in memory, so a full restart or supported live binary upgrade may be required.

    For servers that cannot be updated immediately, temporarily disabling HTTP/2 can prevent exploitation of CVE-2026-123007 and CVE-2026-123633.

    On NGINX 1.25.1 and later, administrators can disable HTTP/2 using the http2 off; directive in affected server configurations.

    Older versions require removing the http2 parameter from the relevant listen directives.

    However, disabling HTTP/2 does not protect against the other vulnerabilities involving HTTP/3, DNS resolution or mail proxy processing.

    Websites using a content delivery network (CDN) should also review their origin server configurations.

    An origin server that only accepts HTTP/1.1 traffic cannot be attacked through CVE-2026-123007 using HTTP/2, even if the CDN supports HTTP/2 connections from website visitors.

    No Confirmed Attacks Reported Yet

    As of 19 November 2026, there have been no confirmed reports of attackers exploiting CVE-2026-123007 in real-world attacks.

    The vulnerability was also not listed in the US Cybersecurity and Infrastructure Security Agency’s Known Exploited Vulnerabilities catalogue at the time of reporting.

    Nevertheless, multiple security research teams have demonstrated successful exploitation in controlled environments.

    The availability of public proof-of-concept code also means that technical details of the vulnerability are accessible to other researchers and potential attackers.

    Administrators are advised to prioritise updates for internet-facing NGINX servers, particularly installations with HTTP/2 enabled.

    The vulnerability affects NGINX itself rather than the website applications it serves. As a result, updating WordPress, other content management systems or website plugins alone will not resolve the underlying web server flaw.

    0
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.