An nginx that proxies to a backend whose name is built from variables, and that also runs a Server Side Includes or mirror subrequest resolving the same name, could be sent a crafted request that made the resolver free a response it was still using: a use-after-free in the worker process, in code that has been in nginx since 0.6.18. F5 says the outcome is a worker crash and that code execution is possible where ASLR is off or bypassed; Red Hat rates it only Important because the configuration is not a default one, and typical RHEL deployments are not exposed. Upgrade nginx to 1.31.9, 1.30.7 or your distribution’s patched package and restart it; if you cannot today, remove the ssi or mirror directive, or stop using variables in the proxied server name, until you can. An nginx with a fixed proxy_pass hostname, or with no SSI and no mirroring, is outside the stated preconditions.
CVE-2026-123634 at a glance.
| Component | NGINX Open Source and NGINX Plus, the runtime resolver (src/core/ngx_resolver.c) as used by the proxy, SSI and mirror modules; also the F5 products that bundle nginx (NGINX Ingress Controller, Gateway Fabric, Instance Manager, F5 WAF and DoS for NGINX) per NVD’s CPE list |
| Affected versions | NGINX Open Source 0.6.18 to 1.31.8 and 1.30.0 to 1.30.6, every release since the resolver was added; NGINX Plus R33 to R37 before 37.3.0.1 / 37.0.8.1. Only when all three conditions hold: a proxied server name containing variables, an ssi or mirror subrequest, and both resolving the same name |
| Fixed in | NGINX Open Source 1.31.9 (mainline) and 1.30.7 (stable), 18 November 2026; nginx.org lists no single fix commit, and the Debian and Ubuntu trackers cite commits 338f6231, 7426c29f and e39708ed from the 1.30.7 branch; NGINX Plus 37.3.0.1 and 37.0.8.1; distribution packages below |
| Severity | CVSS 4.0 9.2 Critical (AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H) and CVSS 3.1 8.1 High (AC:H) from the F5 CNA, repeated by NVD and Ubuntu. Red Hat Important, 8.1 (CWE-825), “because exploitation needs a non-default setup”; Ubuntu high (“this is an RCE”). CWE-416 use after free |
| Exploited in the wild | Not on CISA’s Known Exploited Vulnerabilities list as of 30 November 2026; CISA’s SSVC says no known exploitation and not automatable. EPSS 0.1833 (98th percentile) on 29 November 2026, the third-highest of the batch |
| Who is exposed | Reverse proxies that choose the backend at request time with a variable, such as proxy_pass http://$backend or set $upstream ..., together with a resolver directive, and that also use ssi on or mirror in a location resolving the same name. Service-discovery setups and request-mirroring canaries are the configurations to look at; a plain proxy to a fixed hostname is not exposed |
| Published | CVE record and F5 advisory K000163925, 18 November 2026; this page built 30 November 2026, last updated 30 November 2026 |
What it is
When a proxy_pass target contains a variable, nginx cannot resolve the hostname at startup; it resolves it per request through the resolver directive’s DNS servers, and the result is shared between every request waiting on the same name. A subrequest, which is what SSI include and the mirror directive create, can be waiting on the same name as its parent request at the same moment.
F5’s record describes the condition without naming the exact sequence: with a proxied server name that includes variables and an SSI or mirror subrequest to a location resolving the same name, “a specially crafted HTTP request may cause a use-after-free condition in a worker process”. The shape is familiar from the other use-after-frees in this batch: a response was freed by one path while another still held a pointer to it, and the request the attacker sends controls when that happens. Red Hat’s assessment is the one to weigh: the bug is real and the scores are the same as the HTTP/2 sibling, but the three-part configuration it needs is not something a default install, a distribution package or a typical container image has, so the population of exposed servers is small and self-selecting. It is one of ten security fixes in nginx 1.31.9 and 1.30.7, released on 18 November 2026 and announced by F5 the same day; this site covers each CVE on its own page and lists the siblings under Related reading.
nginx.org lists no fix commit for this CVE, which is unusual for the batch. Ubuntu’s tracker names commits 7426c29f and e39708ed, Debian names 338f6231 and 7426c29f, all on the 1.30.7 branch and none read for this page; Ubuntu also notes that one hunk lands in ngx_resolver_resolve_srv_names(), the SRV-record code, which its 14.04 build predates, while the rest of the vulnerable code is in every release. The credit is to Xint.io, which also reported the HTTP/2 flow-control bug.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 30 November 2026; the link in the row is the tracker page, which will be newer than this one. All three major distributions fixed this with the same packages as the rest of the batch.
| Distribution | Status | Fixed package |
|---|---|---|
| Debian bookworm, trixie, forky | Fixed | bookworm 1.22.1-9+deb12u11 (DLA-4918-1); trixie 1.26.3-3+deb13u11 (DSA-6642-1); forky 1.30.6-4, sid 1.30.6-6 |
| Ubuntu 20.04 to 26.04 and ESM | Fixed (priority high, USN-9159-1, 19 November 2026) | jammy 1.18.0-6ubuntu14.23, noble 1.24.0-2ubuntu7.20, resolute 1.28.3-2ubuntu1.13, stonking 1.30.4-7ubuntu1.2; focal 1.18.0-0ubuntu1.7+esm5, bionic 1.14.0-0ubuntu1.11+esm6, xenial and trusty 1.4.6-1ubuntu3.9+esm10 under ESM |
| RHEL, Rocky, Alma | Fixed (rated Important, 8.1) | RHEL 10.3 nginx-1.26.3-16.el10_3.3 (RHSA-2026:100744) and the RHEL 8, 9, 9.x EUS/E4S and 10.x EUS errata of 20 November 2026 (RHSA-2026:100745 to 100822); Red Hat Hardened Images nginx-main-1.30.7 (RHSA-2026:100838) |
| Alpine | Not read | the Alpine tracker returned an error for this page; Alpine’s nginx package follows upstream mainline closely, so 1.31.9 or a patched 1.30.x is what to look for |
| Fedora, openSUSE, Arch | Not consulted | trackers not read for this page |
nginx.org packages, Docker nginx image, self-built binaries, OpenResty and other forks | Affected below the fixed versions | nginx.org 1.31.9 or 1.30.7; the official Docker image tags 1.31.9 and 1.30.7; OpenResty and other forks need their own release built on 1.30.7 or later |
How to check
Three questions, in order: is the running binary older than the fix, does any proxy_pass (or fastcgi_pass, grpc_pass) use a variable in the server name, and is SSI or mirroring configured. All three must be true for the stated precondition; most servers fail the second.
# 1. the version that is actually running (not just installed)
nginx -v 2>&1
ps -o pid,lstart,args -C nginx | head -3
dpkg -l nginx 2>/dev/null | grep '^ii' ; rpm -q nginx 2>/dev/null
# affected: 0.6.18 .. 1.31.8 and 1.30.0 .. 1.30.6 (distribution builds: compare with the table above)
# 2. proxied server names built from variables, and the resolver they need
nginx -T 2>/dev/null | grep -nE '^\s*(proxy|fastcgi|grpc|uwsgi|scgi)_pass\s+[a-z]+://\$|^\s*(proxy|grpc)_pass\s+\$'
nginx -T 2>/dev/null | grep -nE '^\s*resolver\s'
# 3. SSI or mirror subrequests
nginx -T 2>/dev/null | grep -nE '^\s*(ssi\s+on|mirror\s)'A fixed version in step 1 with a start time after the package upgrade means you are done. Step 2 printing no _pass line with a $ in the host means backend names are resolved at startup and the runtime resolver path is not used: not exposed. Step 3 printing nothing means no subrequest of the kind F5 describes exists. A server that matches both 2 and 3, with the subrequest location proxying to the same variable name, is the stated vulnerable configuration.
A triggered free crashes the worker, and nginx logs that. Look for workers exiting on a signal since the advisory date.
grep -hE 'worker process [0-9]+ exited on signal (11|6)' /var/log/nginx/error.log* 2>/dev/null | tail
journalctl -u nginx --since '2026-11-18' | grep -iE 'exited on signal|segfault' | tailA segmentation fault (signal 11) in a worker, on a server that matches the configuration above, is consistent with this bug being triggered. It is not proof of code execution; on a host with ASLR it is a crash. Repeated crashes from the same client address are someone trying.
How to fix it
Upgrade the package and restart nginx, or do the binary upgrade with USR2 if you cannot drop connections. Both Debian and Ubuntu shipped the fix on 19 November, Red Hat on 20 November, so on those systems it is a package update away.
# Debian / Ubuntu
apt update && apt install --only-upgrade nginx
# RHEL family (module streams: dnf update nginx:1.26)
dnf update nginx
# Alpine
apk upgrade nginx
# nginx.org repository or self-built: install 1.31.9 (mainline) or 1.30.7 (stable)
# a new binary is not running until the master re-executes or restarts
nginx -t && systemctl restart nginx # or: kill -USR2 $(cat /run/nginx.pid) for a zero-downtime binary upgrade
nginx -v # must print the fixed version
ps -o pid,lstart,args -C nginx | head -3 # start time must be after the upgradeIf you cannot upgrade today, break one leg of the precondition. F5’s advisory, as summarised by the trackers, is to avoid SSI and mirror directives and to avoid variables in the proxied server name. Removing mirror is usually painless; replacing a variable backend with a fixed hostname loses runtime re-resolution, so an upstream block with fixed addresses is the temporary shape.
# option A: drop the subrequest (comment out and reload)
# ssi on; -> # ssi on;
# mirror /m; -> # mirror /m;
# option B: pin the backend so the runtime resolver is not used
# proxy_pass http://$backend; -> proxy_pass http://backend_pool; (with an upstream block of fixed addresses)
nginx -t && nginx -s reload
nginx -T 2>/dev/null | grep -cE '^\s*(ssi\s+on|mirror\s)' # 0 if option ADo not count the package upgrade as done until ps shows a master process started after it; nginx keeps running the old code until it is restarted or re-executed, and the reload signal does not replace the binary. Do not read Red Hat’s Important rating as “skip it”: the fix is in the same package as the Critical HTTP/2 bugs, so there is no reason to take one without the other.
Sources
- CVE-2026-123634 at CVE.org — the F5 CNA record (18 November 2026): description, affected ranges for NGINX Open Source and NGINX Plus, CVSS 4.0 and 3.1 vectors, CWE-416
- NVD entry — Modified; F5’s scores; CPE ranges for the other F5 products that bundle NGINX
- F5 advisory K000163925 — the vendor advisory the record cites (the page renders only in a browser, so its contents are taken from the CVE record and from nginx.org below)
- nginx.org security advisories — the affected and fixed version ranges for every CVE in the batch, and nginx CHANGES for the 1.31.9 entry of 18 November 2026
- Distribution trackers: Debian · Ubuntu · Red Hat; USN-9159-1, DSA-6642-1, DLA-4918-1
- EPSS score for this CVE, 29 November 2026
Related reading
- CVE-2026-123007: NGINX HTTP/2 flow-control overflow (forthcoming if the link is not yet live) — the HTTP/2 flow-control overflow from the same batch, reported by the same researchers and the one to patch first
- CVE-2026-123633: NGINX HTTP/2 use-after-free when a worker runs low on connections — the HTTP/2 use-after-free from the same batch
- CVE-2026-121810: NGINX HTTP/3 use-after-free restarts the worker — the HTTP/3 use-after-free from the same batch
- CVE-2026-113425: NGINX mail proxy use-after-free from unauthenticated traffic — the mail-proxy use-after-free from the same batch
- A Reverse Proxy with Automatic TLS — the nginx configuration most readers run, and where each of these modules sits in it
- The Half of Patching That Happens After the Patch is Installed — an upgraded nginx package is still the old nginx until the master process is restarted or re-executed
This advisory page was assembled from the primary sources listed above on 30 November 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.

