CVE-2026-123634: 
NGINX 脆弱性分析と緩和策

概要

CVE-2026-123634 is a use-after-free vulnerability in NGINX Plus and NGINX Open Source that occurs when the server is configured as a proxy with variable-based server names and Server Side Includes (SSI) or mirror directives that send subrequests resolving the same server name. A specially crafted HTTP request can trigger a use-after-free condition in a worker process, potentially enabling remote code execution (RCE) if ASLR is disabled or bypassed. The vulnerability was disclosed on November 18, 2026, and affects NGINX Open Source versions 0.6.18 through 1.30.6 and 1.31.0 through 1.31.8, and NGINX Plus R33 through R36 and versions 37.0.0–37.0.8.0 and 37.1.0–37.3.0.0. It carries a CVSS v3.1 base score of 8.1 (High) and a CVSS v4.0 base score of 9.2 (Critical) (GitHub Advisory, Cisco Advisory).

技術的詳細

The root cause is classified as CWE-416 (Use After Free) and CWE-825 (Expired Pointer Dereference). The vulnerability exists in NGINX's resolver component: when a proxy configuration uses a variable to build the upstream server name and an SSI or mirror directive triggers a subrequest that resolves the same server name concurrently, a race condition can cause the resolver to reference memory that has already been freed. An unauthenticated remote attacker can send a specially crafted HTTP request to trigger this condition without any user interaction, though exploitation requires high attack complexity due to the specific configuration prerequisites and timing requirements. If ASLR is enabled, exploitation is limited to worker process crashes (DoS); if ASLR is disabled or can be bypassed, full RCE is possible (GitHub Advisory, Red Hat Bugzilla).

影響

Successful exploitation can crash the NGINX worker process (denial of service), corrupt worker memory, or — if ASLR is disabled or bypassed — allow an unauthenticated attacker to execute arbitrary code as the NGINX process user. The vulnerability affects confidentiality, integrity, and availability at the highest level within the vulnerable system scope. Given NGINX's widespread deployment as a reverse proxy and load balancer, exploitation could expose backend infrastructure, enable lateral movement within internal networks, and disrupt services for millions of downstream users (GitHub Advisory, Cisco Advisory).

利用可能性

Public proof-of-concept (PoC) exploit code is available on GitHub from at least two repositories (LLCForge and cveForge), both implementing Python-based scripts that trigger concurrent SSI subrequests to induce the resolver use-after-free and crash the NGINX worker process (DoS). The published PoCs demonstrate the crash/DoS primitive but do not include full RCE payloads. The EPSS score is approximately 1.59% (Feedly data), though the GitHub Advisory Database reports an 18.8% EPSS score. Cisco PSIRT confirmed awareness of PoC code but stated no evidence of malicious in-the-wild exploitation as of the advisory date. The vulnerability is not currently listed in the CISA KEV catalog (GitHub Advisory, Cisco Advisory).

