IT SBIT Services
Schneeberger
DEEN
CVE tracker

F5 NGINX: Heap buffer overflow via alias, rewrite and $request_filename

CVE-2026-15176Critical 9.2Public exploit

← All vulnerabilities

Summary

A heap buffer overflow in the ngx_http_core_module of NGINX Open Source and NGINX Plus can be triggered by crafted HTTP requests. It only occurs when a location combines the alias directive with rewrite and a set or return directive referencing $request_filename, or when $request_filename is used in an access log format. A successful attack crashes the NGINX worker process (denial of service); on systems with ASLR disabled or weakened, code execution may be possible. No authentication is required, but the vulnerable configuration must be present.

Affected

  • NGINX Open Source 1.31.0 to before 1.31.7
  • NGINX Open Source 0.1.29 to before 1.30.6
  • NGINX Plus 37.1.0 to before 37.1.0.1 and 37.0.0 to before 37.0.5.1 (per F5 record; older branches R33 to R36 affected, fixed builds unconfirmed)
  • Other F5 and distribution packages: Unknown.

Fixed in

  • NGINX Open Source 1.31.7 or later
  • NGINX Open Source 1.30.6 or later
  • NGINX Plus 37.1.0.1 or later and 37.0.5.1 or later (verify against F5 advisory K000162416)
  • Other products and distributions: Unknown.

Workaround

  • Avoid using the alias directive in a location block.
  • Avoid using the $request_filename variable, including in access log formats.

Exploitation

  • No known exploitation in the wild as of 26 Oct 2026; not listed in CISA KEV.
  • CISA SSVC: Exploitation none, Automatable no, Technical impact total.
  • A public proof-of-concept repository covers root cause and denial of service only; no RCE has been published.

Our recommendation

  • Check all internet-facing NGINX, NGINX Plus, Ingress Controller and distribution packages and patch to the fixed versions.
  • Search configurations for alias combined with rewrite, set, return or $request_filename, including log_format.
  • If patching is delayed and the configuration is present, apply the workaround.
  • Monitor for worker crashes and check the F5 advisory and NVD for updates.

Public exploits

Links to third-party sites, not checked by us – exploit code can contain malware. Only use it in isolated test environments.

Research sources

Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 31 Oct 2026, 04:34.

Original description (NVD)

A vulnerability exists in NGINX Plus and NGINX Open Source when a location is configured that uses the alias directive together with rewrite and a set or return directive referencing the $request_filename variable. Alternatively, the same result could be achieved when the $request_filename variable is used in an access log format directive. An unauthenticated attacker along with conditions beyond their control can exploit this vulnerability by sending crafted HTTP requests. This may cause a heap buffer overflow in the NGINX worker process leading to a restart. Additionally, attackers can execute code on systems with Address Space Layout Randomization (ASLR) disabled or when the attacker can bypass ASLR. Impact: This vulnerability may allow remote attackers to cause a denial-of-service (DoS) on the NGINX system or to possibly trigger a code execution. There is no control plane exposure; this is a data plane issue only. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

NVD references (1)

Sources

The tracker combines official, freely usable data sources – updated continuously:

This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.

Affected? We can help.

We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.