1. Executive summary
CVE-2026-123633 is a use-after-free in NGINX's HTTP/2 module (ngx_http_v2_module), scored 9.2 Critical under CVSS 4.0 by F5, that an unauthenticated client can reach by sending a fragmented HTTP/2 request that leaves a live connection marked reusable; when worker connection slots run low, NGINX reclaims the connection and frees resolver state the request still uses. F5's CVE record says the flaw may cause a denial of service and that code execution may be possible when ASLR is disabled or bypassed. Unit 42 reproduced the use-after-free under AddressSanitizer on unmodified NGINX 1.31.7 and 1.31.8 and, chaining it with a separate memory disclosure F5 has not assigned a CVE, achieved pre-authentication remote code execution as the non-root worker under a non-default configuration. Affected releases are 1.19.7 through 1.30.6 and 1.31.0 through 1.31.8; the fix is in 1.30.7 (stable) and 1.31.9 (mainline). The CVE is not in CISA KEV and no source reports exploitation in the wild, but EPSS stands at 22% and any EMEA financial firm terminating HTTP/2 on an exposed NGINX reverse proxy should treat the upgrade as urgent.
2. Regulatory framing
| Article | Trigger (the fact in this item) | Practical impact |
|---|---|---|
| DORA Art. 28: ICT third-party risk — general principles | The fix ships only in NGINX 1.30.7 / 1.31.9 and in NGINX Plus releases that F5 lists; firms running distribution-packaged or vendor-managed NGINX depend on a third party to backport CVE-2026-123633. | Confirm with each NGINX supplier and hosting provider whether their build contains the fix, and record the answer against the third-party register. |
| DORA Art. 30: key contractual provisions with ICT third-party providers | Where NGINX is delivered as a managed service or appliance, the client cannot patch it directly and must rely on the provider's remediation commitment. | Check that the contract obliges the provider to notify and remediate a 9.2 Critical flaw within an agreed window, and invoke that clause now. |
| NIS2 Art. 21(2)(d): supply chain security measures | The same dependency on upstream NGINX builds and distribution backports is a supply chain exposure for essential and important entities. | Map which internet-facing services run NGINX with HTTP/2 and verify the supplier's patch status as a supply chain control. |
3. Technical analysis & attack chain
The defect is a connection-state error in NGINX's HTTP/2 handling. NGINX marks a connection reusable so it can close it under pressure. Stream creation should clear that mark once a request starts, but ngx_http_v2_create_stream() leaves it set in affected releases. When a client sends only part of an HTTP/2 HEADERS frame header, ngx_http_v2_handle_connection() marks the connection reusable and returns early. The client then sends the remaining header bytes; ngx_http_v2_create_stream() builds a live stream and increments the active stream counter but returns with the reusable mark still set. NGINX now has a live request on a connection its cleanup logic still considers reusable. The 1.30.7 and 1.31.9 fixes clear the mark at stream creation with ngx_reusable_connection(h2c->connection, 0).
Confirmed steps, as reproduced by Unit 42:
- The client sends a partial HTTP/2 HEADERS frame header, which marks the connection reusable.
- The client sends the remaining header bytes; NGINX creates a stream with the reusable mark still set.
- The request uses an HTTP/2 proxy route with a variable upstream hostname that is neither a literal IP nor a configured upstream group, so NGINX resolves it during the request and opens a new resolver UDP socket.
- Opening the DNS socket needs a connection slot, so ngx_get_connection() runs a drain check. ngx_drain_connections() acts once free slots fall to one sixteenth of worker_connections or below while at least one reusable connection exists; it selects entries from the tail of the reusable queue, sets each connection's close flag and calls its read handler.
- The client closes its socket with zero linger after completing the frame. When the drain fires, the HTTP/2 read handler tries to send GOAWAY; the write fails with Connection reset by peer, so NGINX finalizes the connection and request.
- Request cleanup reaches ngx_resolve_name_done(), which frees the resolver state while the original lookup still holds a pointer to it. In ngx_resolve_name_locked(), the DNS send runs before timeout setup; the send drains the connection and frees ctx, and ngx_resolver_set_timeout() then reads the stale pointer. Source review showed that, if execution continues past the read, ngx_resolver_set_timeout() can also write ctx->event and ctx->ident through that stale pointer.
The ASan free stack passes through ngx_drain_connections(), ngx_http_v2_finalize_connection(), ngx_http_upstream_finalize_request() and ngx_resolve_name_done(). In the reported run the researcher split the 9-byte HEADERS frame header after 5 bytes; the control, sending the full frame header first and then the HPACK block, left NGINX running.
Test conditions and limits. The ASan work ran on an isolated Debian 13 guest, NGINX built from official 1.31.7 and 1.31.8 source with Clang 19.1.7, HTTP/2, ASan and UndefinedBehaviorSanitizer, over loopback. The 1.31.8 run set worker_connections to 16 (against the documented default of 512), opened 13 filler connections and ran with master_process off. A source build includes the HTTP/2 module only when configured with --with-http_v2_module; distribution packages commonly enable it. The public fix commit also names upstream connection setup as a drain trigger, so static upstream routes still need review even though the researcher tested only proxy_pass.
Code execution. Unit 42 achieved pre-authentication remote code execution on a target VM as the non-root NGINX worker (www-data) by chaining CVE-2026-123633 with a separate memory disclosure that leaked a libc pointer, which the researcher used to calculate the libc base and work around ASLR. The chain required a non-default NGINX configuration and some attempts did not open a shell. F5 assessed the memory disclosure as a behaviour limited to a non-typical configuration and has not assigned it a CVE; the researcher withheld its details and the exploit steps. This RCE chain is single-sourced to Unit 42 and has not been independently reproduced in the material reviewed here; treat it as a demonstrated but configuration-dependent path, not a general-purpose exploit.
CVE-2026-123634 is a separate DNS resolver vulnerability fixed in the same release and is not part of this connection-state defect. The wider November 18 NGINX release also fixed CVE-2026-123007 (HTTP/2 flow-control integer underflow, public PoC from Rapid7), CVE-2026-121810 (HTTP/3), CVE-2026-113425 (mail proxy) and five lower-scored flaws; those are separate CVEs with their own mechanisms and are outside this advisory's scope.
Severity discrepancy. F5's CVE record scores CVE-2026-123633 9.2 Critical under CVSS 4.0 and 8.1 High under CVSS 3.1. The NGINX security advisories page labels the issue Medium. The verified score is 9.2 Critical; the vendor's own advisory page rates it lower, and clients should note the gap rather than assume the lower figure.
Exploitation state. CVE-2026-123633 is not in CISA KEV. No source reviewed reports exploitation in the wild. EPSS is 22%.
4. Mitigation & containment
P1 (within 24 hours)
- Upgrade NGINX Open Source to 1.30.7 (stable) or 1.31.9 (mainline), or apply a distribution backport that covers CVE-2026-123633. NGINX Plus users should move to the fixed Plus releases F5 lists; CERT-FR names NGINX Plus 3.7.3.0.1 and 37.0.8.1 as the fixed builds for the affected Plus ranges.
- Perform a full restart or live binary upgrade after patching. A configuration reload (nginx -s reload) keeps the old binary running in memory, so the fix is not active until the worker is replaced.
- Confirm the running worker uses a binary containing the fix, and check the master process command line for a -c override before assuming the packaged configuration path is the live one. nginx -T prints the on-disk configuration, which can still differ from what the running workers loaded.
- Identify every internet-facing NGINX instance that terminates HTTP/2 and reverse-proxies to a backend. Prioritise routes where the upstream hostname is a variable resolved at request time.
P2 (within 72 hours)
- Where an upgrade must wait, disable HTTP/2 on exposed listeners. Check every listen ... http2 parameter and, on NGINX 1.25.1 or later, any http2 on; setting in the http or server context; either can keep HTTP/2 enabled. Disabling HTTP/2 can break gRPC clients and may raise connection use if other traffic falls back to HTTP/1.1, which can push the same worker closer to its worker_connections limit.
- Review variable targets beyond proxy_pass in grpc_pass, fastcgi_pass, uwsgi_pass and scgi_pass, and check how close each worker runs to its connection limit.
- Raise worker_connections for headroom where HTTP/2 must stay on. This does not remove the bug; an attacker can still exhaust the extra slots.
- Set error_log to warn or a more detailed level (notice or info) so connection-drain warnings are captured; NGINX defaults to error level, which omits warnings.
P3 (within 7 days)
- Test each configuration change before deployment, including the HTTP/2 disable path, and verify with openssl s_client -connect HOST:443 -servername HOST -alpn h2 that ALPN no longer negotiates h2 where HTTP/2 was disabled.
- Hunt historical logs for the connection-drain warning correlated with request-time DNS traffic and unexpected worker exits (see §6).
No workaround is listed in the CVE-2026-123633 record. The HTTP/2 disable and worker_connections changes reduce exposure; they do not fix the defect.
5. Indicators of compromise
No confirmed indicators of compromise were produced by this research. The source lists the following as investigation leads, not atomic indicators.
| type | value | confidence | source |
|---|---|---|---|
| behaviour | Unexpected shell processes running as the NGINX worker account | low | Unit 42 |
| behaviour | Unexpected NGINX process termination near HTTP/2 traffic and connection pressure | low | Unit 42 |
| behaviour | Connection-drain warning containing "worker_connections are not enough, reusing connections" | low | Unit 42 |
Behavioural indicators
| behaviour | where to observe | confidence |
|---|---|---|
| Unexpected shell process running as the NGINX worker account (e.g. www-data) | EDR process telemetry on NGINX hosts | low |
| Unexpected NGINX worker exit near HTTP/2 requests and connection pressure | NGINX error log, systemd/service logs | low |
| "worker_connections are not enough, reusing connections" logged at warn level, at most once per second per worker | NGINX error log at warn or higher | low |
The connection-drain warning and DNS traffic can also occur under ordinary load, and a worker exit on its own is weak evidence of exploitation. A release build may keep running after reading freed memory.
6. Detection
The source gives no file artefacts, hashes or command lines for the exploit itself, so a YARA rule on malicious content is not supportable. Detection rests on log and behavioural signals. The Sigma rule below matches the connection-drain warning the source records; tune the level and correlate with request-time DNS and worker state before alerting.
title: NGINX HTTP/2 connection-drain warning (CVE-2026-123633 hunting)
id: 8f3c2a10-6b7e-4d21-9a55-0c1e2f7d9b44
status: experimental
description: Matches the NGINX warn-level connection-drain message recorded during CVE-2026-123633 testing. Weak signal on its own; correlate with request-time DNS resolution and unexpected worker exits.
author: Adverse Trace
date: 2026-11-25
references:
- https://unit42.paloaltonetworks.com/cve-2026-123633-nginx-http2-vulnerability/
logsource:
product: nginx
service: error
detection:
keywords:
- 'worker_connections are not enough, reusing connections'
condition: keywords
falsepositives:
- Ordinary connection pressure under high load
level: low
Hunting guidance. Correlate the warning with resolver traffic and connection pressure on routes that resolve at request time, and with unexpected worker exits. The warning is logged at most once per second per worker, so one line can cover several drain calls. Network detection of HTTP/2 control frames requires cleartext h2c or decrypted telemetry; encrypted traffic reveals only volume and timing, which are not specific to this CVE.
CVE assessment
2 referenced CVEs — 2 critical (CVSS ≥ 9.0)
| CVE | CVSS | Exploited | EPSS | Summary |
|---|---|---|---|---|
| CVE-2026-123633 | 9.2 Critical | — | 22% | When NGINX Plus or NGINX Open Source is configured to use HTTP/2 for client connections and proxy client requests to a backend,… |
| CVE-2026-123634 | 9.2 Critical | — | 19% | This issue occurs when NGINX Plus or NGINX Open Source is configured as a proxy, the proxied server name includes variables, an… |
7. Sources
- Palo Alto Networks Unit 42, "NGINX HTTP/2 Use-After-Free: CVE-2026-123633", https://unit42.paloaltonetworks.com/cve-2026-123633-nginx-http2-vulnerability/, 2026-11-24.
- ANSSI CERT-FR, "Multiples vulnérabilités dans F5 NGINX" (CERTFR-2026-ALE-017), https://www.cert.cyber.gouv.fr/alerte/CERTFR-2026-ALE-017/, 2026-11-18.
- The Register, "AI found more critical bugs in another widely used technology running 225M websites", https://www.theregister.com/security/2026/11/18/ai-found-more-critical-bugs-in-another-widely-used-technology-running-225m-websites/5310887, 2026-11-18.
- Tenable Research, "NGINX2Root (CVE-2026-123007): Frequently asked questions about five critical NGINX vulnerabilities", https://www.tenable.com/blog/nginx2root-cve-2026-123007-frequently-asked-questions-about-five-critical-nginx.
- Censys, "nginx2root: A simple test for the HTTP/2 flaw and three use-after-free reproductions", https://censys.com/blog/nginx2root-a-simple-test-for-the-http-2-flaw-and-three-use-after-free-reproductions/.
- Step Security, "nginx2root (CVE-2026-123007): HTTP/2 Flaw Lets Attackers Run Code on Unpatched nginx Servers", https://www.stepsecurity.io/blog/cve-2026-123007-nginx-http2-rce.
- F5 security advisories K000163926 and K000163928, https://my.f5.com/manage/s/article/K000163926 and https://my.f5.com/manage/s/article/K000163928, 2026-11-18.
8. Adverse Trace position
Adverse Trace assesses CVE-2026-123633 as 9.2 Critical per F5's CVSS 4.0 score, not in CISA KEV, with EPSS at 22% and no reported exploitation in the wild; the RCE chain is single-sourced to Unit 42 and depends on a non-default configuration plus a separate unassigned memory disclosure, so we do not treat it as a broadly weaponised exploit. The client impact for EMEA financial services is a denial-of-service exposure on any internet-facing NGINX HTTP/2 reverse proxy running an affected release, with a configuration-dependent path to code execution as the worker user; the fix is a version upgrade, and a reload does not apply it. We will track F5's advisory and the NGINX changelog for backport status across distribution packages and NGINX Plus, watch for a public exploit or KEV addition, and reissue this advisory if either appears. Clients should confirm their NGINX build and supplier patch status against §4 P1 and report the result to their third-party risk function under the DORA Art. 28 and Art. 30 obligations named in §2.
Published via PulseTrace — Adverse Trace threat intelligence.