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 inadequately validates the attacker-controlled destination filename before moving the uploaded file. Attackers can specify dangerous destination extensions and use path traversal to place files outside the intended upload directory, potentially enabling execution of uploaded PHP code. Versions 3.3.25 and 3.3.26 contain incomplete fixes; version 3.3.27 fully addresses the vulnerability. The vulnerability is actively exploited and has a CVSS 3.1 score of 9.8.
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.
Remote unauthenticated attackers can write arbitrary uploaded files to locations accessible to the web server process. If an uploaded script is placed in a web-accessible location where server-side execution is enabled, exploitation can lead to remote code execution and complete website compromise. Potential consequences include disclosure of application secrets and stored data, modification or destruction of website content, service disruption, and persistent webshell access. Broader host or network compromise depends on the web server account's privileges and access.
Mitigation
If you can’t patch tonight, do this now.
Disable the vulnerable File Uploads add-on until it can be updated. Apply available Wordfence firewall protection or the corresponding FortiGuard IPS protection as interim controls, not substitutes for patching. Restrict web-server write access to necessary directories and disable server-side script execution in upload directories where feasible. Monitor upload requests for executable destination extensions and traversal sequences, inspect unexpected file creation, and restrict connectivity from public web servers to internal systems.
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 sanitizes the destination filename, removes directory components, and rejects prohibited destination extensions. Verify website filesystem integrity and investigate unexpected executable files and suspicious upload activity. If compromise is identified, preserve evidence, isolate the affected server, remove malware and persistence, rotate exposed credentials, and restore from a known-good backup where necessary.
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 19, 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. The complete fix sanitizes the destination filename, removes directory components, and rejects prohibited destination extensions.
- How severe is CVE-2026-0740?
- CVE-2026-0740 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 9.0% (96th percentile) as of Nov 19, 2026.
Recent activity
50 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.