CVE-2026-115871 Details
Description
The WP STAGING – Backups & Restore, Migration & Clone Plugin – Cloud Backups, Scheduled Backups plugin for WordPress is vulnerable to Arbitrary Directory Deletion in all versions up to, and including, 4.19.0. This is due to insufficient path validation in the `cleanStagingDirectory` function, where the `deleteDir` parameter is only stripped of whitespace and double slashes by `sanitizePath()` without removing `..` traversal sequences or enforcing containment within the staging directory, leaving the sole pre-deletion guard as a simple string equality check against the WordPress home path. This makes it possible for authenticated attackers, with administrator-level access and above, to recursively delete arbitrary directories on the server — including `wp-content`, `wp-admin`, or directories outside the WordPress installation on shared hosting — resulting in denial of service or permanent data loss. An attacker must sequence a clone start, cancellation, and restart to drive the `delete_job` cache into the `directory` step before re-cancelling with a manipulated `deleteDir` value supplied via the `wp_ajax_wpstg_cancel_clone` endpoint.
A vulnerability allowing arbitrary directory deletion has been identified in the WP Staging WordPress plugin, specifically in versions through 4.19.0. The issue arises from inadequate path validation in the 'cleanStagingDirectory' function. The 'deleteDir' parameter is only partially sanitized, allowing for directory traversal attacks. This vulnerability enables authenticated attackers with administrator-level access to recursively delete arbitrary directories on the server, including critical WordPress directories or even directories outside the WordPress installation on shared hosting. The exploitation of this vulnerability could lead to a denial-of-service condition or permanent data loss. To successfully exploit this issue, an attacker must manipulate the 'deleteDir' parameter through the 'wp_ajax_wpstg_cancel_clone' endpoint, after initiating and canceling a cloning process.
Users are advised to update the WP Staging WordPress plugin to version 4.20.0 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 13, 2026CISA-ADP
Assessed Nov 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-73 | External Control of File Name or Path | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| WP STAGING | <= 4.19.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 13, 2026 | CVE Modified | CISA-ADP |
| Nov 13, 2026 | New CVE Received | [email protected] |
Volerion