Radar sectionsDatabase
Check my site
WordPress plugin

Backup Migration <= 2.1.5.1 — Authenticated (Administrator+) OS Command Injection via 'file' Parameter

CVE-2026-7693Published · Updated

Action summary

Affected: ≤2.1.1Update to 2.1.5.2 or newer

All remediation steps
Severity
High7.2
CVSS
7.2
CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What does this vector mean?
AV:N Attack vector
Network
AC:L Attack complexity
Low
PR:H Privileges required
High
UI:N User interaction
None
S:U Scope
Unchanged
C:H Confidentiality
High
I:H Integrity
High
A:H Availability
High
Weakness
CWE-77 Improper Neutralization of Special Elements used in a Command
Required access
Unknown
Exploit prediction (EPSS)
No score
CISA KEV
Not listed

Am I affected?

Backup Migration backup-backup

  1. Affected≤ 2.1.1
  2. Patched in2.1.5.2

Update to 2.1.5.2 or newer.

You are affected if you run ≤ 2.1.1. Version 2.1.5.2 and later are not affected by this issue.

  • Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under Backup Migration.
  • No admin access? Run a passive check of your site. It reads public files only.

What to do

  1. Update to version 2.1.5.2, or a newer patched version
  2. Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
  3. Watch Backup Migration to get an email when the next vulnerability is published.

Advisory

Source description from Wordfence Intelligence, credited to at1as.

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`.

Exploits & references

Proof-of-concept & detection

No public proof-of-concept or detection template is known for this vulnerability.

Advisories & patches

More in Backup Migration

All 19
More vulnerabilities in Backup Migration
SeverityVulnerabilityCVEPublished
Medium4.7Authenticated (Administrator+) Privilege Escalation
≤2.1.6Update to 2.1.7
CVE-2026-18216
Medium5.3Unauthenticated Information Exposure
≤2.1.1Update to 2.1.2
CVE-2026-39480
Medium5.3Missing Authorization to Unauthenticated Backup Upload to Offline Storage
≤2.0.0Update to 2.1.0
CVE-2025-14944
High7.5Information Exposure to Unauthenticated Back-up Download
≤1.4.9Update to 2.0.0
CVE-2025-12394
High8.8Unauthenticated PHP Object Injection via 'recursive_unserialize_replace'
≤1.4.6Update to 1.4.6.1
CVE-2024-10932

Timeline

  1. CVE published

    Severity high, CVSS 7.2

  2. 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.

How we use these sources

Search VulnCrest Radar

Are you sure?