PoC Monitor
← All CVEs
CVE-2026-42945published 13 May 2026 14:12 UTCData: JSON · API

F5 NGINX Plus

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.

First public PoC 16 hafter publication · 14 May 2026
Public PoCs2626 on GitHub
CVSS9.2critical · scored by CNA · CWE-122
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

F5 NGINX Plus
  • >= R36, < R36 P4
  • >= R32, < R32 P6

Fixed in R37, R36 P4, R32 P6

F5 NGINX Open Source
  • >= 0.6.27, < 1.30.1

Fixed in 1.31.0, 1.30.1

Mitigation

Upgrade NGINX Plus to R37 or R36 P4 or R32 P6 or later.

Upgrade NGINX Open Source to 1.31.0 or 1.30.1 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published13 May 2026 · t = 0First public PoC14 May 2026 · t+16h

First public PoC 16 h after publication; not in CISA KEV. First PoC: p3Nt3st3r-sTAr/CVE-2026-42945-POC (created 14 May 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

26 PoCs · 19 pending · 7 informational · 1 suspicious or fake

PoCs 26
RepositoryCreatedFound by usStarsAssessment
p3Nt3st3r-sTAr/CVE-2026-42945-POC 14 May 2026 +16 h backfilled 15 PoC
nanwinata/nginxrift-CVE-2026-42945 14 May 2026 +22 h backfilled 3 PoC
rheodev/CVE-2026-42945 14 May 2026 +23 h backfilled 24 PoC
0xBlackash/CVE-2026-42945 14 May 2026 +1.1 d backfilled 2 PoC
0xredash/CVE-2026-42945 14 May 2026 +1.1 d backfilled 2 PoC
ashrafzaryouh/CVE-2026-42945 14 May 2026 +1.1 d backfilled 2 PoC
ChamsBouzaiene/ai-vuln-rediscovery-nginx-cve-2026-42945 14 May 2026 +1.3 d backfilled 0 PoC
tal7aouy/nginx-cve-2026-42945 17 May 2026 +4.1 d backfilled 2 PoC
Renison-Gohel/CVE-2026-42945-NGINX-Rift 17 May 2026 +4.2 d backfilled 1 PoC
imSre9/CVE-2026-42945 19 May 2026 +5.5 d backfilled 0 PoC
RedCrazyGhost/CVE-2026-42945 19 May 2026 +5.9 d backfilled 1 PoC
richard-rodriguez26/CVE-2026-42945 19 May 2026 +6.4 d backfilled 0 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

yusufdalbudak/CVE-2026-42945 20 May 2026 +7 d backfilled 0 PoC
F2u0a0d3/CVE-2026-42945-nginx-rift-poc 22 May 2026 +9.2 d backfilled 1 PoC
josephfelix/CVE-2026-42945-nginx-rift 25 May 2026 +12 d backfilled 1 PoC
quantumworld-dpdns-io/CVE-2026-42945 28 May 2026 +15 d backfilled 0 PoC
LiaoZiqi-GZFLS/CVE-2026-42945 10 Jun 2026 +28 d backfilled 1 PoC
sec-sys/CVE-2026-42945-Reverse-Shell-POC 14 Jun 2026 +32 d backfilled 0 PoC
hulina9900-boop/DIY-CVE-2026-42945-POC 17 Jun 2026 +35 d backfilled 0 PoC
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

aratane/CVE-2026-42945 1 Jul 2026 +49 d backfilled 1 PoC
laohuang101/NginxRift-Poc 20 Jul 2026 +68 d backfilled 0 PoC via PoC Index
Kentox493/CVE-2026-42945_NginxRift 14 Aug 2026 +93 d backfilled 1 PoC
FranklinF25/cve-2026-42945 30 Aug 2026 +109 d backfilled 0 PoC
likecq/Nginx-Rift 16 Sep 2026 +126 d backfilled 0 PoC via PoC Index
x0xr00t/sl0ppy-riftscan-CVE-2026-42945 26 Oct 2026 +166 d 14 Nov 2026 0 PoC
basesixtythree/B63-POC-CVE-2026-42945 2 Nov 2026 +173 d 14 Nov 2026 0 PoC
Pending 19
RepositoryCreatedFound by usStarsAssessment
friparia/NGINX_RIFT_SCAN_CVE_2026_42945 14 May 2026 +14 h backfilled 34 Pending · mkdir /quarantine/friparia__NGINX_RIFT_SCAN_CVE_2026_42945-9316b5143522: permission denied
realityone/cve-2026-42945-scan 14 May 2026 +21 h backfilled 1 Pending · mkdir /quarantine/realityone__cve-2026-42945-scan-c21cd93edea1: permission denied
oseasfr/Scanner_CVE_2026-42945 15 May 2026 +1.4 d backfilled 18 Pending · mkdir /quarantine/oseasfr__Scanner_CVE_2026-42945-18404a522ca6: permission denied
chenqin231/CVE-2026-42945 15 May 2026 +1.5 d backfilled 1 Pending · mkdir /quarantine/chenqin231__CVE-2026-42945-9d6237c525ea: permission denied
iammerrida-source/nginx-rift-detect 15 May 2026 +1.7 d backfilled 4 Pending · mkdir /quarantine/iammerrida-source__nginx-rift-detect-9960ba935158: permission denied
soksofos/wazuh-nginx-cve-2026-42945-sca-lab 15 May 2026 +1.9 d backfilled 0 Pending · mkdir /quarantine/soksofos__wazuh-nginx-cve-2026-42945-sca-lab-cbf62adc509a: permission denied
byezero/nginx-cve-2026-42945-check 15 May 2026 +2 d backfilled 0 Pending · mkdir /quarantine/byezero__nginx-cve-2026-42945-check-1db9bd870d85: permission denied
dinosn/cve-2026-42945-nginx32-lab 16 May 2026 +2.8 d backfilled 3 Pending · mkdir /quarantine/dinosn__cve-2026-42945-nginx32-lab-70ac182393a0: permission denied
sibersan/web-server-audit_CVE-2026-42945 16 May 2026 +2.8 d backfilled 1 Pending · mkdir /quarantine/sibersan__web-server-audit_CVE-2026-42945-bdccea5fb25a: permission denied
limo57640-crypto/nginx-rift-detector 16 May 2026 +2.9 d backfilled 0 Pending · mkdir /quarantine/limo57640-crypto__nginx-rift-detector-8358aa256133: permission denied
MateusVerass/nGixshell 16 May 2026 +3 d backfilled 29 Pending · mkdir /quarantine/MateusVerass__nGixshell-0cac40d6aa0a: permission denied
BarAppTeam/nginx-cve-fix 16 May 2026 +3.2 d backfilled 0 Pending · mkdir /quarantine/BarAppTeam__nginx-cve-fix-dc4089b4a07b: permission denied
fkj-src/fix_nginx_cve_2026_42945 19 May 2026 +6 d backfilled 0 Pending · mkdir /quarantine/fkj-src__fix_nginx_cve_2026_42945-f465d5e0ec3a: permission denied
gagaltotal/CVE-2026-42945-NGINX-Rift-Toolkit 20 May 2026 +6.7 d backfilled 4 Pending · mkdir /quarantine/gagaltotal__CVE-2026-42945-NGINX-Rift-Toolkit-7ed5aa23a71a: permission denied
nu0l/NGINX-Rift 25 May 2026 +12 d backfilled 5 Pending · mkdir /quarantine/nu0l__NGINX-Rift-ed042c0ad1d1: permission denied
strivepan/Nginx_cve-2026-42945-scanner-gui 3 Jun 2026 +21 d backfilled 3 Pending · mkdir /quarantine/strivepan__Nginx_cve-2026-42945-scanner-gui-703e7e0058c2: permission denied
lowilol/CVE-2026-42945-NGINX-Rift-Check-Script 3 Jun 2026 +21 d backfilled 0 Pending · mkdir /quarantine/lowilol__CVE-2026-42945-NGINX-Rift-Check-Script-4bfdc919bad1: permission denied
simota/nginx-rift-scanner 4 Jun 2026 +22 d backfilled 1 Pending · mkdir /quarantine/simota__nginx-rift-scanner-6b8c951ed74a: permission denied
ChaskarVinit/nginx-rift-cve-2026-42945-lab 29 Oct 2026 +169 d 14 Nov 2026 0 Pending
Informational 7
RepositoryCreatedStarsAssessment
forxiucn/nginx-cve-2026-42945-poc 15 May 2026 +1.5 d 1 Informational · list
webdev75950-ux/nginx-rce-cve-2026-42945 23 May 2026 +10 d 0 Informational · write-up
leojaguaribe/cve-zerolab 28 May 2026 +15 d 0 Informational · list
azilRababe/CVE-2026-42945 22 Jun 2026 +40 d 1 Informational · write-up
CynepMyx/nginx-rift-check 13 Aug 2026 +92 d 0 Informational · detection
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

porcumarcooo/THM-CVE-2026-42945-Nginx-Rift-Exploit 8 Oct 2026 +148 d 0 Informational · write-up
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

rune42/ElasticRift 11 Oct 2026 +151 d 0 Informational · write-up
Suspicious or fake 1
RepositoryCreatedStarsAssessment
cipherspy/CVE-2026-42945-POC 14 May 2026 +21 h 66 Fake

Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 26 PoC repos

GET /api/+++++++++++++++++++++++++++++++++++

Seen in
1 repo: rheodev/CVE-2026-42945
Evidence
rheodev/CVE-2026-42945/README.md:118

GET /api/AAAAA++++++++++++++++++++++++++++++...

Ports
19321
Seen in
1 repo: quantumworld-dpdns-io/CVE-2026-42945
Evidence
quantumworld-dpdns-io/CVE-2026-42945/docs/detection-guide.md:63

GET /api/users/42

Ports
19321
Seen in
1 repo: Kentox493/CVE-2026-42945_NginxRift
Evidence
Kentox493/CVE-2026-42945_NginxRift/Readme.md:59

GET /legacy/test`.

Ports
18080
Seen in
1 repo: yusufdalbudak/CVE-2026-42945
Evidence
yusufdalbudak/CVE-2026-42945/docs/WEBINAR_FLOW.md:35

GET /nginx_status

Ports
18080
Seen in
1 repo: yusufdalbudak/CVE-2026-42945
Evidence
yusufdalbudak/CVE-2026-42945/docs/WEBINAR_FLOW.md:37

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /spray
(?i)^/spray(?:[?#].*)?$
GET /%20%20%20%20...
(?i)^/%20%20%20%20\.\.\.(?:[?#].*)?$
GET /api/+++++++++++++++++++++++++++++++++++
(?i)^/api/\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+(?:[?#].*)?$
GET /api/AAAAA++++++++++++++++++++++++++++++...
(?i)^/api/AAAAA\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\.\.\.(?:[?#].*)?$
GET /)
(?i)^/\)(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /spray
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-42945 F5 NGINX Plus exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/spray"; http.header; content:"X-Delay: 60        (keep request pool alive)"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-42945; classtype:web-application-attack; sid:9084019; rev:1;)
GET /%20%20%20%20...
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-42945 F5 NGINX Plus exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/%20%20%20%20..."; reference:url,poc.griffinguard.io/cve/CVE-2026-42945; classtype:web-application-attack; sid:9409732; rev:1;)
GET /api/+++++++++++++++++++++++++++++++++++
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-42945 F5 NGINX Plus exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/+++++++++++++++++++++++++++++++++++"; reference:url,poc.griffinguard.io/cve/CVE-2026-42945; classtype:web-application-attack; sid:9612838; rev:1;)
GET /api/AAAAA++++++++++++++++++++++++++++++...
alert http any any -> $HOME_NET [19321] (msg:"GG PoC-Monitor CVE-2026-42945 F5 NGINX Plus exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/AAAAA++++++++++++++++++++++++++++++..."; reference:url,poc.griffinguard.io/cve/CVE-2026-42945; classtype:web-application-attack; sid:9497242; rev:1;)
GET /)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-42945 F5 NGINX Plus exploit attempt"; flow:established,to_server; http.method; content:"GET"; reference:url,poc.griffinguard.io/cve/CVE-2026-42945; classtype:web-application-attack; sid:9867561; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /spray
title: F5 NGINX Plus exploit attempt (CVE-2026-42945)
id: gg-pocmon-cve-2026-42945-9084019
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-42945. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-42945
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/spray'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.42945
GET /%20%20%20%20...
title: F5 NGINX Plus exploit attempt (CVE-2026-42945)
id: gg-pocmon-cve-2026-42945-9409732
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-42945. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-42945
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/%20%20%20%20...'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.42945
GET /api/+++++++++++++++++++++++++++++++++++
title: F5 NGINX Plus exploit attempt (CVE-2026-42945)
id: gg-pocmon-cve-2026-42945-9612838
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-42945. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-42945
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/+++++++++++++++++++++++++++++++++++'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.42945
GET /api/AAAAA++++++++++++++++++++++++++++++...
title: F5 NGINX Plus exploit attempt (CVE-2026-42945)
id: gg-pocmon-cve-2026-42945-9497242
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-42945. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-42945
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/AAAAA++++++++++++++++++++++++++++++...'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.42945
GET /)
title: F5 NGINX Plus exploit attempt (CVE-2026-42945)
id: gg-pocmon-cve-2026-42945-9867561
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-42945. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-42945
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.42945