SaturdayDrive Ninja Forms - File Uploads
Ninja Forms - File Upload <= 3.3.26 - Unauthenticated Arbitrary File Upload
The Ninja Forms - File Uploads plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the 'NF_FU_AJAX_Controllers_Uploads::handle_upload' function in all versions up to, and including, 3.3.26. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible. Note: The vulnerability was partially patched in version 3.3.25 and fully patched in version 3.3.27.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 3.3.26
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 14 h after publication; not in CISA KEV. First PoC: whattheslime/CVE-2026-0740 (created 7 Apr 2026, found by us: backfilled).
PoC repositories
Found on GitHub.8 PoCs
PoCs 8
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| whattheslime/CVE-2026-0740 | 7 Apr 2026 +14 h | 2 | PoC |
| xShadow-Here/CVE-2026-0740 | 8 Apr 2026 +21 h | 3 | PoC |
| 0xgh057r3c0n/CVE-2026-0740 | 17 Apr 2026 +10 d | 24 | PoC |
| murrez/CVE-2026-0740 | 25 Apr 2026 +19 d | 1 | PoC |
| a24ac1/CVE-2026-0740 | 20 May 2026 +43 d | 0 | PoC |
| ExDev994/CVE-2026-0740-mass | 11 Jul 2026 +95 d | 1 | PoC |
| MadExploits/ninja-form-exploit | 14 Jul 2026 +98 d | 3 | PoC |
| llaytynher/CVE-2026-0740-upload-template | 22 Aug 2026 +137 d | 0 | Scanner |
Only PoCs count toward the first-PoC date and the characteristics below. 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.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Ninja Forms Uploads - Unauthenticated PHP File Upload | 13 May 2026 | 14 Nov 2026 |
| nuclei template | nuclei template: Ninja Forms File Uploads <= 3.3.26 - Arbitrary File Upload | unknown | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 8 PoC reposPOST /wp-admin/admin-ajax.php
- Body markers
action=nf_fu_get_new_noncefield_id=--nucleiboundary Content-Disposition: form-data; name="action"field_id=7form_id=7action=nf_fu_uploadnonce=doc_pdf=murrez.php--nuclei-cve-2026-0740 Content-Disposition: form-data; name="action"doc_pdf=shadow.phpinapplication/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0- Seen in
- 5 repos: 0xgh057r3c0n/CVE-2026-0740, a24ac1/CVE-2026-0740, llaytynher/CVE-2026-0740-upload-template, murrez/CVE-2026-0740, xShadow-Here/CVE-2026-0740
- Evidence
- 0xgh057r3c0n/CVE-2026-0740/CVE-2026-0740.yaml:65 0xgh057r3c0n/CVE-2026-0740/CVE-2026-0740.yaml:93 a24ac1/CVE-2026-0740/ninja.py:31 a24ac1/CVE-2026-0740/ninja.py:72 llaytynher/CVE-2026-0740-upload-template/CVE-2026-0740-upload-template.yaml:96 murrez/CVE-2026-0740/ninja.py:31
GET /wp-content/plugins/ninja-forms-uploads/readme.txt
GET /wp-content/uploads/ninja-forms/tmp/{var}
GET /wp-content/uploads/ninja-forms/tmp/{var}.txt
- Seen in
- 1 repo: 0xgh057r3c0n/CVE-2026-0740
- Evidence
- 0xgh057r3c0n/CVE-2026-0740/CVE-2026-0740.yaml:136
GET /wp-content/shell.php
- Query
cmd=id- Ports
- 8080
- Seen in
- 1 repo: ExDev994/CVE-2026-0740-mass
- Evidence
- ExDev994/CVE-2026-0740-mass/README.md:140
GET /wp-content/uploads/ninja-forms/ws.php
- Query
cmd=id- Ports
- 8000
- Seen in
- 1 repo: whattheslime/CVE-2026-0740
- Evidence
- whattheslime/CVE-2026-0740/README.md:97
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/wp-admin/admin-ajax\.php(?:[?#].*)?$
(?i)^/wp-content/plugins/ninja-forms-uploads/readme\.txt(?:[?#].*)?$
(?i)^/wp-content/uploads/ninja-forms/tmp/[^/?#]*(?:[?#].*)?$
(?i)^/wp-content/uploads/ninja-forms/tmp/[^/?#]*\.txt(?:[?#].*)?$
(?i)^/wp-content/shell\.php\?(?:.*&)?cmd=id
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-0740 SaturdayDrive Ninja Forms - File Uploads exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-admin/admin-ajax.php"; http.request_body; content:"action=nf_fu_get_new_nonce"; http.request_body; content:"field_id="; http.request_body; content:"--nucleiboundary Content-Disposition: form-data|3b| name=|22|action|22|"; http.request_body; content:"field_id=7"; http.request_body; content:"form_id=7"; http.request_body; content:"action=nf_fu_upload"; http.request_body; content:"nonce="; http.request_body; content:"doc_pdf=murrez.php"; http.request_body; content:"--nuclei-cve-2026-0740 Content-Disposition: form-data|3b| name=|22|action|22|"; http.request_body; content:"doc_pdf=shadow.php"; reference:url,poc.griffinguard.io/cve/CVE-2026-0740; classtype:web-application-attack; sid:9845767; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-0740 SaturdayDrive Ninja Forms - File Uploads exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-content/plugins/ninja-forms-uploads/readme.txt"; reference:url,poc.griffinguard.io/cve/CVE-2026-0740; classtype:web-application-attack; sid:9059686; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-0740 SaturdayDrive Ninja Forms - File Uploads exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-content/uploads/ninja-forms/tmp/"; reference:url,poc.griffinguard.io/cve/CVE-2026-0740; classtype:web-application-attack; sid:9081028; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-0740 SaturdayDrive Ninja Forms - File Uploads exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-content/uploads/ninja-forms/tmp/"; http.uri; content:".txt"; reference:url,poc.griffinguard.io/cve/CVE-2026-0740; classtype:web-application-attack; sid:9354162; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-0740 SaturdayDrive Ninja Forms - File Uploads exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-content/shell.php"; http.uri; content:"cmd=id"; reference:url,poc.griffinguard.io/cve/CVE-2026-0740; classtype:web-application-attack; sid:9366523; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: SaturdayDrive Ninja Forms - File Uploads exploit attempt (CVE-2026-0740)
id: gg-pocmon-cve-2026-0740-9845767
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-0740. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-0740
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wp-admin/admin-ajax.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.0740
title: SaturdayDrive Ninja Forms - File Uploads exploit attempt (CVE-2026-0740)
id: gg-pocmon-cve-2026-0740-9059686
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-0740. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-0740
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-content/plugins/ninja-forms-uploads/readme.txt'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.0740
title: SaturdayDrive Ninja Forms - File Uploads exploit attempt (CVE-2026-0740)
id: gg-pocmon-cve-2026-0740-9081028
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-0740. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-0740
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-content/uploads/ninja-forms/tmp/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.0740
title: SaturdayDrive Ninja Forms - File Uploads exploit attempt (CVE-2026-0740)
id: gg-pocmon-cve-2026-0740-9354162
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-0740. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-0740
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-content/uploads/ninja-forms/tmp/'
- '.txt'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.0740
title: SaturdayDrive Ninja Forms - File Uploads exploit attempt (CVE-2026-0740)
id: gg-pocmon-cve-2026-0740-9366523
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-0740. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-0740
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-content/shell.php'
cs-uri-query|contains|all:
- 'cmd=id'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.0740