Command Injection in Backup Migration (WordPress plugin) (CVE-2026-7693)
Summary
Command injection in Backup Migration (WordPress plugin) (CVE-2026-7693). Successful exploitation can lead to full system takeover. Exploitable via file.
Original description
The description as published by the source.
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 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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-7693 has been found in Backup Migration (WordPress plugin).
Attackers can target a specific entry point like file over the network to misuse the product.
Successful exploitation can lead to full system takeover. CVSS score: 7.2/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "Backup Migration (WordPress plugin) CVE-2026-7693" on the vendor's site.
CVE-2026-7693 (Backup Migration (WordPress plugin)) — CWE-77 / CVSS v3 7.2
Attack vector: remote (network-reachable) / no user interaction
Attack surface: file / do_backups / DISALLOW_FILE_EDIT / DISALLOW_FILE_MODS
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-77) exists in Backup Migration (WordPress plugin). Attackers reach the vulnerable code path via file.
Check the vendor advisory for the affected versions of Backup Migration (WordPress plugin). Attack surface: file / do_backups / DISALLOW_FILE_EDIT / DISALLOW_FILE_MODS.
Severity: High (CVSS 7.2/10). Successful exploitation can lead to full system takeover.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで Backup Migration (WordPress plugin) を使っているサービスとバージョンを洗い出す。
-
2Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。