Summary
CVE-2026-123634 is a use-after-free vulnerability (CWE-416) in the NGINX resolver, affecting NGINX Open Source and NGINX Plus. It is rated High (CVSS v3.1 8.1). An unauthenticated remote attacker could crash the worker process, corrupt its memory, or potentially achieve remote code execution.
Technical details
- Root cause: Use-after-free (CWE-416) in NGINX when it is configured as a proxy with variable server names together with SSI or mirror directives.
- Trigger conditions: NGINX is configured as a proxy where the proxied server name contains variables, and SSI or mirror directives are in use. Exploitation depends on this configuration, which is reflected in the high attack complexity.
- Attack vector: Network, no authentication or user interaction required.
- Impact: Worker process crash, memory corruption, or remote code execution.
Affected software
- NGINX Open Source: 0.6.18 and earlier, 1.30.0 through 1.30.6, and 1.31.0 through 1.31.8
- NGINX Plus: R33 and earlier, 37.0.0 through 37.0.8.0, and 37.1.0 through 37.3.0.0
Severity
- CVSS v3.1 base score: 8.1 (High)
- Vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - The CVE record also lists a CVSS v4.0 score of 9.2 (Critical).
Mitigation and recommended actions
- Immediate: Upgrade to a fixed release:
- NGINX Open Source: 1.31.9 or 1.30.7
- NGINX Plus: 37.3.0.1 or 37.0.8.1
- If you cannot patch: Avoid using SSI or mirror directives, and avoid configuring a proxied server name with variables.

