Patchfirst
CVE-2026-126537 Public exploit Critical · 9.1 EPSS 1.1%

Ninja Forms - File Uploads <= 3.3.36 - Unauthenticated Arbitrary File Deletion via 'files[].data.file_path' Parameter…

No fixed version listed yet.Check the vendor advisory. References ↓

SaturdayDrive · Ninja Forms - File Uploads

Summary

The Ninja Forms - File Uploads add-on for WordPress, in versions up to and including 3.3.36, contains a path traversal flaw in its upload processing (the NF_FU_Fields_Upload and external upload service code) that fails to confine client-supplied file paths to the upload directory. An unauthenticated remote attacker can exploit it without any user interaction by submitting a public form without an upload_id, which lets an arbitrary server-side file path reach the deletion routine and remove files such as wp-config.php, potentially leading to takeover of the site.

Official description · NVD

The Ninja Forms - File Uploads add-on for WordPress is vulnerable to Arbitrary File Deletion (and arbitrary file read via S3/Dropbox/Google Drive exfiltration) in versions up to, and including, 3.3.36. The flaw spans NF_FU_Fields_Upload::process() in includes/fields/upload.php — which returns early (leaving the client-supplied files[] intact) whenever a public submission carries a nonempty extra.saveProgress — and NF_FU_External_Abstracts_Service::process_upload() in includes/external/abstracts/service.php, whose authoritative-path reload only fires when the client sends upload_id. By omitting upload_id, an attacker's data[file_path] survives into the Background Upload queue and is used by both upload_file_to_s3() (as SourceFile) and the maybe_delete_server_file() unlink() call in includes/external/abstracts/backgroundupload.php, with no canonicalization or upload-directory containment check (the plugin's own is_path_within_upload_dir() helper is only applied on admin paths). This makes it possible for unauthenticated attackers to delete arbitrary files on the affected site's server which may make remote code execution possible — specifically, deleting wp-config.php forces WordPress into its setup screen, enabling full site takeover.

Breakdown
71.8 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited the day it was disclosed. Public exploit code (PoC-in-GitHub) appeared 1 day after disclosure.

  1. DisclosedFirst seen exploitedVulnCheck KEV evidenceday 0
  2. Public exploit codePoC-in-GitHub+1 day

Affected versions and fixes

as published in the CVE record

SaturdayDrive Ninja Forms - File Uploads

Affected: <= 3.3.36

What security researchers reported

Not named in any threat report yet

Also mentioned in 8 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close