エクスプロイテーションのステップ

  1. Reconnaissance: Identify NGINX instances configured as proxies with variable-based proxy_pass server names (e.g., proxy_pass http://$host) and SSI or mirror directives enabled. Use tools like Shodan, Censys, or the foxcornlab nginx-scanner to enumerate potentially vulnerable targets.
  2. Verify target configuration: Confirm the target serves a location with SSI (ssi on) or a mirror directive that resolves the same variable-based upstream server name, and that the NGINX version falls within the vulnerable range (Open Source < 1.30.7 or < 1.31.9; Plus R33–R36 or 37.x before patched versions).
  3. Set up attack infrastructure: If replicating the PoC lab environment, deploy a controlled DNS server with delayed responses to maximize the race window for the resolver use-after-free, and a backend server to handle proxied requests.
  4. Send concurrent trigger requests: Issue a high volume of concurrent HTTP GET requests (e.g., python3 poc.py -n 300) to the target endpoint (e.g., /page/index.html) with an X-Target header specifying the variable server name (e.g., X-Target: uaf.test). This triggers concurrent SSI subrequests that race against the resolver, inducing the use-after-free condition.
  5. Detect worker crash: Monitor for connection failures or HTTP 502/503 errors indicating the NGINX worker has crashed (SIGSEGV/signal 11). Confirm by checking NGINX error logs for worker process exited on signal 11.
  6. Escalate to RCE (if ASLR disabled): On systems without ASLR, a more sophisticated exploit could leverage the freed memory region to control execution flow and achieve code execution as the NGINX worker process user (GitHub Advisory, Cisco Advisory).

妥協の兆候

  • Network: Unusual bursts of concurrent HTTP GET requests to the same endpoint from a single or small set of source IPs; requests carrying custom headers such as X-Target with hostnames; repeated connection resets or 502/503 responses from the NGINX server suggesting worker crashes.
  • Logs: NGINX error log entries containing worker process <PID> exited on signal 11 (SIGSEGV); repeated recv() failed or upstream timed out errors in error.log; access log showing high-frequency requests to SSI-enabled or mirrored locations.
  • Process: Unexpected NGINX worker process restarts (master process spawning new workers); abnormal child process terminations visible via ps or system audit logs.
  • File System: Unexpected core dump files (e.g., core.<PID>) in the NGINX working directory or /tmp, indicating worker process crashes.
  • System: Kernel logs (dmesg or /var/log/kern.log) showing segmentation fault entries for the NGINX worker process.

緩和策と回避策

F5 has released patched versions: NGINX Open Source 1.30.7 (stable branch) and 1.31.9 (mainline branch); NGINX Plus 37.0.8.1 (for 37.0.x) and 37.3.0.1 (for 37.1.x and later). Upgrading to these versions is the primary recommended remediation. As a configuration-based workaround, avoid using variable-based proxy_pass server names in combination with SSI or mirror directives that resolve the same server name; disabling SSI or mirror directives in affected proxy configurations eliminates the vulnerable code path. Ensure ASLR is enabled on all systems running NGINX to reduce the risk of RCE if exploitation is attempted. Red Hat has issued multiple errata (RHSA-2026:100744 through RHSA-2026:100822) for affected RHEL versions, and Ubuntu, SUSE, Amazon Linux, and other distributions have also released updated packages (F5 Advisory, Red Hat Bugzilla, Cisco Advisory).

コミュニティの反応

The vulnerability was disclosed as part of the broader nginx2root campaign — a coordinated disclosure of five critical NGINX vulnerabilities (CVE-2026-113425, CVE-2026-121810, CVE-2026-123007, CVE-2026-123633, CVE-2026-123634) — which generated significant industry attention. F5 published an official advisory (K000163925) and the NGINX project released emergency updates. Cisco, Red Hat, IBM, Sophos, Okta, Microsoft, AWS, Siemens, and numerous other vendors issued their own advisories or impact assessments. Security researchers and media outlets including BleepingComputer, The Hacker News, SecurityWeek, Wiz, Qualys, Tenable, Cloudflare, and CrowdStrike published analyses and detection guidance. Community sentiment emphasized the urgency of patching given NGINX's estimated 30%+ share of web server deployments and the availability of public PoC code (Cisco Advisory, F5 Advisory, GitHub Advisory).

追加リソース

Linuxディストリビューションの修正状況

主要なLinuxディストリビューションとそのリリース間での可用性を修正しましょう。

Debian

修正済

bookworm

nginx: 1.22.1-9+deb12u11

修正済

sid

nginx: 1.30.6-4

修正済

trixie

nginx: 1.26.3-3+deb13u11

修正済

Ubuntu

修正済

bionic (esm-infra)

nginx: 1.14.0-0ubuntu1.11+esm6

修正済

devel

nginx: 1.30.6-3ubuntu2

影響

focal (esm-infra)

nginx: 1.18.0-0ubuntu1.7+esm5

修正済

jammy

nginx: 1.18.0-6ubuntu14.23

修正済

noble

nginx: 1.24.0-2ubuntu7.20

修正済

resolute

nginx: 1.28.3-2ubuntu1.13

修正済

trusty (esm-infra-legacy)

nginx: 1.4.6-1ubuntu3.9+esm10

修正済

xenial (esm-infra-legacy)

nginx: 1.10.3-0ubuntu0.16.04.5+esm11

修正済

RHEL / CentOS

修正済

RHEL 9

:appstream:nginx-0:1.20.1-14.el9_2.8.src

修正済

RHEL 10

nginx-0:1.26.3-1.el10_0.10.src

修正済

Alpine

修正済

edge

nginx: 1.30.7-r0

修正済

v3.21

nginx: 1.26.3-r4

修正済

v3.22

nginx: 1.28.3-r8

修正済

v3.23

nginx: 1.28.3-r8

修正済

ソース: この報告書はAIを用いて作成されました

関連 NGINX 脆弱性:

CVE ID

重大度

スコア

テクノロジー

コンポーネント名

CISA KEVのエクスプロイト

修正あり

出版日

CVE-2026-123634CRITICAL9.2
  • NGINX logoNGINX
  • waf
いいえはいNov 18, 2026
CVE-2026-123633CRITICAL9.2
  • NGINX logoNGINX
  • cpe:2.3:a:openresty:openresty
いいえはいNov 18, 2026
CVE-2026-132779MEDIUM6.9
  • NGINX logoNGINX
  • nginx:1.26::nginx-core
いいえはいNov 23, 2026
CVE-2026-125283MEDIUM6.9
  • NGINX logoNGINX
  • nginx-mod-headers-more
いいえはいNov 18, 2026
CVE-2026-123640MEDIUM6.9
  • NGINX logoNGINX
  • nginx-debuginfo
いいえはいNov 18, 2026

無料脆弱性評価

クラウドセキュリティの姿勢をベンチマークしましょう

9つのセキュリティ領域にわたるクラウドセキュリティの実践を評価し、リスクレベルをベンチマークし、防御のギャップを特定しましょう。

評価のリクエスト

Wizのその他のリソース

パーソナライズされたデモを見る

実際に Wiz を見てみませんか?​

"私が今まで見た中で最高のユーザーエクスペリエンスは、クラウドワークロードを完全に可視化します。"
デビッド・エストリックCISO (最高情報責任者)
"Wiz を使えば、クラウド環境で何が起こっているかを 1 つの画面で確認することができます"
アダム・フレッチャーチーフ・セキュリティ・オフィサー
"Wizが何かを重要視した場合、それは実際に重要であることを私たちは知っています。"
グレッグ・ポニャトフスキ脅威および脆弱性管理責任者