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).

추가 리소스

리눅스 배포판 수정 현황

주요 리눅스 배포판과 그 릴리스 전반에 걸친 가용성을 수정하세요.

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
  • nginx-all-modules
아니요네Nov 18, 2026
CVE-2026-123633CRITICAL9.2
  • NGINX logoNGINX
  • nginx-mod-modsecurity
아니요네Nov 18, 2026
CVE-2026-132779MEDIUM6.9
  • NGINX logoNGINX
  • nginx-all-modules
아니요네Nov 23, 2026
CVE-2026-125283MEDIUM6.9
  • NGINX logoNGINX
  • nginx:1.26::nginx-mod-devel
아니요네Nov 18, 2026
CVE-2026-123640MEDIUM6.9
  • NGINX logoNGINX
  • nginx-mod-stream
아니요네Nov 18, 2026

무료 취약점 평가

클라우드 보안 포세를 벤치마킹하세요

9개 보안 영역에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 파악하세요.

요청 평가

추가 Wiz 리소스

맞춤형 데모를 받아보세요

맞춤형 데모 신청하기

"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
데이비드 에슬릭CISO
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
아담 플레처최고 보안 책임자(CSO)
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."
그렉 포니아토프스키위협 및 취약성 관리 책임자