# Unauthenticated RCE in NGINX HTTP/2: CVE-2026-123633 (use-after-free) and CVE-2026-123007 (send_window integer underflow)

> Wiz Research disclosed two critical HTTP/2 vulnerabilities in NGINX Open Source and NGINX Plus that allow unauthenticated remote code execution, coordinated with F5's November 18, 2026 security release. Wiz built lab PoCs but has withheld them; no in-the-wild exploitation has been reported.

- **Published:** 2026-11-18T16:14:18Z
- **Last reviewed:** 2026-11-18T16:45:23.438Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-6349
- **ID:** TL-2026-6349
- **Severity:** CRITICAL (CVSS 9.2)
- **Category:** VULNERABILITY
- **Status:** PATCHED
- **Detections:** 9 (1 shown free below) · **IOCs:** 21
- **CVEs:** CVE-2026-123633, CVE-2026-123007

## Description

CVE-2026-123633 is an HTTP/2 connection use-after-free. A connection that is waiting for the rest of a HEADERS frame is marked reusable even though it has no active requests. ngx_http_v2_create_stream() increments h2c->processing but does not remove the connection from the reusable list. When free connection slots run low, ngx_drain_connections() can close that connection mid-request. If creating the GOAWAY frame then fails (for example at the internal frame limit), the error path frees the connection's memory while the request is still using it. The condition is most relevant when NGINX runs as a reverse proxy under connection-slot pressure. It affects NGINX OSS from 1.19.7 through 1.31.8 and NGINX Plus from R33 / 37.0.0. Fixes: OSS 1.30.7 (stable) and 1.31.9 (mainline); Plus 37.0.7.1 and 37.2.0.1.

CVE-2026-123007 is an HTTP/2 send_window integer underflow (memory corruption in HTTP/2 flow control). ngx_http_v2_filter_cleanup() returns unused window credit to h2c->send_window without checking the HTTP/2 maximum, so the counter can exceed the limit. The bounds check in ngx_http_v2_state_window_update() then underflows as an unsigned subtraction and wrongly permits further increases. The oversized value is converted to off_t in ngx_http_v2_send_chain() and becomes negative, and ngx_ssl_send_chain() then performs an out-of-bounds memory copy. This bug is reachable when NGINX serves content directly, not only as a proxy. Wiz demonstrated it over HTTPS on 64-bit systems with official 1.31.7 and 1.31.8 builds serving static files. Exploitation requires sending a large number of WINDOW_UPDATE frames. It affects OSS from 1.9.5 (2015) through 1.31.8 and Plus from R33 / 37.0.0. Fixes: OSS 1.30.7 and 1.31.9; Plus 37.0.8.1 and 37.3.0.1.

Both issues require HTTP/2 to be enabled and are described by Wiz as unauthenticated remote code execution. ASLR does not stop either bug, because the primitives can be used to read memory first. A CDN or WAF that terminates HTTP/2 in front of NGINX may block parts of the exploit. Wiz states that it has lab proofs of concept and is not releasing them. The article reports no in-the-wild exploitation and publishes no IOCs. Wiz and F5 give a shared CVSS 4.0 score of 9.2 (Critical) without a vector string; nginx.org lists the issues with its own severity labels (medium for CVE-2026-123633, major for CVE-2026-123007). The bugs were also found independently by Ikotas Labs, Metnir, Rapid7 and Xint. Wiz credits its Atlas harness for finding them.

Defenders should upgrade, or as an interim measure set 'http2 off;' (NGINX 1.25.1+) and remove the http2 parameter from listen directives. Wiz's detection guidance is general: investigate unexpected NGINX worker crashes and commands launched by NGINX (warning signs, not confirmed indicators), and watch for long-lived HTTP/2 connections sending large volumes of data, which may indicate CVE-2026-123007 activity.

## MITRE ATT&CK

- T1190 Exploit Public-Facing Application
- T1059 Command and Scripting Interpreter
- T1059.004 Unix Shell
- T1499.004 Application or System Exploitation
- T1499.002 Endpoint Denial of Service: Service Exhaustion Flood

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**NGINX Process Spawning Unix Shell (Post-Exploitation of CVE-2026-123633 / CVE-2026-123007)** (`TL-2026-6349-SPL-002`)

Detects a shell (sh, bash, dash, zsh, ash, ksh) whose parent is the nginx binary using Sysmon for Linux process-creation events. Wiz lists commands launched by NGINX as a post-exploitation warning sign for the unauthenticated RCE in the HTTP/2 stack. A web server worker should not normally fork interactive or command shells.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1059, T1059.004, T1190
- **Data sources:** sysmon:linux (index=linux), Sysmon for Linux EventCode 1
- **Severity:** critical
- **Confidence:** high

### Splunk SPL

