NGINX2Root Flaws Enable Remote Code Execution, Root Escalation and Container Escape

· Original article ↗

Summary

The post describes five nginx CVEs, including unauthenticated HTTP/2 RCE and a demonstrated chain to root and Docker host escape, lists affected and fixed versions, and recommends patching; CrowdStrike says it has observed no attributable customer compromises.

Key points

  • NGINX2Root comprises five nginx CVEs. CVE-2026-123007 and CVE-2026-123633 are rated CVSS 9.2; affected versions and required configurations vary.
  • CVE-2026-123007 can allow unauthenticated remote code execution via crafted HTTP/2 traffic. Researchers demonstrated chaining an nginx compromise with a Linux kernel SCTP flaw to gain root and escape a Docker container.
  • The article says a public proof of concept for CVE-2026-123007 requires about 128 GB of HTTP/2 data, limiting opportunistic exploitation, but not ruling out targeted attacks.
  • For nginx Open Source, the recommended fixed releases are 1.31.9 or 1.30.7; nginx Plus fixes are 37.3.0.1 or 37.0.8.1. Restart the service after patching.
  • Disabling HTTP/2 can temporarily mitigate CVE-2026-123007 and CVE-2026-123633, but does not address the other three CVEs and may disable gRPC on those ports.
  • CrowdStrike describes behavioral post-exploitation detections and exposure tools; it cautions that version-banner scans can miss masked versions or flag packages with backported fixes.
  • CrowdStrike reports that it had observed no customer compromises attributable to NGINX2Root as of publication.

Article Details

Vulnerability Types
  • Integer underflow
  • Memory corruption
  • Remote code execution
  • Linux kernel SCTP privilege escalation
Severity
Critical; CVE-2026-123007 and CVE-2026-123633 each have a CVSS 4.0 score of 9.2.
Affected Versions
  • nginx Open Source >1.31.0–1.31.8
  • nginx Open Source 1.9.5–1.30.6
  • NGINX Plus 37.1.0–37.2.0.1
  • NGINX Plus 37.0.0–37.0.7.1
  • NGINX Plus R34–R36
  • nginx Open Source 1.0.0–1.30.6
  • nginx Open Source 0.6.18–0.8.55
  • nginx Open Source 1.19.7–1.30.6
  • NGINX Plus 37.1.0–37.2.0
  • NGINX Plus 37.0.0–37.0.6.1
  • nginx Open Source 1.25.0–1.30.6
  • nginx Open Source 0.5.33–1.30.6
  • NGINX Plus 37.0.0–37.0.7
  • NGINX Plus R33–R36
Exploitation Status
reported
Exploit Availability
public_poc
Patch Status
partial
Workarounds
  • Temporarily disable HTTP/2 on affected listening ports; this mitigates CVE-2026-123007 and CVE-2026-123633 but not the other three NGINX2Root CVEs.

MITRE ATT&CK

T1003.008 · /etc/passwd and /etc/shadowThe article identifies reads of /etc/passwd and /etc/shadow from within the nginx process tree as post-exploitation activity.T1049 · System Network Connections DiscoveryThe article lists netstat among reconnaissance commands that may be run from a shell spawned under the nginx worker.T1059.004 · Unix ShellThe article describes shells spawned under a compromised nginx worker as post-exploitation activity.T1068 · Exploitation for Privilege EscalationThe demonstrated chain exploits a Linux kernel SCTP flaw to elevate from the nginx worker account to root.T1082 · System Information DiscoveryThe article lists commands including hostname and uname as reconnaissance that may be run from a shell spawned under the nginx worker.T1098.004 · SSH Authorized KeysThe article describes modifying authorized keys via a shell spawned under the nginx worker.T1105 · Ingress Tool TransferThe article describes using common binaries to retrieve secondary payloads from external hosts after a web-server compromise.T1190 · Exploit Public-Facing ApplicationThe described exploit sends crafted HTTP/2 traffic to a public-facing nginx instance to obtain unauthenticated code execution.T1505.003 · Web ShellThe article describes webshell activity involving script files written to web-accessible directories after compromise.T1562.001 · Disable or Modify ToolsThe article describes attempts to stop, disable, or remove endpoint security software from a web-service process context.T1611 · Escape to HostResearchers demonstrated escaping a Docker container running nginx to reach the underlying host.

CVE

Vendors

Products

Related Articles