CVE-2026-123007: NGINX HTTP/2 Flow-Control Integer Underflow (NGINX2Shell)
- Vendors
- Red HatF5
CVE-2026-123007 is an integer-underflow vulnerability in ngx_http_v2_module affecting NGINX Plus and NGINX Open Source configurations with HTTP/2 enabled. Stream cancellation returns unsent data to a flow-control counter without adequately enforcing the protocol maximum or accounting for queued data during subsequent WINDOW_UPDATE validation. The resulting arithmetic wraparound can produce an invalid send length and an out-of-bounds memory copy, potentially causing heap corruption, information disclosure, or an NGINX worker segmentation fault. Remote code execution is possible when ASLR is disabled or bypassed. The flaw was introduced in NGINX 1.9.5 and is one of two HTTP/2 vulnerabilities collectively called NGINX2Shell. Exposure is limited to the data plane; there is no control-plane exposure.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Unauthenticated remote attackers can corrupt NGINX worker memory, crash worker processes, and disrupt service. Successful exploitation may disclose process memory or execute arbitrary code with NGINX worker-process privileges, potentially compromising data accessible to that account. Code execution requires ASLR to be disabled or bypassed. Root access and container escape are not inherent consequences; demonstrated host-level privilege escalation additionally required a separate Linux kernel vulnerability.
Mitigation
If you can’t patch tonight, do this now.
Until patched, disable HTTP/2 on every affected listener by removing the legacy http2 parameter from listen directives or setting standalone http2 directives to off, according to the deployed version's syntax. Validate the configuration, fully restart the affected service, and verify that old workers have exited and exposed listeners no longer negotiate HTTP/2. A front end that terminates HTTP/2 and forwards only HTTP/1.1 can reduce exposure if direct access to backend HTTP/2 listeners is blocked. Do not rely on HTTP request-level WAF rules to block this protocol-layer flaw. F5 specifies no vendor workaround; disabling HTTP/2 is a configuration-based exposure reduction, not a patch.
Remediation
Patch, then assume compromise.
Upgrade NGINX Open Source to stable 1.30.7, mainline 1.31.9, or a later fixed release in the applicable branch. Upgrade NGINX Plus 37.x to 37.0.8.1 or 37.3.0.1, as appropriate; migrate R34–R36 installations to a supported fixed release because no fixed R-series build is listed. For distribution packages, container images, and products bundling NGINX, deploy the supplier's corrected build rather than independently replacing embedded components. Perform a full service restart after upgrading and verify that no vulnerable workers remain running.
Exploits
14 exploits validated by Mallory's analysis. Hidden: 33 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-123007 exploited in the wild?
- Yes. As of Nov 28, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2026-123007?
- Yes. Mallory tracks 14 public exploits or proofs of concept for CVE-2026-123007, the earliest disclosed Nov 18, 2026.
- Is there a patch for CVE-2026-123007?
- Upgrade NGINX Open Source to stable 1.30.7, mainline 1.31.9, or a later fixed release in the applicable branch. Upgrade NGINX Plus 37.x to 37.0.8.1 or 37.3.0.1, as appropriate; migrate R34–R36 installations to a supported fixed release because no fixed R-series build is listed.
- What products are affected by CVE-2026-123007?
- F5 Nginx Plus, Red Hat 3scale Api Management Platform, F5 Dos, Red Hat Hardened Images, F5 Nginx Gateway Fabric, and 4 more.
- How severe is CVE-2026-123007?
- CVE-2026-123007 has a CVSS v4 score of 9.2 (Critical) and an EPSS score of 46.1% (99th percentile) as of Nov 28, 2026.
Recent activity
791 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.