NGINX Open Source and NGINX Plus (resolver)

CVE-2026-123634: NGINX resolver use-after-free reachable through mirror and SSI

A use-after-free in the NGINX resolver can crash workers and may give code execution on servers that proxy to names built from variables. Not known to be exploited, and no public proof of concept, though Xint says it has working exploits.

Published Updated F5 advisory K000163925

ExploitedNot in CISA KEV
Ransomware useNot reportedPer CISA
SeverityCRITICALCVSS 4.0 9.2
EPSS17%Chance of exploitation in 30 days
Public exploitNone reported
FixAvailable

Affected and fixed versions

Product / branchFixed in
NGINX Open Source 1.31.x (nginx.org lists 0.6.18 and later)1.31.9 or later
NGINX Open Source 1.30.x1.30.7 or later
NGINX Plus 37.1.037.3.0.1 or later
NGINX Plus 37.0.037.0.8.1 or later
NGINX Plus R33No fixed version listed in the CVE record
Siemens Industrial Edge Cloud Device, Device Kit (arm64 and x86-64), Own Device and Virtual Device, all versionsNo fix available yet (Siemens SSA-935812)

Always confirm against the vendor advisory, which lists every fixed hotfix.

What it is

A use-after-free (CWE-416) in the NGINX resolver, the code that looks up DNS names at request time. nginx.org describes it as a use-after-free during response processing in the resolver. It happens when the same name is resolved by a request and a subrequest at the same time. One handler can free a resolver context that the loop waiting on that lookup hasn’t processed yet, and the loop then uses freed memory (Xint).

An unauthenticated attacker who can trigger name resolution can:

  • crash a worker process, which NGINX restarts;
  • corrupt worker memory;
  • possibly run code as the worker. The CVE record says this needs ASLR off or bypassed. Xint says it has working exploits for this bug, and it reports remote code execution with worker privileges, without publishing the final steps.

The CVE record scores it 8.1 in CVSS 3.1 and 9.2 in CVSS 4.0. nginx.org rates it “medium”. Xint credited it as one of five NGINX bugs it calls NGINX2Root. Per the editor’s live lookups, CISA has not listed it in the KEV catalog (catalog 2026.11.20). EPSS, which had no score at first, was 17% on 2026-11-21 (97th percentile), so FIRST rates exploitation as more likely than for most CVEs even though none has been reported. CISA’s SSVC data in the CVE record says exploitation: none. We found no public proof of concept and no reports of exploitation.

Am I affected?

The CVE record says NGINX is exposed when all of these are true:

  1. NGINX is configured as a proxy.
  2. The proxied server name includes variables, for example proxy_pass http://$host;.
  3. An SSI or mirror directive sends a subrequest to a location that resolves the same server name.

Xint’s tested setup was a resolver, a proxy_pass taken from the request, and mirror with mirror_request_body off, with the main request and the mirror using the same upstream name. Xint says other subrequest features, such as SSI, may also reach the bug. Disabling HTTP/2 does not block it.

Versions. nginx.org lists NGINX Open Source 0.6.18 through 1.31.8 as vulnerable. The CVE record lists Plus 37.0.0 to before 37.0.8.1, 37.1.0 to before 37.3.0.1, and all of R33. Xint names 1.13.4 as the first release affected through the mirror path. We did not verify that figure against another source.

Search every included file, not just nginx.conf. nginx -T prints the full configuration, including includes. Look for resolver, proxy_pass with a $variable in the host, and mirror or ssi on.

Siemens. Siemens SSA-935812 (2026-11-20) lists Industrial Edge Cloud Device, Device Kit, Own Device and Virtual Device, all versions, as affected, with no fix yet. Industrial Edge Hub and the Management products are not affected.

Not affected: NGINX Open Source 1.31.9 and later, and 1.30.7 and later. F5 did not evaluate releases past End of Technical Support.

What to do

  1. Upgrade. NGINX Open Source to 1.31.9 (mainline) or 1.30.7 (stable) or later. NGINX Plus to 37.0.8.1 or 37.3.0.1 or later. The CVE record lists no fix for Plus R33, so read the F5 advisory (K000163925, linked from the CVE record) and move to a fixed release. Siemens Industrial Edge users have no fix yet; apply the workarounds below and follow SSA-935812. Remember the NGINX inside appliances, containers and ingress controllers, and distribution packages, which carry their own fixes.
  2. If you can’t upgrade yet, use the workarounds from the CVE record: avoid SSI and mirror directives, and avoid proxied server names that contain variables. Xint’s advice goes further:
    • Point proxy_pass at a fixed upstream group instead of a name resolved at request time.
    • Set mirror off where you don’t need mirroring. If you do need it, give the main request and the mirror separate fixed upstream groups.
    • Don’t rely on mirror_request_body on. It stopped Xint’s exploit but does not fix the resolver bug.
  3. Make sure ASLR is enabled on hosts running NGINX. It doesn’t stop the crash, but the CVE record says code execution needs ASLR off or bypassed.
  4. If a vulnerable server was internet-facing, check it (below). If you find signs of code execution, rebuild the host and rotate the TLS keys and any credentials it held.

Detection

No indicators of compromise have been published, and nobody has reported exploitation. The sources give no detection guidance for this CVE. These are general checks:

  • Worker crashes in the NGINX error log. Look for workers exiting on a signal, such as segmentation faults, and a rise in worker restarts.
  • Requests that line up with the crashes, especially ones whose Host header or other input feeds a variable proxy_pass name on a location with mirror or SSI.
  • Unusual DNS queries from the server, since the attack needs the attacker to trigger name resolution. Xint’s test used an attacker-controlled DNS zone.
  • After a crash, unexpected child processes of NGINX workers or outbound connections from the server, which would point to code execution.

Indicators of compromise

No indicators of compromise have been published. Checked the CVE record, nginx.org and the Xint write-up. No exploitation has been reported.

No indicators of compromise have been published for this CVE yet. We'll add them here if the vendor or a researcher releases any. Until then, use the behaviour in Detection.

Sources

Spotted a mistake on this page? Tell us, and we'll fix it.

Page changelog

  • Added EPSS (17%, 97th percentile), the Siemens Industrial Edge advisory with no fix yet, and the CISA KEV status as of catalog 2026.11.20.
  • Full analysis published.

KEV status, EPSS score and vendor data refreshed automatically, last on 24 Nov 2026.

Get alerts

A notification when we publish a new analysis or a covered vendor gets a new actively exploited CVE. No account, no email.

Tell us what you think

What do you rely on here, what's missing, which vendor should we add? Every message is read by the editor.

Write to us

contact-us@patchtonight.com