> ## Content Index
> Fetch the complete content index at: https://securexion.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# CVE-2026-126537: Ninja Forms File Uploads Plugin: Unauthenticated Arbitrary File Deletion via Path Traversal
- URL: https://securexion.com/cve-2026-126537/
- Published: 2026-11-12T01:30:00.000Z
- Updated: 2026-11-23T09:20:17.000Z
- Description: The Ninja Forms File Uploads add-on for WordPress up to version 3.3.36 allows unauthenticated attackers to delete arbitrary files on the server by omitting the upload_id parameter and manipulating the file_path field. Attackers can delete critical files such as wp-config.php, leading to co
- Author: Securexion Team
- Tags: Vulnerability, Critical, #brief-2026-11-12

A path traversal vulnerability in the Ninja Forms File Uploads plugin allows unauthenticated attackers to craft requests that bypass upload directory containment checks and delete arbitrary files. By omitting the upload\_id parameter in their request, attackers can supply a malicious file\_path that survives validation and is passed directly to the server's unlink() function, enabling deletion of any file accessible to the web server process, including wp-config.php.

| CVE                 | CVE-2026-126537                  |
| ------------------- | -------------------------------- |
| Severity            | Critical (CVSS 9.1)              |
| Actively exploited  | Not confirmed at time of writing |
| Weakness            | CWE-22 (path traversal)          |
| Attack vector       | Network                          |
| Privileges required | None                             |
| User interaction    | None                             |
| Published           | 11 Nov 2026                      |

## How the attack works

The vulnerability spans two functions: NF\_FU\_Fields\_Upload::process() returns early when a public submission carries a nonempty extra.saveProgress, leaving client-supplied files\[\] data intact, and NF\_FU\_External\_Abstracts\_Service::process\_upload() only reloads the authoritative path when the client sends upload\_id. By omitting upload\_id, an attacker's data\[file\_path\] survives into the Background Upload queue. The plugin's own is\_path\_within\_upload\_dir() containment check is only applied on admin paths, not on background queue processing. The unlink() call in includes/external/abstracts/backgroundupload.php then deletes the file specified in file\_path without canonicalization or path validation, allowing traversal to any location the web server can access.

## Who is affected

WordPress sites using the Ninja Forms File Uploads add-on in versions up to and including 3.3.36 are affected. Any public-facing WordPress site using this plugin without authentication restrictions is at immediate risk of file deletion and potential remote code execution.

## How to check if you're exposed

- Verify the Ninja Forms File Uploads plugin version in the WordPress admin dashboard or by checking wp-content/plugins/ninja-forms-uploads/ninja-forms-uploads.php
- Review web server access logs for POST requests to endpoints like /wp-admin/admin-ajax.php?action=nf\_fu\_upload with unusual file\_path parameters or requests containing path traversal sequences (../, ..\\ or URL-encoded variants)
- Check for recent unexpected file deletions, particularly wp-config.php, wp-load.php, or other critical WordPress files in web server audit logs or file integrity monitoring alerts
- Search WordPress database for suspicious entries in wp\_postmeta or plugin-specific tables related to file upload queues

## How to fix it

- Update Ninja Forms File Uploads to the latest available version from the WordPress plugin repository
- If wp-config.php or other critical files were deleted, restore them from a verified backup taken before the attack
- Audit file system permissions to ensure the web server process runs with the minimum necessary privileges
- Regenerate WordPress security keys and salts in wp-config.php if it was accessed or modified by attackers

## If you can't patch yet

- Disable the Ninja Forms File Uploads plugin immediately if you cannot patch promptly; use an alternative file upload solution or implement file uploads outside WordPress until patched
- Implement Web Application Firewall (WAF) rules to block requests to file upload endpoints that contain path traversal sequences or omit expected parameters
- Monitor file system changes in real-time using file integrity monitoring (FIM) tools to detect unauthorized deletions of critical WordPress files

---

*Need help checking your exposure or patching at scale?* [*FutureOps InfoTech*](https://futureopstech.com/?ref=securexion.com) *can help.*