Decade-Old NGINX HTTP/2 Flaw Can Enable Unauthenticated Code Execution

Summary
Researchers demonstrated unauthenticated code execution through a decade-old NGINX HTTP/2 flaw. NGINX fixed it and four related flaws in versions 1.31.9 and 1.30.7; no exploitation in the wild has been reported.
Key points
- CVE-2026-123007, dubbed nginx2root, has been present in NGINX open-source code since version 1.9.5; researchers demonstrated code execution through an accessible HTTP/2 service.
- Code execution runs with NGINX worker permissions. Reaching host root requires a separate privilege-escalation path; Xint demonstrated one using a Linux kernel SCTP flaw, including in a Docker test.
- NGINX versions 1.31.9 and 1.30.7 fix CVE-2026-123007 and four other flaws. The vendor also lists affected NGINX Plus releases and separate fixed builds.
- The flaws require particular configurations. Disabling HTTP/2 blocks CVE-2026-123007 and CVE-2026-123633, but not the other three flaws.
- No exploitation in the wild had been reported by the vendor or cited researchers, and the CVE was not listed in CISA's Known Exploited Vulnerabilities catalog at the time of the article.
- CIRCL recommends checking for unusual NGINX worker activity, abnormal exits, core dumps, heavy long-lived HTTP/2 connections, and unexpected outbound traffic; none is proof of exploitation on its own.
Article Details
- Vulnerability Types
- Unauthenticated remote code execution through NGINX HTTP/2
- Severity
- CVSS 4.0 score of 9.2 out of 10 for each of the five flaws
- Affected Versions
- NGINX open-source releases 1.9.5 through 1.31.8
- NGINX Plus 37.x releases before the fixed builds, and releases R34 through R36
- Exploitation Status
- not_reported
- Exploit Availability
- public_poc
- Patch Status
- available
- Workarounds
- Temporarily disable HTTP/2 to mitigate CVE-2026-123007 and CVE-2026-123633; this does not mitigate the other three flaws.
- For CVE-2026-123634, avoid SSI and mirror directives, and do not build a proxied server name from variables.
- For CVE-2026-113425, limit listeners to trusted networks.
- Disable HTTP/3 where it is used to remove the setup required for CVE-2026-121810.
- For hosts not using SCTP, block its kernel module from loading as a temporary mitigation for the separate Linux kernel SCTP bug; this does not affect an already loaded module or SCTP built into the kernel.
MITRE ATT&CK
CVE
CVE-2026-113425F5 · NGINX Open Source; F5 · NGINX Plusmirror directives, and do not build a proxied server name from variables. For the mail proxy flaw, CVE-2026-113425, limit listeners to trusted networks.CVE-2026-121810F5 · NGINX Open Source; F5 · NGINX Plusbut not the other three flaws. Turning off HTTP/3 where it is used removes the setup that CVE-2026-121810 needs.CVE-2026-123007F5 · NGINX Open Source; F5 · NGINX PlusThe decade-old flaw, CVE-2026-123007, dubbed "nginx2root," has been present in NGINX's open-source code since version 1.9.5, released on September 22, 2015. Fixed versions 1.31.9 and 1.30.7 came out today.CVE-2026-123633F5 · NGINX Open Source; F5 · NGINX Plusto NGINX's release notes. On NGINX Plus, 37.3.0.1 and 37.0.8.1 fix four of the flaws, and the CVE-2026-123633 fix was introduced in the earlier builds 37.2.0.1 and 37.0.7.1.CVE-2026-123634F5 · NGINX Open Source; F5 · NGINX PlusThe vendor lists workarounds for only two of the five flaws. For the resolver flaw, CVE-2026-123634, avoid SSI and mirror directives, and do not build a proxied server name from variables. For the mail proxy flaw,
Vendors
Products
DockerIn Xint's tests, code running as a worker could get root on the host through a separate bug in the Linux kernel's SCTP code, even when NGINX ran inside a Docker container.Linux kernelIn Xint's tests, code running as a worker could get root on the host through a separate bug in the Linux kernel's SCTP code, even when NGINX ran inside a Docker container.NGINXA flaw in NGINX's HTTP/2 support can allow an attacker to run code on servers with HTTP/2 enabled, without needing to log in.NGINX PlusNGINX Plus is affected too, in 37.x releases before the fixed builds and in R34 to R36, according to the vendor advisory.
