← Back to search

CVE-2026-126537

9.1 CRITICAL

Published 2026-11-11 · Updated 2026-11-11

AI risk analysis

Summary
The Ninja Forms File Uploads add-on allows unauthenticated attackers to delete arbitrary server files due to missing input validation and path containment checks in its background upload handling. By omitting the upload_id parameter, an attacker can inject a malicious file_path into the upload queue, which later triggers unlink() on arbitrary paths like wp-config.php, potentially enabling full site takeover.
Exploitability
Exploitation is trivial for unauthenticated attackers as it requires only sending a crafted POST request with specific parameters to the public submission endpoint; no authentication or user interaction is needed.
Blast radius
Successful exploitation could lead to complete site compromise by deleting critical WordPress files (e.g., wp-config.php), forcing reinstallation and enabling full administrative takeover.
Detection
Defenders should monitor web server access logs for POST requests to nf-fu-submit endpoints containing non-empty extra.saveProgress parameters and missing upload_id fields, especially when accompanied by data[file_path] values pointing outside the WordPress uploads directory (e.g., paths containing ../ or absolute paths like /var/www/html/wp-config.php).
Prioritized remediation
Upgrade to Ninja Forms File Uploads add-on version 3.3.37 or later, which addresses the path traversal and file deletion vulnerability.
arbitrary-file-deletionpath-traversalrce-enablerunauthenticatedwordpress-plugin

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Weaknesses

CWE-22

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.