Skip to content
OpenAdvisories

Description

NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_rewrite_module module. This vulnerability exists when the rewrite directive is followed by a rewrite, if, or set directive and an unnamed Perl-Compatible Regular Expression (PCRE) capture (for example, $1, $2) with a replacement string that includes a question mark (?). An unauthenticated attacker along with conditions beyond its 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.  Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

Affected products

VendorProductAffectedFixed
F5 NGINX Plus R36 – < R36 P4, R32 – < R32 P6 R36 P4
F5 NGINX Open Source 0.6.27 – < 1.30.1 1.30.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nginx 1.30.0-3 —
Debian 13 nginx 1.26.3-3+deb13u5 —
Debian 12 nginx 1.22.1-9+deb12u7 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS nginx 1.28.3-2ubuntu1.1 —
Ubuntu 25.10 nginx 1.28.0-6ubuntu1.3 —
Ubuntu 24.04 LTS nginx 1.24.0-2ubuntu7.8 —
Ubuntu 22.04 LTS nginx 1.18.0-6ubuntu14.11 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS nginx 1.18.0-0ubuntu1.7+esm1 —
Ubuntu Pro 18.04 LTS nginx 1.14.0-0ubuntu1.11+esm2 —
Ubuntu Pro 16.04 LTS nginx 1.10.3-0ubuntu0.16.04.5+esm7 —
Ubuntu Pro 14.04 LTS nginx 1.4.6-1ubuntu3.9+esm6 —
ReleasePackageFixed inAdvisory
RHEL 10 nginx +9 2:1.26.3-2.el10_1.2 RHSA-2026:19159, RHSA-2026:18063
RHEL 9 nginx +9 1:1.24.0-7.module+el9.8.0+24289+833e4c02.1 RHSA-2026:19374, RHSA-2026:19372, RHSA-2026:19371
RHEL 8 nginx +8 1:1.24.0-3.module+el8.10.0+24290+dc7f88b5.1 RHSA-2026:18041
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 10.0 EUS nginx +9 2:1.26.3-1.el10_0.9 RHSA-2026:17790
RHEL 9.6 EUS nginx +9 1:1.24.0-4.module+el9.6.0+24297+b3b39a7f.3 RHSA-2026:17794, RHSA-2026:17753, RHSA-2026:17752
RHEL 9.4 EUS nginx +9 1:1.20.1-16.el9_4.6 RHSA-2026:17793, RHSA-2026:17792
RHEL 9.2 E4S nginx +8 1:1.20.1-14.el9_2.6 RHSA-2026:17751
RHEL 9.0 E4S nginx +7 1:1.20.1-10.el9_0.4 RHSA-2026:17791
Red Hat Hardened Images 1 nginx +11 1.30.1-1.hum1 RHSA-2026:17417

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 nginx +7 2:1.26.3-6.el10_2.3 ALSA-2026:19159
AlmaLinux 10 nginx-filesystem +1 2:1.26.3-2.el10_1.2 ALSA-2026:19159, ALSA-2026:18063
AlmaLinux 9 nginx +7 2:1.20.1-24.el9_7.3.alma.1 ALSA-2026:19374, ALSA-2026:18029
AlmaLinux 9 nginx-filesystem +1 1:1.24.0-7.module_el9.8.0+246+ef96a02d.1.alma.1 ALSA-2026:19374, ALSA-2026:19372, ALSA-2026:19371
AlmaLinux 8 nginx +8 1:1.24.0-3.module_el8.10.0+4182+ca797750.1.alma.1 ALSA-2026:18041

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 nginx 2:1.26.3-2.el10_1.2 RLSA-2026:19159, RLSA-2026:18063
Rocky Linux 9 nginx 1:1.24.0-7.module+el9.8.0+40193+7b2d11e4.1.rocky.0.1 RLSA-2026:19374, RLSA-2026:19372, RLSA-2026:19371
Rocky Linux 8 nginx 1:1.24.0-3.module+el8.10.0+40144+38158758 RLSA-2026:18041
ReleasePackageFixed inAdvisory
SLES 15 SP5 nginx 1.21.5-150400.3.20.1 SUSE-SU-2026:2370-1
SLES 15 SP4 nginx 1.21.5-150400.3.20.1 SUSE-SU-2026:2370-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 nginx 1.21.5-150400.3.20.1 SUSE-SU-2026:2370-1
SLES for SAP 15 SP4 nginx 1.21.5-150400.3.20.1 SUSE-SU-2026:2370-1
SLE HPC 15 SP5 nginx 1.21.5-150400.3.20.1 SUSE-SU-2026:2370-1
SLE HPC 15 SP4 nginx 1.21.5-150400.3.20.1 SUSE-SU-2026:2370-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed nginx 1.31.0-1.1 openSUSE-SU-2026:10796-1
ReleasePackageFixed inAdvisory
Alpine v3.24 nginx 1.30.1-r0 —
Alpine v3.23 nginx 1.28.3-r1 —
Alpine v3.22 nginx 1.28.3-r1 —
Alpine v3.21 nginx 1.26.3-r1 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nginx +9 1:1.30.1-1.amzn2023.0.1 ALAS2023-2026-1714

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 nginx 1.28.3-4 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 nginx +9 2:1.26.3-2.0.1.el10_1.2 ELSA-2026-19159, ELSA-2026-18063
Oracle Linux 9 nginx +9 1:1.24.0-7.0.1.module+el9.8.0+90907+bb748438.1 ELSA-2026-19374, ELSA-2026-19372, ELSA-2026-19371
Oracle Linux 8 nginx +8 1:1.24.0-3.0.1.module+el8.10.0+90893+b2195e14.1 ELSA-2026-18041

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling kube-webhook-certgen-1.15 +6 1.15.5-r1 —
Wolfi rolling nginx-mainline 1.31.0-r0 —
Wolfi rolling nginx-stable 1.30.1-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 48 repositories · most starred shown

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 44

References