WP STAGING <= 4.19.0 — Authenticated (Administrator+) Arbitrary Directory Deletion via 'deleteDir' Parameter
CVE-2026-115871Published · Updated Action summary
Affected: ≤4.19.0Update to 4.20.0 or newer
All remediation steps- Severity
- Low2.7
- CVSS
- 2.7CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:NWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:HPrivileges required- High
UI:NUser interaction- None
S:UScope- Unchanged
C:NConfidentiality- None
I:LIntegrity- Low
A:NAvailability- None
- Required access
- Unknown
- Exploit prediction (EPSS)
- No score
- CISA KEV
- Not listed
On this page8
Am I affected?
WP STAGING – Backups & Restore, Migration & Clone Plugin – Cloud Backups, Scheduled Backups wp-staging
- Affected≤ 4.19.0
- Patched in4.20.0
Update to 4.20.0 or newer.
You are affected if you run ≤ 4.19.0. Version 4.20.0 and later are not affected by this issue.
- Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under WP STAGING – Backups & Restore, Migration & Clone Plugin – Cloud Backups, Scheduled Backups.
- No admin access? Run a passive check of your site. It reads public files only.
What to do
- Update to version 4.20.0, or a newer patched version
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
- Watch WP STAGING – Backups & Restore, Migration & Clone Plugin – Cloud Backups, Scheduled Backups to get an email when the next vulnerability is published.
Advisory
Source description from Wordfence Intelligence, credited to Wordfence PRISM.
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.
Exploits & references
Proof-of-concept & detection
No public proof-of-concept or detection template is known for this vulnerability.
Advisories & patches
- Advisorywordfence.com
Related CVEs
More in WP STAGING – Backups & Restore, Migration & Clone Plugin – Cloud Backups, Scheduled Backups
All 8| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| Critical9.1 | Authenticated (Admin+) Arbitrary File Upload ≤3.4.3Update to 3.5.0 | CVE-2024-3412 | |
| Medium4.7 | Authenticated (Administrator+) Server-Side Request Forgery ≤3.4.3Update to 3.5.0 | CVE-2024-4469 | |
| Medium5.3 | Sensitive Information Exposure via Log File ≤3.4.3Update to 3.5.0 | CVE-2024-3682 | |
| Medium4.4 | Authenticated (Administrator+) Stored Cross-Site-Scripting ≤3.3.3Update to 3.4.0 | CVE-2024-2309 | |
| Medium5.3 | Sensitive Information Exposure via cache files <3.2.0Update to 3.2.0 | CVE-2023-7204 |
- Critical9.1Authenticated (Admin+) Arbitrary File Upload
≤3.4.3Update to 3.5.0
- Medium4.7Authenticated (Administrator+) Server-Side Request Forgery
≤3.4.3Update to 3.5.0
- Medium5.3Sensitive Information Exposure via Log File
≤3.4.3Update to 3.5.0
- Medium4.4Authenticated (Administrator+) Stored Cross-Site-Scripting
≤3.3.3Update to 3.4.0
- Medium5.3Sensitive Information Exposure via cache files
<3.2.0Update to 3.2.0
Timeline
CVE published
Severity low, CVSS 2.7
Record last updated
Sources & licenses
Wordfence record- Vulnerability data
- Wordfence Intelligence. [object Object] Licensed under the CC BY-SA 4.0.
- CVE® identifiers
- [object Object]. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
- CVSS / CWE
- National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
- VulnCrest content
- Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.
