WordPress plugins
CVE-2026-115871
WP STAGING <= 4.19.0 - Authenticated (Administrator+) Arbitrary Directory Deletion via 'deleteDir' Parameter
- Severity
- Low 2.7
- Published
- 13 Nov 2026
- Last changed
- 13 Nov 2026
- Added to UpHeron
- 13 Nov 2026
- Weakness
- CWE-73
- Attack
- Over the network · Needs an administrator account · No user action needed
- Attacker can
- Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
WP Staging (WordPress plugin)WordPress plugins · wp-plugin:wp-staging |
|
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-115871