```spl
index=linux sourcetype="sysmon:linux" EventCode=1 earliest=-24h ParentImage="*/nginx" (Image="*/sh" OR Image="*/bash" OR Image="*/dash" OR Image="*/zsh" OR Image="*/ash" OR Image="*/ksh") | stats count min(_time) AS first_seen max(_time) AS last_seen values(CommandLine) AS commands values(ParentCommandLine) AS parent_cmd BY host User Image | convert ctime(first_seen) ctime(last_seen)
```

### Microsoft KQL

```kql
DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName =~ "nginx"
| where FileName in~ ("sh", "bash", "dash", "zsh", "ash", "ksh")
| project Timestamp, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessCommandLine, InitiatingProcessParentFileName
```

### Sigma

```yaml
title: Shell Spawned by NGINX Process (CVE-2026-123633 / CVE-2026-123007)
id: 2b8e4f7a-91c3-4d65-a0e8-5c7d3f9b1a22
status: experimental
description: Detects a Unix shell launched directly by an nginx process, a post-exploitation sign for unauthenticated RCE in NGINX HTTP/2 handling.
references:
  - https://www.wiz.io/blog/nginx-http2-rce-vulnerabilities
author: Threadlinqs Team
date: 2026-11-18
tags:
  - attack.execution
  - attack.t1059
  - attack.t1059.004
  - attack.initial-access
  - attack.t1190
  - cve.2026-123633
  - cve.2026-123007
logsource:
  category: process_creation
  product: linux
detection:
  selection:
    ParentImage|endswith: '/nginx'
    Image|endswith:
      - '/sh'
      - '/bash'
      - '/dash'
      - '/zsh'
      - '/ash'
      - '/ksh'
  condition: selection
falsepositives:
  - Custom init or log-rotation hooks invoked by the nginx master process
  - Admin scripts run via nginx exec modules
level: high
```

**Known false positives:**

- Legitimate nginx-launched helper scripts such as logrotate postrotate or binary-upgrade hooks
- Operator troubleshooting that runs commands through an nginx exec module

**Tuning notes:** Allowlist known helper scripts by CommandLine for the nginx master process (not workers). Ensure Sysmon for Linux or auditd execve telemetry is deployed on every NGINX host and containers. Keep parent matching on '/nginx' to include both OSS and Plus builds.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- Long-Lived High-Volume HTTP/2 Session on [indicator] (CVE-2026-123007 WINDOW_UPDATE Abuse) (locked: unlock with TL Creds)
- [indicator] Process Dropping Files in Temp or Shared-Memory Paths (Payload Staging after CVE-2026-123633 / CVE-2026-123007) (locked: unlock with TL Creds)
- [indicator] Worker Crash Followed by Child Process Within 30 Minutes (CVE-2026-123633 / CVE-2026-123007 Exploit Chain) (locked: unlock with TL Creds)
- NGINX-Spawned Shell Download-and-Execute Command Line (Post-Exploitation of CVE-2026-123633 / CVE-2026-123007) (locked: unlock with TL Creds)
- NGINX-Spawned Reverse Shell One-Liner (CVE-2026-123633 / CVE-2026-123007 Post-Exploitation) (locked: unlock with TL Creds)
- [indicator] Connection-Slot Exhaustion Burst (CVE-2026-123633 Trigger Precondition) (locked: unlock with TL Creds)
- [indicator] Worker Process Crash Burst on Fatal Signal (CVE-2026-123633 / CVE-2026-123007 Exploitation) (locked: unlock with TL Creds)
- [indicator] Process Initiating Outbound Connection to Public IP (Possible Reverse Shell / Callback after CVE-2026-123633 / CVE-2026-123007) (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sources

- [Unauthenticated Remote Code Execution in NGINX: CVE-2026-123633 and CVE-2026-123007 (Wiz Research)](https://www.wiz.io/blog/nginx-http2-rce-vulnerabilities)
- [nginx security advisories](https://nginx.org/en/security_advisories.html)
- [F5 Advisory K000163928 - CVE-2026-123633 Use-after-free in HTTP/2](https://my.f5.com/manage/s/article/K000163928)
- [F5 Advisory K000163926 - CVE-2026-123007 Memory corruption in HTTP/2 flow control](https://my.f5.com/manage/s/article/K000163926)
- [CVE record: CVE-2026-123633](https://www.cve.org/CVERecord?id=CVE-2026-123633)
- [CVE record: CVE-2026-123007](https://www.cve.org/CVERecord?id=CVE-2026-123007)
- [NGINX ngx_http_v2_module documentation (http2 directive)](https://nginx.org/en/docs/http/ngx_http_v2_module.html)
- [NGINX source, release-1.30.6 src/http/v2 (ngx_http_v2.c)](https://github.com/nginx/nginx/tree/release-1.30.6/src/http/v2)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-6349
