Remote Code Execution in NGINX When Configured as Proxy with Vulnerable Server Name
CVE-2026-123634
What is CVE-2026-123634?
A vulnerability exists in NGINX Plus and NGINX Open Source when configured as a proxy server. This issue arises if the proxied server name utilizes variables and directs a subrequest to a location that resolves the same server name through Server Side Includes (SSI) or a mirror directive. If exploited, a specially crafted HTTP request can cause a use-after-free condition within a worker process. In scenarios where Address Space Layout Randomization (ASLR) is disabled or can be bypassed, the attacker gains the potential to execute arbitrary code, crash the NGINX worker process, or corrupt its memory, posing a significant risk to web server integrity.
Affected Version(s)
NGINX Open Source 1.31.0 < 1.31.9
NGINX Open Source 1.30.0 < 1.30.7
NGINX Open Source 0.6.18
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved