Executive Summary
A critical unauthenticated arbitrary file deletion vulnerability has been disclosed in the RapiSafe – Secure Multi File Upload for Contact Form 7 WordPress plugin. Tracked as CVE-2026-14484 with a CVSS score of 9.1 (Critical), the flaw exists in all versions up to and including 1.0.4 and allows any unauthenticated attacker to delete arbitrary files on the server — including wp-config.php, which would effectively destroy the WordPress installation.
Vulnerability Overview
| Attribute | Value |
|---|---|
| CVE ID | CVE-2026-14484 |
| CVSS Score | 9.1 (Critical) |
| Type | Arbitrary File Deletion |
| Attack Vector | Network |
| Authentication | None required |
| Affected Plugin | RapiSafe – Secure Multi File Upload for Contact Form 7 |
| Affected Versions | All versions <= 1.0.4 |
| Patch Available | Check plugin repository for updated version |
Technical Details
The vulnerability resides in the handleAjaxRemoveUpload function of the RapiSafe plugin. This AJAX handler is registered on wp_ajax_nopriv_*, meaning it is accessible to unauthenticated users. The function is responsible for removing uploaded files before a contact form is submitted, but it performs insufficient file path validation.
Because no sanitization or restriction is applied to the file path parameter, an attacker can supply a crafted path using directory traversal sequences (e.g., ../../) to escape the upload directory and target any file readable or writable by the web server process. Deleting wp-config.php is the most impactful attack, as it causes WordPress to enter installation mode and can expose database credentials from server backups.
Attack Flow
1. Attacker identifies a WordPress site running RapiSafe plugin <= 1.0.4
2. Crafts an AJAX request to the handleAjaxRemoveUpload endpoint
3. Supplies a path-traversal string pointing to a target file (e.g. wp-config.php)
4. Server deletes the targeted file without authentication or path validation
5. Site may become unavailable or enter re-installation modeImpact
- Site takeover via re-installation: Deleting
wp-config.phpcauses WordPress to believe it is not configured, prompting re-installation. An attacker completing re-installation gains full admin access. - Data destruction: Any file writable by the web server process — uploads, themes, plugins, or core files — can be permanently deleted.
- Denial of service: Deletion of critical files can render the site inoperable.
Affected Versions
| Plugin | Affected Versions | Status |
|---|---|---|
| RapiSafe – Secure Multi File Upload for Contact Form 7 | <= 1.0.4 | Patch available |
Remediation
- Update immediately: Install the latest version of the RapiSafe plugin from the WordPress plugin repository.
- If no patch is available: Deactivate and remove the plugin until a patched version is released.
- Audit file permissions: Ensure the web server process does not have write access to files outside the
wp-content/uploadsdirectory where possible. - Review server logs: Check for unexpected AJAX requests to
wp_ajax_nopriv_*endpoints targeting file removal handlers. - Restore from backup: If exploitation is suspected, restore
wp-config.phpand other critical files from a known-good backup.
Detection
Look for HTTP POST requests in web server access logs targeting WordPress admin-ajax with the action matching the plugin's removal handler, particularly those containing directory traversal patterns (../, ..%2F, %2e%2e%2f) in parameters.