Decade-Old NGINX HTTP/2 Flaw CVE-2026-123007 Enables Unauthenticated Remote Code Execution

A critical vulnerability in NGINX's HTTP/2 implementation, tracked as CVE-2026-123007 and nicknamed nginx2root, has existed since version 1.9.5 released in 2015. The flaw allows unauthenticated attackers to execute arbitrary code on affected servers when HTTP/2 is enabled, provided ASLR can be bypassed or disabled. Researchers from Wiz and Xint demonstrated successful exploitation, with Xint achieving code execution using only a reachable HTTP/2 port. The vulnerability affects all open-source releases from 1.9.5 through 1.31.8 as well as multiple NGINX Plus versions. Patches are available in versions 1.31.9 and 1.30.7, and F5 has also addressed four additional related flaws that can lead to code execution under similar conditions. No in-the-wild exploitation has been observed yet, though public proof-of-concept code exists.

The Hacker NewsTranslated from English

Read at source

A decade-old flaw in NGINX HTTP/2 support can allow an unauthenticated attacker to execute arbitrary code on servers. The vulnerability, identified as CVE-2026-123007 and dubbed nginx2root, has been present in the open-source code since version 1.9.5 released on September 22, 2015.

F5, the company behind NGINX, released fixed versions 1.31.9 and 1.30.7 today. The flaw permits code execution when ASLR is turned off or can be bypassed. Security researchers at Wiz successfully bypassed ASLR and achieved code execution in their tests, while researchers at Xint executed code using nothing more than a reachable HTTP/2 port.

Code executed through the vulnerability runs with the privileges of an NGINX worker process. Elevating to root requires an additional privilege-escalation vector, according to CIRCL. In Xint tests, worker-level code obtained root via a separate Linux kernel SCTP bug, even inside a Docker container.

Affected Versions and Additional Flaws

Every open-source release from 1.9.5 through 1.31.8 is vulnerable. NGINX Plus versions 37.x before the fixed builds and R34 to R36 are also affected. The same updates address four more flaws that can lead to code execution under the same ASLR condition; all five issues received a CVSS 4.0 score of 9.2.

  • CVE-2026-123007 requires HTTP/2 enabled
  • CVE-2026-123633 requires HTTP/2 plus low worker_connections
  • CVE-2026-123634 requires variable-built proxied server names with SSI or mirror subrequests
  • CVE-2026-121810 requires HTTP/3 enabled
  • CVE-2026-113425 requires NGINX used as a mail proxy

Rapid7 analysis indicates the attack needs roughly 128 GB of HTTP/2 traffic and takes about two and a half minutes in demonstration conditions.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Vulns & Exploits

Microsoft Entra Connect Health Flaw Exploited to Access Tenant Metadata and Admin Emails
GnuPG Warns of Critical Double-Free Flaw in GPGME Exposing App Data to Malicious OpenPGP Keys
CISA Adds Four Critical Flaws in Apache Roller, Cisco Expressway, SAP NetWeaver, and VMware vCenter to Known Exploited Vulnerabilities Catalog