Threat reportVulnerabilityTL-2026-3781
CVE-2026-0740 - Unauthenticated Arbitrary File Upload to RCE in Ninja Forms File Uploads WordPress Extension
The premium Ninja Forms File Uploads extension for WordPress (versions up to and including 3.3.26, roughly 50,000 installs) lets unauthenticated attackers write arbitrary files, including PHP web shells, to the server, leading to remote code execution. A public PoC has been available since 2026-04-09, exploitation in the wild is reported by Wordfence-sourced coverage, and the complete fix is version 3.3.27. First disclosed .
Key facts
| Identifiers | TL-2026-3781, CVE-2026-0740 |
|---|---|
| Severity | CRITICAL |
| CVSS | 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) |
| First disclosed | |
| EPSS | CVE-2026-0740: 62.9% (99.1th percentile) |
| Affected products | Saturday Drive (Ninja Forms) Ninja Forms - File Uploads (WordPress premium extension) |
| Weaknesses (CWE) | CWE-434 |
| Malware | PHP |
| Tools | Exploit-DB EDB-52560 PoC |
| MITRE ATT&CK techniques | T1036.008 Masquerade File Type, T1059 Command and Scripting Interpreter, T1059.004 Unix Shell, T1190 Exploit Public-Facing Application, T1505.003 Web Shell, T1595.002 Vulnerability Scanning |
| Motivation | UNKNOWN |
| Target sectors | technology, education, nonprofit, retail, professional-services |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 9 cited sources |
Detection coverage
As of 2026-10-16, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-3781 across Splunk SPL, Microsoft KQL and Sigma, covering 9 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: CVE-2026-0740 Ninja Forms File Uploads nf_fu_upload Exploitation Attempt
Detects unauthenticated POSTs to /wp-admin/admin-ajax.php with action=nf_fu_upload, especially when the same client also calls nf_fu_get_new_nonce (the two-step sequence used by the public Exploit-DB EDB-52560 PoC for CVE-2026-0740, CWE-434). Reveals attempted exploitation of vulnerable Ninja Forms - File Uploads versions <= 3.3.26. It does not prove a shell was written, so pair it with the post-exploitation detections.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1190, T1595.002
- Data sources: apache_access_logs, nginx_access_logs, waf_logs
- Severity: high
- Confidence: high
Splunk SPL
index=web sourcetype=access_combined method=POST uri_path="*/wp-admin/admin-ajax.php" (uri_query="*action=nf_fu_upload*" OR uri_query="*action=nf_fu_get_new_nonce*") earliest=-24h
| eval stage=if(like(uri_query, "%nf_fu_get_new_nonce%"), "nonce_fetch", "upload")
| stats count AS requests, dc(stage) AS stages, values(stage) AS stage_list, values(status) AS status_codes, min(_time) AS first_seen, max(_time) AS last_seen BY clientip, host
| where stages>=2 OR requests>=5
| eval first_seen=strftime(first_seen, "%F %T"), last_seen=strftime(last_seen, "%F %T")
| table first_seen, last_seen, host, clientip, stage_list, status_codes, requestsMicrosoft KQL
CommonSecurityLog
| where TimeGenerated > ago(24h)
| where RequestMethod =~ "POST" and RequestURL has "admin-ajax.php"
| where RequestURL has_any ("action=nf_fu_upload", "action=nf_fu_get_new_nonce")
| extend Stage = iff(RequestURL has "nf_fu_get_new_nonce", "nonce_fetch", "upload")
| summarize Requests = count(), Stages = dcount(Stage), StageList = make_set(Stage), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by SourceIP, DestinationHostName
| where Stages >= 2 or Requests >= 5
| project FirstSeen, LastSeen, DestinationHostName, SourceIP, StageList, RequestsSigma
title: Ninja Forms File Uploads nf_fu_upload Request - CVE-2026-0740
id: 3b1f6c52-7a0e-4d0b-9a41-5c2e8f10a001
status: experimental
description: Detects POST requests to the unauthenticated Ninja Forms File Uploads AJAX action nf_fu_upload (CVE-2026-0740).
references:
- https://nvd.nist.gov/vuln/detail/CVE-2026-0740
- https://www.exploit-db.com/exploits/52560
- https://attack.mitre.org/techniques/T1190/
author: Threadlinqs Team
date: 2026-10-16
tags:
- attack.initial_access
- attack.t1190
- cve.2026.0740
logsource:
category: webserver
detection:
selection:
cs-method: 'POST'
c-uri|contains|all:
- 'admin-ajax.php'
- 'action=nf_fu_upload'
condition: selection
falsepositives:
- Legitimate visitors submitting Ninja Forms upload fields
level: high
Known false positives:
- Legitimate visitors uploading files through public Ninja Forms upload fields (the front-end legitimately calls nf_fu_upload and nf_fu_get_new_nonce)
- Authorised vulnerability scanners probing admin-ajax.php actions
Tuning notes: Baseline upload volume per form and raise the requests threshold accordingly; exclude scanner source IPs. Confirm the plugin version is <= 3.3.26 before escalating. If the action parameter is sent only in the POST body, run the search against WAF or ModSecurity audit logs instead of access logs. Correlate hits with SPL-002 and SPL-003.
- CVE-2026-0740 nf_fu_upload Request With Path Traversal or Executable Extension · unlock with TL Creds
- Webshell Invocation Under wp-content With Command Parameter ([indicator]?cmd=) · unlock with TL Creds
- Web Server Worker Runs Downloader or Reverse-Shell Utility (CVE-2026-0740) · unlock with TL Creds
- CVE-2026-0740 Nonce-Fetch Reconnaissance Against nf_fu_get_new_nonce · unlock with TL Creds
- Web Process Writes [indicator] or .user.ini Under wp-content (PHP Execution Rule Tampering) · unlock with TL Creds
- Web Server Worker Runs Host Recon Commands (id, whoami, uname, /etc/passwd) · unlock with TL Creds
- CVE-2026-0740 Web Process Writes PHP File Under wp-content · unlock with TL Creds
- Web Server Worker Spawns Shell or Interpreter After Webshell Upload (CVE-2026-0740) · unlock with TL Creds
Indicators of compromise
As of 2026-10-16, Threadlinqs Intelligence tracks 9 indicators of compromise for TL-2026-3781.
Technical analysis
CVE-2026-0740 (CWE-434, CVSS 3.1 9.8, AV:N/AC:L/PR:N/UI:N) affects the Ninja Forms - File Uploads extension by Saturday Drive. The flaw is in NF_FU_AJAX_Controllers_Uploads::handle_upload, reached via the unauthenticated WordPress AJAX endpoint /wp-admin/admin-ajax.php?action=nf_fu_upload. The handler validates the file type of the source filename but does not validate the destination filename used in the file move operation, so an attacker can manipulate the destination path and bypass the extension allowlist to land a .php file (web shell) on the server.
The public Exploit-DB PoC (EDB-52560, published 2026-04-09 by Selim Lanouar, tested against 3.3.24) uses two AJAX actions. First it calls nf_fu_get_new_nonce with a random 16-digit field_id to obtain a nonce. Then it posts to nf_fu_upload with nonce, form_id, field_id and an image_jpg parameter containing path traversal (../../../webshell.php). The file is submitted as files-[field_id] with a spoofed JPEG MIME type. The shell lands in wp-content/ and is driven with a GET parameter such as ?cmd=id. Exploitation requires a public page with a Ninja Forms form that has an upload field, and it is easiest where local server storage is used and PHP execution is permitted under wp-content.
Fix timeline: 3.3.25 (2026-02-10) was a partial fix; 3.3.27 (2026-03-19) fully resolves the flaw. NVD published the CVE on 2026-04-07. Secondary coverage (Penligent) attributes to Wordfence reports of PHP and .htaccess upload attempts, mass exploitation from 2026-04-09 to 04-13, and more than 118,600 blocked attempts by 2026-04-16. The UofT security bulletin states no confirmed widespread exploitation at the time of its writing, and the primary Wordfence advisory page could not be retrieved. Treat the volume figures as unverified. The Cronup article (2026-10-16) that triggered this entry repeats that exploitation is occurring in the wild. No attacker IPs, domains, payload hashes or named threat actors have been published in any source reviewed. Post-exploitation impact is arbitrary command execution as the web server user, data exfiltration and pivoting inside the hosting environment.
MITRE ATT&CK techniques by tactic:
Defense Evasion
T1036.008 Masquerade File Type
Execution
T1059 Command and Scripting Interpreter; T1059.004 Unix Shell
Initial Access
T1190 Exploit Public-Facing Application
Persistence
Reconnaissance
Remediation
Patches
- Ninja Forms - File Uploads 3.3.27 (released 2026-03-19); 3.3.25 was only a partial fix
Immediate actions
- Update Ninja Forms - File Uploads to 3.3.27 or later
- Disable PHP execution in wp-content/uploads and wp-content via .htaccess or web server configuration
- Temporarily deactivate the extension or restrict exposed upload forms if patching cannot be done at once
- Preserve web and access logs for the exposure window (2026-04-06 onward)
- Search for new or modified .php, .phtml, .phar and .htaccess files under wp-content and escalate to incident response if a web shell is found
Workarounds
- Deploy a WAF rule that blocks admin-ajax.php requests with action=nf_fu_upload carrying path traversal or executable extensions (Wordfence rule available; free tier gets it after a 30-day delay)
- Restrict or disable file upload fields on public forms
Longer-term hardening
- Maintain an inventory of premium WordPress extensions, which do not update through wordpress.org and are easy to miss
- Run file integrity monitoring on the WordPress web root
- Run the web server with least privilege and block outbound connections that are not needed
Affected and fixed versions
- Saturday Drive (Ninja Forms) — Ninja Forms - File Uploads (WordPress premium extension)
Vulnerable versions: <= 3.3.26
Fixed in: 3.3.27
Timeline
- Ninja Forms File Uploads 3.3.25 released with a partial fix for the upload validation flaw.
- Version 3.3.27 released, fully fixing destination-filename validation in NF_FU_AJAX_Controllers_Uploads::handle_upload.
- Public disclosure via Wordfence Threat Intelligence; secondary reporting says exploitation attempts began immediately.
- CVE-2026-0740 published in NVD with CVSS 3.1 score 9.8 (CWE-434); CyCognito publishes analysis.
- Exploit-DB 52560 publishes a working unauthenticated PHP upload PoC (tested on 3.3.24), using nf_fu_get_new_nonce and nf_fu_upload with path traversal.
- Penligent reports mass exploitation observed between 2026-04-09 and 2026-04-13, attributed to Wordfence data (not independently verified).
- Penligent reports Wordfence had blocked more than 118,600 exploit attempts by this date (secondary source, unverified).
- University of Toronto security bulletin published, noting public PoCs and about 50,000 affected sites.
- Cronup article reiterates that CVE-2026-0740 is being exploited in the wild and urges updating to 3.3.27.
Sources cited
- NVD - CVE-2026-0740 NVD (NIST) · Advisory · 2026-04-07
- University of Toronto Information Security - Ninja Forms file uploads unauthenticated remote code execution security.utoronto.ca · Advisory · 2026-04-22
- GCVE - CVE-2026-0740 db.gcve.eu · Advisory · 2026-04-07
- Wordfence Threat Intel - Ninja Forms File Uploads vulnerability wordfence.com · Vendor report · 2026-04-06
- Ninja Forms File Uploads extension ninjaforms.com · Vendor report · 2026-03-19
- CyCognito - CVE-2026-0740 Ninja Forms File Upload Unauthenticated RCE cycognito.com · Research · 2026-04-07
- Exploit-DB 52560 - Ninja Forms Uploads Unauthenticated PHP File Upload exploit-db.com · Proof of concept · 2026-04-09
- Penligent - CVE-2026-0740 technical analysis penligent.ai · Blog · 2026-04-16
- Cronup - Tu WordPress en la mira cronup.com · News · 2026-10-16
Other reports on CVE-2026-0740
Previous and next in vulnerability
Drafted by the Threadlinqs research pipeline from 9 sources; published ; last updated —.