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

· Original article ↗

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

Vendors

Products

Related Articles