Atomic Edge analysis of CVE-2026-14492 (metadata-based):
This vulnerability affects the WP Duplicate WordPress Migration Plugin, versions up to and including 1.1.11. It is an unauthenticated arbitrary file upload and remote code execution flaw, rated CVSS 9.8 (Critical). The plugin’s batch upload handler accepts attacker-controlled file data and writes it to a path derived from decoded input without validation or containment. Atomic Edge research infers the flaw from the CWE-434 classification, the CVSS vector, and the vulnerable function name `save_single_batch_file` described in the CVE. No source diff is available because neither the vulnerable nor a patched version is downloadable from WordPress.org.
The root cause combines two defects. First, the authentication check in the upload handler uses a loose `!=` comparison against a secret value (the `prod_key_random_id` option) without an `is_string()` guard. PHP type juggling causes a non-string value to compare equal to any secret string, bypassing the check. Second, the `files_data` parameter is base64-decoded and used directly to construct a file path. The code does not call `sanitize_file_name`, `basename`, or any traversal-containment routine. This permits directory traversal (e.g., `../`) and arbitrary file writes. The CVSS vector shows the attacker needs no privileges and no interaction, suggesting the handler is reachable from an unauthenticated AJAX or REST endpoint, though the exact endpoint is not named in the metadata. Conclusions here are inferred from the description and CWE unless stated as confirmed by the vendor advisory.
Exploitation proceeds by sending a request to the plugin’s upload handler, likely an AJAX action or admin-post route under the `local-sync` slug. The attacker supplies the `files_data` parameter with a base64-encoded value that decodes to a payload structure containing a path traversal sequence and a PHP file body. The request also includes a value that exploits the loose comparison. Example: `files_data` decodes to a JSON object with a `file_path` of `../../../../wp-content/uploads/shell.php` and `file_content` of PHP code. A POST to `/wp-admin/admin-ajax.php` with `action=handle_batch_upload_files` and the crafted parameters can write the shell. Atomic Edge research notes the exact action name and parameter format are inferred from conventions and the function name; the CVE title names the `files_data` parameter and the `handle_batch_upload_files` function, which are the strongest available identifiers.
Remediation requires replacing the loose `!=` comparison with `hash_equals` or a strict `===` check against a string, adding an `is_string()` guard to the secret. The path construction must use `basename()` plus an allowlist of file extensions, or write only within a fixed upload directory, and resolve the real path before writing. The upload handler should require a valid capability and nonce for the operation and reject `files_data` entries that do not match an expected schema. These changes close the type-juggling bypass and the directory traversal primitive. The CWE suggests the fix centers on restricting the file type and destination, but the description also mandates the authentication hardening.
Successful exploitation grants remote code execution as the web server user. The attacker can read the WordPress configuration, access the database, pivot to other hosts on the network, install persistent backdoors, and modify site content. A CVSS 9.8 score reflects high confidentiality, integrity, and availability impact. Because no patched version is available, sites running WP Duplicate 1.1.11 are fully exposed until the plugin is removed or a virtual patch is deployed.







