CVE-2026-42945: NGINX ngx_http_rewrite_module vulnerability
CVE-2026-42945 affects 260 listed versions of nginx, nginx Plus, Peplink firmware in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
nginx
231 of 250 listed versions are affected. Fixed in 1.30.1. The newest release, 1.31.10, is not affected.
1.30.0 1.29.8 1.29.7 1.29.6 1.29.5 1.29.4 1.29.3 1.29.2 1.29.1 1.29.0 1.28.3 1.28.2 1.28.1 1.28.0 1.27.5 1.27.4 1.27.3 1.27.2 1.27.1 1.27.0 1.26.3 1.26.2 1.26.1 1.26.0 1.25.5 1.25.4 1.25.3 1.25.2 1.25.1 1.25.0 1.24.0 1.23.4 1.23.3 1.23.2 1.23.1 1.23.0 1.22.1 1.22.0 1.21.6 1.21.5 1.21.4 1.21.3 1.21.2 1.21.1 1.21.0 1.20.2 1.20.1 1.20.0 1.19.10 1.19.9 1.19.8 1.19.7 1.19.6 1.19.5 1.19.4 1.19.3 1.19.2 1.19.1 1.19.0 1.18.0 and 171 more
nginx Plus
22 of 109 listed versions are affected. Fixed in R36 P4, R32 P6. The newest release, 37.3.1.1, is not affected.
R36 P3 R36 P2 R36 P1 R36 R35 P2 R35 P1 R35 R34 P2 R34 P1 R34 R33 P3 R33 P2 R33 P1 R33 R32 P7 R32 P6 R32 P5 R32 P4 R32 P3 R32 P2 R32 P1 R32
Peplink firmware
7 of 10 listed versions are affected. Fixed in 8.5.5, 8.3.2. The newest release, 8.6.1, is not affected.
8.5.2 8.4.0 8.1.3 8.1.0 7.0.1 6.3.5 6.3.4
What it is
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (F5)
Published by F5 on 13 May 2026. Last changed 26 October 2026.
Sources
Check one version you run: look CVE-2026-42945 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.