Vulnerabilities / WP STAGING / WPSEC-2026-3629

WP STAGING <= 4.21.0 - Unauthenticated Remote Code Execution via Exposed WordPress Installer During Staging Site Deletion

High 8.1 CWE-284Fixed in 4.22.0
ID
WPSEC-2026-3629
Plugin
WP STAGING – Backups & Restore, Migration & Clone Plugin – Cloud Backups, Scheduled Backups (wp-staging)
Affected
all versions before 4.22.0
Remediation
Update to 4.22.0 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-284
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-21
Attack surface
WP STAGING on WPSec AttackSurface
Fix released
Published

Description

The WP STAGING plugin for WordPress is vulnerable to a staging site takeover in all versions up to, and including, 4.21.0 due to the staging site's database tables being dropped before its files, including wp-admin/install.php and a working wp-config.php, are removed. This makes it possible for unauthenticated attackers, when an administrator deletes a staging site and the files remain reachable, to run the WordPress installer against the emptied database, create their own administrator account on the staging site and use it to execute code on the server.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0