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

概要

CVE-2026-125283 is a segmentation fault vulnerability in NGINX Plus and NGINX Open Source triggered when the try_files and alias directives are used together with a map variable containing regular expression captures. Certain combinations of regex captures in map and try_files can cause an NGINX worker process to crash unexpectedly. The vulnerability was published on November 18, 2026, and affects NGINX Open Source versions 0.9.6 through 1.30.6 and 1.31.0 through 1.31.8, as well as NGINX Plus R33 through R36 and several related F5 products including NGINX Ingress Controller, NGINX Gateway Fabric, NGINX Instance Manager, and NGINX WAF. It carries a CVSS v3.1 base score of 5.3 (Medium) and a CVSS v4.0 base score of 6.9 (Medium) (GitHub Advisory, F5 Advisory).

技術的詳細

The root cause is classified as CWE-191 (Integer Underflow / Wrap or Wraparound) and CWE-476 (NULL Pointer Dereference). When NGINX processes a request against a location block that uses alias with a value derived from a map variable (which itself uses regex captures), and try_files is also present, the path-stripping arithmetic can underflow — producing a very large unsigned integer — leading to a segmentation fault in the worker process. The attack vector is network-accessible, requires no authentication, no user interaction, and no special privileges; the only precondition is that the target NGINX instance is configured with the specific combination of alias, map (with regex captures), and try_files directives. Public PoC repositories describe sending crafted HTTP GET requests with empty path segments, non-matching capture groups, or URIs at exact location-prefix length boundaries to trigger the underflow (GitHub Advisory, Feedly).

影響

Successful exploitation causes an NGINX worker process to terminate with a segmentation fault (signal 11), resulting in a denial-of-service condition for requests handled by that worker. Because NGINX typically spawns multiple workers, the master process will restart the crashed worker, but repeated exploitation can degrade throughput and availability. There is no control plane exposure, and no confidentiality or integrity impact is claimed by the vendor; the vulnerability is a data-plane issue only. One PoC repository speculatively mentions partial heap disclosure, but this has not been verified (F5 Advisory, GitHub Advisory).

利用可能性

At least two public proof-of-concept repositories exist on GitHub (LLCForge/CVE-2026-125283 and cveForge/CVE-2026-125283), both written in Python and published within days of disclosure; however, Feedly's analysis rates confidence in both as low because the actual poc.py source code was not verified. There is no evidence of in-the-wild exploitation as of the time of reporting, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.44% (Feedly data) to 1.59% (GitHub Advisory), indicating a relatively low near-term exploitation probability. The vulnerability is automatable (no user interaction required) against any NGINX instance with the triggering configuration (GitHub Advisory, Feedly).

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

  1. Reconnaissance: Identify internet-facing NGINX instances running affected versions (Open Source < 1.30.7 or < 1.31.9; Plus R33–R36) using tools such as Shodan, Censys, or active HTTP fingerprinting.
  2. Confirm vulnerable configuration: Determine whether the target uses a location block combining alias (set from a map variable with regex captures) and try_files. This may be inferred from application behavior or disclosed configuration files.
  3. Craft trigger request — empty segment variant: Send an HTTP GET request with an empty path segment under the aliased location (e.g., GET /assets//empty/file.js), which may cause the map capture to produce an empty $asset_root value and trigger the underflow.
  4. Craft trigger request — boundary-length variant: Send a GET request whose URI length equals exactly the location prefix length (e.g., GET /assets/a/<URI at exact prefix length>), claimed to produce a MAX_UINT strip length via integer wraparound.
  5. Craft trigger request — non-matching capture variant: Send a GET request whose URI does not match the map regex (e.g., GET /assets/../../etc/passwd), producing an empty capture and potentially triggering a NULL pointer dereference.
  6. Observe outcome: Monitor for NGINX worker crash indicators — signal 11 entries in error.log, worker process restarts, or unexpected HTTP 502/504 responses from the upstream load balancer.

Note: These steps are based on claims in public PoC READMEs; actual exploit code was not verified by independent analysis (Feedly).

妥協の兆候

  • Logs: Entries in /var/log/nginx/error.log containing worker process <PID> exited on signal 11 or segfault following unusual HTTP requests; repeated worker restart messages from the NGINX master process.
  • Logs: Access log entries showing requests to aliased location paths containing double slashes (//), path traversal sequences (../), or URIs at exact location-prefix boundary lengths.
  • Network: Repeated HTTP GET requests to the same aliased location path from a single source IP, particularly with malformed or boundary-condition URI patterns.
  • Process: Unexpected termination and rapid respawn of NGINX worker processes (nginx: worker process in ps output cycling through PIDs); elevated worker restart rate visible in process monitoring tools.
  • File System: No file-system artifacts are expected for a pure DoS exploitation scenario; absence of web shells or new files distinguishes this from more severe exploitation (Feedly, GitHub Advisory).

緩和策と回避策

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 and 37.3.0.1. Downstream products including NGINX Ingress Controller (fix in 5.8.0 / 2026-lts-r11), NGINX Gateway Fabric (fix in 2.9.0), NGINX Instance Manager (fix in 2.25.0), and NGINX WAF (fix in 5.14.4 / 5.16.2) have also been updated. As a temporary workaround, administrators should review NGINX configurations and avoid combining try_files and alias directives with map variables that use regular expression captures; implementing request rate limiting can also reduce the impact of repeated worker crashes. cPanel/EasyApache4 users should update to EasyApache4 v25.98 or later (F5 Advisory, cPanel Advisory, GitHub Advisory).

コミュニティの反応

CVE-2026-125283 was disclosed as part of a broader batch of NGINX vulnerabilities (dubbed "nginx2root" in community coverage), which attracted significant attention from security researchers and media outlets. Qualys published a blog post covering the full set of five NGINX flaws and their remediation, and Tenable released multiple Nessus plugins for detection. The NCSC Ireland, AusCERT, and several Linux distribution security teams (Ubuntu, SUSE, Fedora, Amazon Linux) issued advisories and updated packages promptly. Community sentiment on social media and developer forums (dev.to, Heise, SecurityOnline) was focused on urgency of patching, particularly for WordPress and Kubernetes ingress deployments using NGINX (Qualys Blog, cPanel 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+esm7

修正済

devel

nginx

影響

focal (esm-infra)

nginx: 1.18.0-0ubuntu1.7+esm6

修正済

jammy

nginx: 1.18.0-6ubuntu14.24

修正済

noble

nginx: 1.24.0-2ubuntu7.21

修正済

resolute

nginx: 1.28.3-2ubuntu1.14

修正済

trusty (esm-infra-legacy)

nginx: 1.4.6-1ubuntu3.9+esm11

修正済

xenial (esm-infra-legacy)

nginx: 1.10.3-0ubuntu0.16.04.5+esm12

修正済

RHEL / CentOS

影響

RHEL 8

nginx:1.24/nginx.src

影響

RHEL 9

nginx.src

影響

RHEL 10

nginx.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が何かを重要視した場合、それは実際に重要であることを私たちは知っています。"
グレッグ・ポニャトフスキ脅威および脆弱性管理責任者