CVE-2026-8380: WordPress Frontend File Manager Arbitrary Post Deletion
CVE-2026-8380 is a critical authorization bypass vulnerability in the WordPress Frontend File Manager plugin <= 23.6 that allows authenticated low-privilege users, or unauthenticated users with guest uploads enabled, to permanently delete arbitrary WordPress posts, pages, attachments, and custom post types.
A critical authorization flaw, CVE-2026-8380, has been discovered in the WordPress plugin “Frontend File Manager” (nmedia-user-file-uploader), affecting versions 23.6 and earlier. This vulnerability allows authenticated users with low privileges (e.g., subscriber) to delete arbitrary WordPress content, including posts, pages, attachments, and custom post types. The root cause lies in improper authorization validation within the wpfm_delete_file AJAX action. When the plugin’s _allow_guest_upload option is enabled, the vulnerability becomes exploitable by unauthenticated attackers. Public exploit code is available, increasing the risk of exploitation against unpatched WordPress sites using the vulnerable plugin.
Attack Chain
- Attacker visits a page containing the
[ffmwp]shortcode to obtain a validwpfm_ajax_noncevalue. - Attacker crafts a POST request to
/wp-admin/admin-ajax.phpwith theactionparameter set towpfm_delete_file. - The request includes the
wpfm_ajax_nonceobtained in the previous step for CSRF protection (though this protection is insufficient). - The attacker sets the
file_idparameter to the ID of a post they own, bypassing the initial authorization check. - The attacker injects the IDs of target posts (pages, attachments, etc.) into the
file_ids[]array. - The vulnerable code iterates over the
file_ids[]array and callswp_delete_post()for each ID without validating ownership or post type. wp_delete_post()is called with thebypass_trashargument set totrue, permanently deleting the targeted content.- The attacker successfully deletes arbitrary content from the WordPress site.
Impact
Successful exploitation of CVE-2026-8380 can result in significant data loss and disruption of WordPress websites. An attacker can delete posts, pages, attachments, and custom post types, leading to defacement, denial of service, or exfiltration of sensitive information if attachments contained such data. The vulnerability affects all WordPress sites using the Frontend File Manager plugin version 23.6 or earlier. If the _allow_guest_upload option is enabled, exploitation requires no authentication, increasing the attack surface.
Recommendation
- Apply the vendor-supplied patch or upgrade to a version of the Frontend File Manager plugin that addresses CVE-2026-8380.
- Disable the
_allow_guest_uploadoption in the Frontend File Manager plugin settings to prevent unauthenticated exploitation. - Deploy the Sigma rule “Detect CVE-2026-8380 Exploitation Attempt via wp-admin AJAX” to identify potential exploitation attempts in web server logs.
- Deploy the Sigma rule “Detect CVE-2026-8380 Exploitation Attempt via admin-ajax POST Request” to detect the exploitation attempts.
- Monitor web server logs for POST requests to
/wp-admin/admin-ajax.phpwith theactionparameter set towpfm_delete_fileand unusual combinations offile_idandfile_ids[]parameters.
Detection coverage 2
Detect CVE-2026-8380 Exploitation Attempt via wp-admin AJAX
highDetects CVE-2026-8380 exploitation attempt via suspicious POST request to /wp-admin/admin-ajax.php with wpfm_delete_file and multiple file_ids.
Detect CVE-2026-8380 Exploitation Attempt via admin-ajax POST Request
highDetects CVE-2026-8380 exploitation attempt via POST request to admin-ajax.php with specific parameters
Detection queries are available on the platform. Get full rules →