home / blog

2026-11-12 · critical

CVE-2026-126537: Arbitrary File Deletion in Ninja Forms

Critical vulnerability in Ninja Forms: unauthenticated arbitrary file deletion. CVSS 9.1, public PoC.

CVE-2026-126537: Arbitrary File Deletion in Ninja Forms

CVE-2026-126537 affects Ninja Forms - File Uploads add-on for WordPress, versions up to 3.3.36. The vulnerability lies in file upload handling: an unauthenticated attacker can exploit a logic flaw in NF_FU_Fields_Upload::process() and NF_FU_External_Abstracts_Service::process_upload(). By omitting the upload_id parameter and manipulating files[].data.file_path, the attacker bypasses path containment checks and the background upload queue processes the parameter as a disk path, enabling deletion of arbitrary files on the server, including wp-config.php.

The vulnerability has a CVSS score of 9.1 (critical). No security update has been confirmed in NVD data as of 2026-11-12. A GitHub signal from the same day (2026-11-12, 17:00 UTC) reports public proof-of-concept and lab materials. The absence of a confirmed secure version makes this high-urgency.

IT leaders and CISOs must immediately verify if Ninja Forms File Uploads is installed, identifying the version via admin dashboard or includes/fields/upload.php. Contact the developer to check patch availability.

As emergency mitigation, restrict access to form processing endpoints via WAF or application firewall until a patch is available. Monitor critical files (wp-config.php, wp-settings.php) for unauthorized modifications. Do not download exploits: await official patch.

At a glance

What
Arbitrary File Deletion (AFD) caused by insufficient file path handling in NF_FU_Fields_Upload::process() and NF_FU_External_Abstracts_Service::process_upload(). An unauthenticated attacker omits the upload_id parameter to bypass path canonicalization, causing files[].data.file_path to be interpreted as a server file path in maybe_delete_server_file() and unlink() methods.
Severity
CVSS 9.1 (critical). Impact: critical consequences for confidentiality, integrity, and availability. Attack requires no authentication or user interaction.
Affected versions
Ninja Forms - File Uploads add-on for WordPress, versions up to and including 3.3.36. Secure version not yet confirmed.
Fix
Not reported. Check with the developer and NVD for security updates. As emergency mitigation, use WAF to block anomalous form requests.
Status
CVE published on NVD 2026-11-11. Public proof-of-concept reported on GitHub 2026-11-12. No patch version confirmed.
Action
Conduct immediate audit of Ninja Forms installation. Contact developer. Apply WAF rules. Monitor access logs and file system. Plan urgent upgrade when patch becomes available.

Sources: NVD, CVE-2026-126537

← All articles