Skip to main content
← All vulnerabilities
CVE-2026-42945

NGINX ngx_http_rewrite_module vulnerability

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in R36 P4, R32 P6, 1.30.1
46 proofs of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  2. CVE published
  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • F5 NGINX Plus

    From R36 · fixed in R36 P4; From R32 · fixed in R32 P6

  • F5 NGINX Open Source

    From 0.6.27 · fixed in 1.30.1

References 47

my.f5.com

GitHub · 0xBlackash/CVE-2026-42945

GitHub · BarAppTeam/nginx-cve-fix

GitHub · ChamsBouzaiene/ai-vuln-rediscovery-nginx-cve-2026-42945

GitHub · CynepMyx/nginx-rift-check

GitHub · F2u0a0d3/CVE-2026-42945-nginx-rift-poc

GitHub · FranklinF25/cve-2026-42945

GitHub · Kentox493/CVE-2026-42945_NginxRift

GitHub · LiaoZiqi-GZFLS/CVE-2026-42945

GitHub · MateusVerass/nGixshell

GitHub · RedCrazyGhost/CVE-2026-42945

GitHub · Renison-Gohel/CVE-2026-42945-NGINX-Rift

GitHub · aratane/CVE-2026-42945

GitHub · azilRababe/CVE-2026-42945

GitHub · byezero/nginx-cve-2026-42945-check

GitHub · chenqin231/CVE-2026-42945

GitHub · cipherspy/CVE-2026-42945-POC

GitHub · dinosn/cve-2026-42945-nginx32-lab

GitHub · fkj-src/fix_nginx_cve_2026_42945

GitHub · forxiucn/nginx-cve-2026-42945-poc

GitHub · friparia/NGINX_RIFT_SCAN_CVE_2026_42945

GitHub · gagaltotal/CVE-2026-42945-NGINX-Rift-Toolkit

GitHub · hulina9900-boop/DIY-CVE-2026-42945-POC

GitHub · iammerrida-source/nginx-rift-detect

GitHub · imSre9/CVE-2026-42945

GitHub · jelasin/CVE-2026-42945

GitHub · josephfelix/CVE-2026-42945-nginx-rift

GitHub · limo57640-crypto/nginx-rift-detector

GitHub · lowilol/CVE-2026-42945-NGINX-Rift-Check-Script

GitHub · nanwinata/nginxrift-CVE-2026-42945

GitHub · nu0l/NGINX-Rift

GitHub · oseasfr/Scanner_CVE_2026-42945

GitHub · p3Nt3st3r-sTAr/CVE-2026-42945-POC

GitHub · porcumarcooo/THM-CVE-2026-42945-Nginx-Rift-Exploit

GitHub · quantumworld-dpdns-io/CVE-2026-42945

GitHub · realityone/cve-2026-42945-scan

GitHub · rheodev/CVE-2026-42945

GitHub · rune42/ElasticRift

GitHub · sec-sys/CVE-2026-42945-Reverse-Shell-POC

GitHub · sibersan/web-server-audit_CVE-2026-42945

GitHub · simota/nginx-rift-scanner

GitHub · soksofos/wazuh-nginx-cve-2026-42945-sca-lab

GitHub · strivepan/Nginx_cve-2026-42945-scanner-gui

GitHub · tal7aouy/nginx-cve-2026-42945

GitHub · webdev75950-ux/nginx-rce-cve-2026-42945

GitHub · x0xr00t/sl0ppy-riftscan-CVE-2026-42945

GitHub · yusufdalbudak/CVE-2026-42945