Critical NGINX HTTP/2 Flaws Enable Remote Code Execution; Linux Bug Chain Can Yield Root Access

· Original article ↗

Summary

Researchers demonstrated remote code execution through two NGINX HTTP/2 flaws; one can be chained with a Linux kernel bug for root access. F5 fixed the flaws and three others in NGINX releases, and recommends upgrading.

Key points

  • CVE-2026-123007 is a flow-control flaw affecting NGINX versions 1.9.5 through 1.31.8; Wiz demonstrated unauthenticated remote code execution.
  • CVE-2026-123633 is a use-after-free flaw affecting versions 1.19.7 through 1.31.8 when HTTP/2 requests are proxied to a backend; Wiz also demonstrated remote code execution.
  • Xint demonstrated chaining an NGINX exploit with a separate Linux kernel SCTP flaw to escape a Docker container and gain host root access.
  • F5 fixed the two HTTP/2 flaws and three additional vulnerabilities in NGINX Open Source 1.30.7 stable and 1.31.9 mainline; NGINX Plus users should update to 37.0.8.1 or 37.3.0.1.
  • F5's update also addresses CVE-2026-118899, which can cause denial of service; the article says five additional vulnerabilities were included.
  • HTTP/2 must be enabled on an attacker-reachable listener for the two nginx2root flaws; CVE-2026-123633 also requires proxying to a backend. Disabling HTTP/2 temporarily mitigates only those two flaws.
  • Censys estimated 8.8 million services were potentially exposed to CVE-2026-123007 based on version and HTTP/2 support; actual exposure depends on configuration and backported fixes.

Article Details

Vulnerability Types
  • HTTP/2 flow-control bug causing worker memory corruption
  • Use-after-free
  • Infinite-loop denial of service while reading a request body over TLS 1.3
Severity
Critical for the two nginx2root vulnerabilities; high for CVE-2026-118899.
Affected Versions
  • NGINX 1.9.5 through 1.31.8 (CVE-2026-123007)
  • NGINX 1.19.7 through 1.31.8 (CVE-2026-123633)
Exploitation Status
reported
Exploit Availability
claimed_or_private
Patch Status
available
Workarounds
  • Temporarily disable HTTP/2 until an upgrade is possible; this mitigation covers only the two nginx2root flaws.

MITRE ATT&CK

CVE

People

Vendors

Products

Tools

Related Articles