CVE-2026-123634 is an Nginx remote code execution vulnerability publicly disclosed by Xint Security Research on November 18, 2026. It is one of the five Nginx RCE vulnerabilities involved in the NGINX2Root vulnerability chain and is a use-after-free type involving the Nginx resolver and SSI/mirror subrequests. The trigger conditions are: Nginx is configured with resolver, the proxy_pass target is derived from a request variable, and a mirror or SSI subrequest concurrently resolves the same domain name as the main request.
Attackers do not require authentication; after exploitation, they can execute commands under the privileges of the Nginx Worker process handling the request; combined with the Linux kernel SCTP subsystem privilege escalation vulnerability, host root privileges can be obtained. The affected scope includes Nginx Open Source 0.6.18 to 0.8.55, 1.0.0 to 1.30.6 (stable branch), and 1.31.0 to 1.31.8 (mainline branch), as well as
37.0.0 to 37.0.7.1, 37.1.0 to 37.2.0.1, and R34 to R36. F5 has publicly addressed the related vulnerabilities, and as of the publication of the CERT-EU advisory, no reports of actual exploitation in the wild had been identified. The fixed versions are Nginx Open Source 1.30.7 (stable branch) and 1.31.9 (mainline branch); NGINX Plus 37.0.8.1 and later (37.0 branch) or Nginx Plus 37.3.0.1 and later (37.x branch) are secure versions.
CVE-2026-123634 is one of five Nginx remote code execution vulnerabilities involved in the NGINX2Root vulnerability exploit chain, and was publicly disclosed by Xint Security Research on November 18, 2026. The vulnerability can be triggered remotely without authentication, and after successful exploitation, an attacker can execute commands with the privileges of the Nginx Worker process handling requests.
CVE-2026-123634 is a use-after-free (UAF) vulnerability in the NGINX resolver during the processing of DNS responses, triggered when the proxy server name contains variables and SSI or mirror subrequests resolve the same server name. The configurations required to trigger the five vulnerabilities in the same batch are different, and they do not constitute mutually dependent exploit chains. Affected product forms include Nginx Open Source and Nginx Plus.
On November 18, 2026, Xint Security Research publicly disclosed a vulnerability exploit chain named
2Root. This exploit chain consists of five Nginx remote code execution vulnerabilities and one Linux kernel SCTP subsystem privilege escalation vulnerability, and CVE-2026-123634 is one of the five Nginx remote code execution vulnerabilities. CERT-EU published a security advisory on the same day. F5 has publicly addressed the relevant Nginx vulnerabilities, and as of the publication of the advisory, no reports of these vulnerabilities being actually exploited in the wild had been identified.
officially released the fixed versions Nginx Open Source 1.30.7 (stable branch) and 1.31.9 (mainline branch), which already include the fix related to CVE-2026-123634. The corresponding fixed versions for Nginx Plus are 37.0.8.1 (37.0 branch) and 37.3.0.1 (37.x branch). The security bulletin recommends that administrators assess the business impact, confirm the affected scope based on the features actually enabled, and upgrade promptly.
In actual attack scenarios, CVE-2026-123634 requires that
be configured with a resolver; that the proxy_pass target be a dynamic upstream domain name determined by a request variable; and that subrequests such as mirror or SSI be present and resolve an upstream with the same name as the main request. An attacker does not require authentication and can attempt to trigger the vulnerability by reaching the NGINX listening port over the network. Practical exploitation of this vulnerability is relatively difficult; verified exploitation paths involve an attacker-controlled domain name, mirror, and the mirror_request_body off configuration.
Successful exploitation of CVE-2026-123634 can cause the Nginx Worker process to crash and lead to service interruption; when ASLR is disabled on the system and specific memory layout conditions are met, it can also cause memory corruption and execute arbitrary code with the privileges of the Nginx Worker process, resulting in server compromise.
If an attacker further combines this with the Linux kernel privilege escalation vulnerability associated with the attack chain, they may achieve Docker container escape and obtain host root privileges.
The secure versions for CVE-2026-123634 are Nginx Open Source mainline branch 1.31.9 and later, stable branch 1.30.7 and later, and
37.3.0.1 and later (37.x branch) or 37.0.8.1 and later (37.0 branch).
Upgrading the 1.31 branch to version 1.31.9 or later and the 1.30 branch to version 1.30.7 or later covers all five vulnerabilities; the two branches are not interchangeable, the 1.31 branch cannot be fixed with 1.30.7, and earlier branches have no corresponding fixed versions and require a cross-branch upgrade.
Temporary mitigations include removing request-time DNS resolution and handling mirror; they apply to scenarios where proxy_pass contains variables and mirror is used: proxy_pass can be directed to a fixed upstream group with the variable removed, and if not required, mirror off can be set; if mirror must be retained, both the main request and the mirror must point to a fixed upstream. The verified exploitation path relies on the mirror_request_body off configuration, and enabling mirror_request_body on can block this path, but this is only a temporary mitigation and cannot replace a security update.
After the change, a restart or hot upgrade is required; reload alone does not replace old workers, and established connections continue to use the old configuration; run systemctl restart nginx and confirm that old workers have exited.
Security self-check items include verifying the Nginx version, build parameters, and feature configurations such as HTTP/2 and
; following the official security advisories and upgrading to Nginx 1.31.9 or a distribution security patch version that includes the fix; checking HTTP/3, dynamic DNS resolution, subrequest, and mail proxy configurations and implementing the corresponding mitigations; investigating abnormal command execution by NGINX Worker, process crashes, and suspicious network connections; and after upgrading, confirming that the running Nginx program has actually been replaced, restarting the service if necessary.
In the public information on the NGINX2Root exploit chain, the vulnerability identifiers listed together with CVE-2026-123634 also include
. In addition, one Linux kernel SCTP subsystem privilege escalation vulnerability is associated with this exploit chain. Security researchers collectively refer to the Nginx remote code execution vulnerabilities associated with the above identifiers and the related privilege escalation vulnerabilities as the NGINX2Root vulnerability chain (nginx2root).
Administrators who cannot upgrade for the time being can mitigate the risk of the two vulnerabilities CVE-2026-123007 and
by disabling HTTP/2, but this measure cannot cover the remaining vulnerabilities; therefore, CVE-2026-123634 is not within the scope of the aforementioned HTTP/2 disabling mitigation.
Nginx 曝出 NGINX2Root 漏洞链:攻击者无需认证即可远程执行命令,结合 Linux 内核漏洞可获取宿主机 root 权限
关于Nginx "NGINX2Root" 多个远程代码执行漏洞的风险通告(CVE-2026-123007, CVE-2026-123633, CVE-2026-123634, CVE-2026-121810, CVE-2026-113425)
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
