CVE-2026-123634: 
NGINX Analyse et atténuation de la vulnérabilité

Aperçu

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

Détails techniques

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

Impact

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

Exploitabilité

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

Étapes d’exploitation

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

Indicateurs de compromis

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

Atténuation et solutions de contournement

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

Réactions de la communauté

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

Ressources supplémentaires

État de correction de la distribution Linux

Corrigez la disponibilité entre les grandes distributions Linux et leurs versions.

Debian

Fixé

bookworm

nginx: 1.22.1-9+deb12u11

Fixé

sid

nginx: 1.30.6-4

Fixé

trixie

nginx: 1.26.3-3+deb13u11

Fixé

Ubuntu

Fixé

bionic (esm-infra)

nginx: 1.14.0-0ubuntu1.11+esm6

Fixé

devel

nginx: 1.30.6-3ubuntu2

Affecté

focal (esm-infra)

nginx: 1.18.0-0ubuntu1.7+esm5

Fixé

jammy

nginx: 1.18.0-6ubuntu14.23

Fixé

noble

nginx: 1.24.0-2ubuntu7.20

Fixé

resolute

nginx: 1.28.3-2ubuntu1.13

Fixé

trusty (esm-infra-legacy)

nginx: 1.4.6-1ubuntu3.9+esm10

Fixé

xenial (esm-infra-legacy)

nginx: 1.10.3-0ubuntu0.16.04.5+esm11

Fixé

RHEL / CentOS

Fixé

RHEL 9

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

Fixé

RHEL 10

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

Fixé

Alpine

Fixé

edge

nginx: 1.30.7-r0

Fixé

v3.21

nginx: 1.26.3-r4

Fixé

v3.22

nginx: 1.28.3-r8

Fixé

v3.23

nginx: 1.28.3-r8

Fixé

Source: Ce rapport a été généré à l’aide de l’IA

Connexe NGINX Vulnérabilités :

CVE ID

Gravité

Partition

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

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

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.

Évaluation de la demande

Ressources Wiz supplémentaires

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités