# CVE-2026-115871: WP STAGING <= 4.19.0 - Authenticated (Administrator+) Arbitrary Directory Deletion via 'deleteDir' Parameter

> Administrators can recursively delete arbitrary server directories via WP STAGING clone path traversal, causing data loss or outages.

- **Severity:** Low 2.7 (`CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Harmful if only installed:** No
- **Needs a specific call:** No
- **Fix available:** No
- **Published:** 13 Nov 2026
- **Updated:** 13 Nov 2026
- **Also known as:** GHSA-xv55-82wc-8j27

## What is CVE-2026-115871?

CVE-2026-115871 is a low-severity path traversal vulnerability in renehermi WP STAGING – Backups & Restore, Migration & Clone Plugin – Cloud Backups, Scheduled Backups, published on 13 Nov 2026. An attacker needs administrator access to exploit it, with no action from the victim.

### Official 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.

Weakness: CWE-73 (External Control of File Name or Path)

## Which versions are affected by CVE-2026-115871?

An affected version is exposed as installed. No special setting or call is needed.


## How do I fix CVE-2026-115871?

No fix has been published for CVE-2026-115871 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-115871 being exploited?

There is no known exploitation of CVE-2026-115871 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-115871 and fix it if it is affected.

What it is: CVE-2026-115871 is a low-severity path traversal vulnerability in renehermi WP STAGING – Backups & Restore, Migration & Clone Plugin – Cloud Backups, Scheduled Backups, published on 13 Nov 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-115871 in the wild and no public exploit code.
Exposure: An affected version is exposed as installed. No special setting or call is needed.

Affected product: renehermi WP STAGING – Backups & Restore, Migration & Clone Plugin – Cloud Backups, Scheduled Backups. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-115871/ (Markdown: https://insights.sbomify.com/CVE-2026-115871/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-115871
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-115871
- OSV: https://osv.dev/vulnerability/CVE-2026-115871

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-115871/
Summaries are generated and may contain mistakes; the official description above is the record.
