CVE-2026-42945
NGINX ngx_http_rewrite_module vulnerability
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
- F5 · NGINX Plus · NGINX Open Source
- CVSS v4.0 F5
- 9.2 CRITICAL
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS v3.1 CNA
- 8.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 3.40% chance of exploitation in the next 30 days, 89th percentile
- Published
- 2026-05-13
- Updated
- 2026-09-10
Proof-of-concept exploits (29)
- cipherspy/CVE-2026-42945-POC64★ · 2026-05-14
- p3Nt3st3r-sTAr/CVE-2026-42945-POC15★ · 2026-05-14
- rheodev/CVE-2026-4294524★ · 2026-05-14
- nanwinata/nginxrift-CVE-2026-429453★ · 2026-05-15
- ChamsBouzaiene/ai-vuln-rediscovery-nginx-cve-2026-429450★ · 2026-05-14
- 0xBlackash/CVE-2026-429452★ · 2026-05-14
- jelasin/CVE-2026-429454★ · 2026-05-15
- tal7aouy/nginx-cve-2026-429452★ · 2026-05-17
- quantumworld-dpdns-io/CVE-2026-429450★ · 2026-05-28
- imSre9/CVE-2026-429450★ · 2026-05-19
- hnytgl/CVE-2026-429451★ · 2026-06-06
- aratane/CVE-2026-429451★ · 2026-07-01
- yusufdalbudak/CVE-2026-429450★ · 2026-05-20
- RedCrazyGhost/CVE-2026-429451★ · 2026-05-19
- hulina9900-boop/DIY-CVE-2026-42945-POC0★ · 2026-06-17
- forxiucn/nginx-cve-2026-42945-poc1★ · 2026-05-15
- josephfelix/CVE-2026-42945-nginx-rift1★ · 2026-05-25
- Renison-Gohel/CVE-2026-42945-NGINX-Rift1★ · 2026-05-17
- webdev75950-ux/nginx-rce-cve-2026-429450★ · 2026-05-23
- F2u0a0d3/CVE-2026-42945-nginx-rift-poc1★ · 2026-05-22
- sec-sys/CVE-2026-42945-Reverse-Shell-POC0★ · 2026-06-14
- laohuang101/NginxRift-Poc0★ · 2026-07-20
- FranklinF25/cve-2026-429450★ · 2026-08-30
- Kentox493/CVE-2026-42945_NginxRift1★ · 2026-08-14
- LiaoZiqi-GZFLS/CVE-2026-429451★ · 2026-06-12
- leojaguaribe/cve-zerolab0★ · 2026-05-28
- likecq/Nginx-Rift0★ · 2026-09-16
- dinosn/cve-2026-42945-nginx32-lab/blob/f6529346a40cfe915dea492cb493692509e54ea4/exploit/r…3★ · 2026-05-16
- porcumarcooo/THM-CVE-2026-42945-Nginx-Rift-Exploit0★ · 2026-10-08
Security advisories
- https://my.f5.com/manage/s/article/K000161019
- https://depthfirst.com/nginx-rift
- DepthFirstDisclosures/Nginx-Rift