CVE-2026-0740: Unauthenticated Arbitrary File Upload in Ninja Forms File Uploads
CVE-2026-0740 is an unauthenticated arbitrary file upload vulnerability in the Ninja Forms File Uploads add-on for WordPress through version 3.3.26. The NF_FU_AJAX_Controllers_Uploads::handle_upload() function delegates processing to _process(), which validates the source filename but insufficiently validates the attacker-controlled destination filename before moving the uploaded file. Attackers can specify dangerous executable extensions and use path traversal to place malicious files outside the intended upload directory. Uploaded PHP code can enable remote code execution when accessed through the web server. Versions 3.3.25 and 3.3.26 contain incomplete fixes; version 3.3.27 fully addresses the vulnerability. The vulnerability is actively exploited.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Unauthenticated attackers can write arbitrary uploaded files to server locations permitted by the web application’s filesystem privileges. If an uploaded executable file is web-accessible and processed by the server, exploitation enables arbitrary code execution under the web application’s security context. This can lead to webshell deployment, persistent access, website takeover, credential and database theft, content modification, malware distribution, and service disruption. Further network compromise depends on the compromised server’s privileges and connectivity.
Mitigation
If you can’t patch tonight, do this now.
Until the update can be deployed, disable the vulnerable File Uploads add-on or block access to its upload functionality. Apply available CVE-specific WAF or IPS protections, including Wordfence’s firewall rule, as a temporary compensating control. Restrict filesystem write permissions and prevent script execution in upload directories where feasible; upload-directory restrictions alone may be insufficient because destination filenames support path traversal. Monitor unexpected executable file creation and suspicious web server child processes, and restrict connectivity between public web servers and internal networks.
Remediation
Patch, then assume compromise.
Upgrade the Ninja Forms File Uploads add-on to version 3.3.27 or later. Versions 3.3.25 and 3.3.26 are not sufficient. The complete fix normalizes and sanitizes destination filenames, removes directory components, and rejects prohibited executable extensions. Because exploitation is ongoing, verify website filesystem integrity and review upload activity and web server logs after updating. If compromise is identified, isolate the server, preserve evidence, remove malicious files and persistence, rotate exposed credentials, and restore from a known-good backup where necessary. Updating alone does not remove an existing compromise.
Exploits
6 exploits validated by Mallory's analysis. Hidden: 3 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.
References
Frequently asked questions
- Is CVE-2026-0740 exploited in the wild?
- Yes. As of Nov 8, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2026-0740?
- Yes. Mallory tracks 6 public exploits or proofs of concept for CVE-2026-0740, the earliest disclosed Apr 7, 2026.
- Is there a patch for CVE-2026-0740?
- Upgrade the Ninja Forms File Uploads add-on to version 3.3.27 or later. Versions 3.3.25 and 3.3.26 are not sufficient.
- How severe is CVE-2026-0740?
- CVE-2026-0740 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 62.9% (99th percentile) as of Nov 8, 2026.
Recent activity
49 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.