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.2CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:HPrivileges required- High
UI:NUser interaction- None
S:UScope- Unchanged
C:HConfidentiality- High
I:HIntegrity- High
A:HAvailability- High
- Required access
- Unknown
- Exploit prediction (EPSS)
- No score
- CISA KEV
- Not listed
On this page8
Am I affected?
Backup Migration backup-backup
- Affected≤ 2.1.1
- 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
- Update to version 2.1.5.2, or a newer patched version
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
- 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
- Advisorywordfence.com
Related CVEs
More in Backup Migration
All 19| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| Medium4.7 | Authenticated (Administrator+) Privilege Escalation ≤2.1.6Update to 2.1.7 | CVE-2026-18216 | |
| Medium5.3 | Unauthenticated Information Exposure ≤2.1.1Update to 2.1.2 | CVE-2026-39480 | |
| Medium5.3 | Missing Authorization to Unauthenticated Backup Upload to Offline Storage ≤2.0.0Update to 2.1.0 | CVE-2025-14944 | |
| High7.5 | Information Exposure to Unauthenticated Back-up Download ≤1.4.9Update to 2.0.0 | CVE-2025-12394 | |
| High8.8 | Unauthenticated PHP Object Injection via 'recursive_unserialize_replace' ≤1.4.6Update to 1.4.6.1 | CVE-2024-10932 |
- Medium4.7Authenticated (Administrator+) Privilege Escalation
≤2.1.6Update to 2.1.7
- Medium5.3Unauthenticated Information Exposure
≤2.1.1Update to 2.1.2
- Medium5.3Missing Authorization to Unauthenticated Backup Upload to Offline Storage
≤2.0.0Update to 2.1.0
- High7.5Information Exposure to Unauthenticated Back-up Download
≤1.4.9Update to 2.0.0
- High8.8Unauthenticated PHP Object Injection via 'recursive_unserialize_replace'
≤1.4.6Update to 1.4.6.1
Timeline
CVE published
Severity high, CVSS 7.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.
