CVE-2026-123633: 
NGINX 취약점 분석 및 완화

개요

CVE-2026-123633 is a use-after-free (UAF) vulnerability in NGINX Plus and NGINX Open Source affecting the HTTP/2 module (ngx_http_v2_module). When NGINX is configured to use HTTP/2 for client connections and proxy requests to a backend, a specially crafted request can trigger a UAF in the worker process when it is running low on worker_connections. On systems with ASLR disabled or bypassable, this can escalate to remote code execution. The vulnerability was disclosed on November 18, 2026, and is part of a broader set of five NGINX flaws collectively dubbed "nginx2root" or "nginx2shell." It affects NGINX Open Source versions 1.19.7 through 1.30.6 (stable) and 1.31.0 through 1.31.8 (mainline), and NGINX Plus R33 through R36. It carries a CVSS v3.1 score of 8.1 (High) and a CVSS v4.0 score of 9.2 (Critical) (GitHub Advisory, Cisco Advisory).

기술적 세부사항

The root cause is classified as CWE-416 (Use After Free), CWE-825 (Expired Pointer Dereference), and CWE-191 (Integer Underflow). The bug was introduced in nginx commit 76672e650 (nginx 1.19.7, February 2021): a connection with no active streams but a partial HEADERS frame read from the client was registered as "reusable" to prevent DoS. When the remaining HEADERS bytes arrived and a new stream was created, the reusable status was not cleared. Under worker_connections pressure, the connection could be drained and closed (freeing its pool) while a stream was still being processed — for example, while connecting to an upstream — resulting in a use-after-free up the call stack. The one-line fix (ngx_reusable_connection(h2c->connection, 0) in ngx_http_v2_create_stream()) marks the connection non-reusable upon stream creation. Exploitation requires HTTP/2 enabled for client connections, a proxy_pass directive to a backend, and the worker process running low on worker_connections. Code execution additionally requires ASLR to be disabled or bypassed. Public PoC scripts demonstrate the DoS path via HTTP/2 RST flooding; more advanced tooling (e.g., tc4dy/CVE-2026-123633-PoC-Toolkit) claims a ret2libc RCE chain (GitHub nginx commit, GitHub Advisory).

영향

Successful exploitation can cause a denial-of-service by crashing the NGINX worker process, disrupting all traffic handled by that worker. On systems with ASLR disabled or bypassable, an unauthenticated remote attacker can achieve arbitrary code execution as the NGINX worker process user (typically a low-privileged account such as nginx or www-data). From this foothold, attackers may access proxied backend connections and traffic, plant persistent web shells, or attempt privilege escalation to root. The vulnerability is a data-plane issue only — there is no control-plane exposure — but given NGINX's ubiquity (estimated 225+ million websites), the blast radius is extremely broad, including Kubernetes ingress controllers, cloud-hosted services, and embedded NGINX in third-party products from Cisco, IBM, Palo Alto Networks, Siemens, and others (GitHub Advisory, Cisco Advisory).

악용 가능성

Multiple public proof-of-concept exploits appeared on GitHub within hours of disclosure on November 18, 2026. The most credible DoS PoC (LLCForge/CVE-2026-123633, Nexxus67/CVE-2026-123633-PoC, cveForge/CVE-2026-123633) demonstrate worker crashes via HTTP/2 RST flooding under connection pressure. More advanced repositories (tc4dy/CVE-2026-123633-PoC-Toolkit, im0xfay/CVE-2026-123007) claim full RCE chains including libc brute-forcing and ret2libc post-exploitation, though their actual code execution capability against real targets is unverified. The EPSS score is approximately 6.5% (per Feedly) to 22.1% (per GitHub Advisory), reflecting elevated exploitation probability. As of the time of disclosure, no confirmed in-the-wild exploitation has been reported; the Cisco PSIRT and Feedly executive summary both state no evidence of malicious use. The vulnerability is not yet listed in the CISA KEV catalog. No specific threat actor attribution has been made (GitHub Advisory, Cisco Advisory).

착취 단계

  1. Reconnaissance: Identify internet-facing NGINX instances with HTTP/2 enabled using tools like Shodan, Censys, or ALPN probing (openssl s_client -alpn h2). Confirm the NGINX version is in the vulnerable range (1.19.7–1.30.6 stable or 1.31.0–1.31.8 mainline) via the Server response header or TLS fingerprinting.
  2. Verify proxy configuration: Confirm the target proxies HTTP/2 client connections to a backend (e.g., a /slow endpoint that holds upstream connections open), as this is required to trigger the vulnerable code path.
  3. Exhaust worker_connections: Open many concurrent HTTP/1.1 or HTTP/2 connections to consume the worker's connection slots, driving the process into the low-worker_connections state required for the UAF condition.
  4. Trigger the use-after-free: Establish an HTTP/2 TLS connection (ALPN h2), send the HTTP/2 client preface and SETTINGS frame, then send only the first byte of a HEADERS frame (making the connection "reusable"). After the remaining HEADERS bytes are received and a stream is created, immediately reset the stream with RST_STREAM (error code CANCEL) and close the TCP connection abruptly using SO_LINGER=0. This causes the connection to be drained and freed while the stream is still being processed upstream, triggering the UAF.
  5. Achieve DoS or escalate to RCE: Repeated waves of this pattern crash the worker process (observable via a health endpoint going dark). For RCE (requires ASLR disabled or bypassed): use a heap-spray approach to reclaim the freed connection memory with a crafted buffer containing a shell command and a system() function pointer, then trigger dispatch to execute arbitrary commands as the NGINX worker user.
  6. Establish persistence (optional): If RCE is achieved, deliver a staged shell script via an out-of-band HTTP callback, discover the NGINX webroot, and write a PHP webshell for persistent access (GitHub Advisory, nginx commit).

