For more than a decade, a flaw in how nginx handles HTTP/2 flow control went unnoticed. On 18 November 2026, F5 disclosed CVE-2026-123007, a critical vulnerability that allows an unauthenticated attacker to execute arbitrary code on affected servers under certain conditions.
The vulnerability forms part of a wider group of security flaws dubbed nginx2root, discovered through research involving AI-assisted vulnerability discovery and independent security investigations.
With nginx widely deployed as a web server, reverse proxy and load balancer, the potential exposure extends across cloud infrastructure, containerised applications and enterprise networks.
A patch is available, and researchers have already demonstrated successful remote code execution (RCE). For security teams, understanding the conditions required for exploitation is essential to assessing exposure and detecting suspicious activity.
CVE-2026-123007 at a Glance
The vulnerability also affects certain nginx Plus releases. Administrators should consult F5's official security advisory for product-specific remediation guidance.
Inside the nginx HTTP/2 Flow-Control Flaw
HTTP/2 allows multiple requests and responses to share a single connection. To prevent either endpoint from becoming overwhelmed with data, the protocol uses flow control to regulate how much information can be transmitted.
nginx maintains counters that track how much response data it is permitted to send. When queued data is cancelled, the server returns unused transmission credit to the connection.
The vulnerability lies in how nginx handles this accounting.
Under certain conditions, it restores credit without correctly enforcing the protocol's upper limit. Subsequent arithmetic operations can underflow, leaving the connection with an invalid flow-control value.
The problem becomes particularly serious when that value is interpreted as a signed response length. During TLS response processing, nginx can attempt to copy data using an invalid memory size, resulting in out-of-bounds memory access.
Depending on the affected build and runtime conditions, this can expose process memory, crash a worker or provide the attacker with a means of executing arbitrary code.
Rapid7's research demonstrates successful exploitation against an official NGINX 1.31.8 Linux Docker image. The findings highlight how an error in protocol-level accounting can develop into a serious memory-safety vulnerability.
How Far Can an Attacker Get?
Successful exploitation of CVE-2026-123007 allows code execution with the privileges of the nginx worker process.
Those privileges determine which resources an attacker could access. Depending on the deployment, a compromised worker could expose application data, accessible configuration files or credentials available within its execution environment.
- The worker's network access may also create opportunities to reach internal services.
The wider nginx2root research demonstrated an even more serious outcome. Researchers combined nginx exploitation with a separate Linux kernel vulnerability to escape a container and obtain root privileges on the underlying host.
Why Exploitation Is Technically Demanding
Despite its critical severity rating, the vulnerability has a high attack complexity.
Rapid7 reported that its demonstrated RCE technique required approximately 128 GB of HTTP/2 traffic. Successful exploitation also depended on characteristics of the target environment, including its memory layout and runtime implementation.
Network bandwidth, connection limits and intermediary infrastructure can affect whether the demonstrated technique succeeds.
These constraints are relevant to exposure assessments, although the availability of a working public proof of concept makes patching a priority. Further research could uncover different exploitation techniques with fewer requirements.
Which NGINX Deployments Are at Risk?
The immediate concern is vulnerable nginx instances configured to accept HTTP/2 connections.
Security teams should review where nginx operates throughout their infrastructure, particularly deployments that sit outside conventional server inventories.
These may include:
- Internet-facing web servers and reverse proxies.
- Kubernetes ingress controllers and containerised applications.
- API gateways and internal application infrastructure.
- Third-party products that bundle nginx as a dependency.
Establish where HTTP/2 connections terminate and whether traffic reaches an affected nginx instance.
A CDN or load balancer may change the exposure of an origin server, depending on how it processes and forwards traffic. Review the actual connection path before relying on an intermediary as protection.
Container images and distribution-maintained packages also deserve attention. Their version strings may differ from upstream releases, particularly where security fixes have been backported.
Detecting Suspicious HTTP/2 Activity
CVE-2026-123007 operates at the protocol and memory-processing level, making conventional web attack detection more challenging. Standard access logs may omit the HTTP/2 frame activity associated with exploitation.
Defenders should correlate network behaviour with server logs and endpoint telemetry.
Individually, these signals may have legitimate explanations. A high-volume connection could reflect a normal application workload, while a worker crash could result from an unrelated software fault.
Correlating multiple events can provide a stronger basis for investigation, especially when unusual network activity precedes suspicious process execution.
Where HTTPS limits protocol visibility, defenders should establish which telemetry is available at the point of TLS termination and on the affected host.
Patching and Mitigating CVE-2026-123007
nginx released fixes for the vulnerability on 18 November 2026 in versions 1.30.7 and 1.31.9.
Administrators should upgrade to a current supported release containing the fix or obtain an appropriate security update from their package maintainer.
The official nginx security advisories provide the affected version ranges and corresponding fixes.
Where an immediate upgrade is impractical, temporarily disabling HTTP/2 on affected listeners can mitigate this particular vulnerability. Assess the operational impact before making the change.
After remediation, verify the running version and configuration across the affected infrastructure, including replicas and container images.
The November disclosure also addressed several other NGINX vulnerabilities, including CVE-2026-123633, a separate HTTP/2 use-after-free flaw. Review the complete security release when planning remediation.
Investigate nginx2root in a Controlled Environment With TryHackMe
Memory-corruption vulnerabilities can be difficult to understand from an advisory alone, particularly when their behaviour depends on protocol internals and runtime conditions.
Our new nginx: CVE-2026-123007 room takes you through the vulnerability in a dedicated, controlled lab based on the published research.
Designed for experienced penetration testers and blue-team practitioners, the room covers:
- HTTP/2 flow control and the memory-corruption flaw behind CVE-2026-123007.
- Reproducing worker-level code execution in an authorised lab.
- Understanding the role of memory protections such as ASLR.
- Building behavioural detections and evaluating remediation measures.
The room is rated Hard and is available to TryHackMe MAX subscribers.
Working through the vulnerability from both offensive and defensive perspectives gives you practical experience investigating a class of attacks where familiar web-security signatures may offer limited visibility.
Ayomide Joseph A.