타협의 징후

  • Network: Bursts of concurrent TLS connections to the NGINX HTTPS port negotiating HTTP/2 (ALPN h2) followed by immediate TCP RST (abortive close via SO_LINGER=0); repeated waves of connection churn with no legitimate request completion; outbound HTTP callbacks from the NGINX server to unknown external IPs (indicating RCE beacon delivery).
  • Logs: NGINX error log (error.log) entries showing worker process crashes or restarts (worker process exited on signal); access log entries with many short-lived HTTP/2 connections to the same endpoint (e.g., /slow) with no response codes; GOAWAY frames or connection reset errors logged at high frequency.
  • File System: Unexpected PHP or shell script files written to the NGINX webroot directory; new cron jobs or systemd timers created by the nginx or www-data user; presence of files like /tmp/n2s-proof or similar RCE marker files.
  • Process: Unusual child processes spawned by the NGINX worker (e.g., sh, bash, curl, wget) visible in process trees; NGINX worker process restarting unexpectedly or at abnormal frequency.
  • Memory/ASan: AddressSanitizer reports referencing ngx_http_v2_create_stream or ngx_reusable_connection in instrumented builds.

완화 및 우회 방법

Primary remediation: Upgrade NGINX Open Source to version 1.30.7 (stable branch) or 1.31.9 (mainline branch). Upgrade NGINX Plus to R37.0.7.1 (37.0.x series) or R37.2.0.1 (37.1.x series). The fix is a single-line change in ngx_http_v2_create_stream() that marks the connection non-reusable upon stream creation (nginx commit 0c87dd1).

Workarounds (if immediate patching is not possible):

  • Disable HTTP/2 for client connections (http2 off; or remove http2 from listen directives) — this eliminates the attack surface for CVE-2026-123633 and the related CVE-2026-123007.
  • Ensure ASLR is enabled on all systems running NGINX (sysctl kernel.randomize_va_space=2) to prevent the UAF from escalating to RCE.
  • Monitor and limit worker_connections exhaustion through rate limiting and connection throttling.

Downstream products (Red Hat Enterprise Linux, Ubuntu, Amazon Linux, AlmaLinux, Rocky Linux, Cisco ISE, IBM Aspera Faspex, Palo Alto PAN-OS, Siemens Industrial Edge, etc.) have issued or are issuing their own security updates — consult vendor-specific advisories (Cisco Advisory, GitHub Advisory).

커뮤니티 반응

The disclosure generated immediate and widespread industry attention, with the vulnerability cluster branded "nginx2root" and "nginx2shell" by researchers. F5/NGINX published the advisory on November 18, 2026, and multiple security firms (Wiz, watchTowr, Qualys, Tenable, Censys, Orca Security, JFrog, Aikido, Semgrep, and others) published technical analyses within hours. The Register, The Hacker News, BleepingComputer, Forbes, and CSO Online covered the story, noting that the bugs were discovered with AI assistance (attributed to Ikotas Labs / Vexera AI). Security researchers on Mastodon and Bluesky highlighted the 11-year-old nature of the bug's introduction and the irony of a memory-safety flaw in widely deployed infrastructure. The Cloudflare blog published a post on nginx2root coverage and WAF protections. Palo Alto Networks' Unit 42 published a dedicated technical analysis of CVE-2026-123633. Community sentiment was urgent, with many hosting providers (Heroku, Liquid Web, Bitwarden, BTCPay Server, Pressable) issuing emergency maintenance notices. Some commentary noted that ingress-nginx (Kubernetes) would not receive an official upstream patch due to its pinned nginx version, prompting third-party backport efforts (Cisco Advisory, GitHub 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+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

영향 없음

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
  • nginx-mod-modsecurity-debugsource
아니요네Nov 18, 2026
CVE-2026-123633CRITICAL9.2
  • NGINX logoNGINX
  • nginx:1.26::nginx-mod-http-xslt-filter
아니요네Nov 18, 2026
CVE-2026-132779MEDIUM6.9
  • NGINX logoNGINX
  • nginx
아니요네Nov 23, 2026
CVE-2026-125283MEDIUM6.9
  • NGINX logoNGINX
  • nginx:1.18::nginx
아니요네Nov 18, 2026
CVE-2026-123640MEDIUM6.9
  • NGINX logoNGINX
  • nginx-mod-fancyindex-debugsource
아니요네Nov 18, 2026

무료 취약점 평가

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

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

요청 평가

추가 Wiz 리소스

맞춤형 데모를 받아보세요

맞춤형 데모 신청하기

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