Skip to content

Backup Migration

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

CVE-2026-7693Published 5 Aug 2026, 06:37 UTC

Real-world risk

1.7/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.2

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from Wordfence)

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

Am I affected?

ProductAffected versions (from the sources)Fixed in
Backup MigrationCommon<= 2.1.1—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededHighAdmin or equivalentFrom the CVSS vector0.20
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 2.3% chance of exploitation in 30 days (percentile 84), as of 2026-12-05.

The arithmetic
  1. Prerequisites multiplied together0.200
  2. Threat T1: Nothing known0.850
  3. 10 × impact 1 × prerequisites 0.2 × threat 0.851.700
  4. Rounded to one decimal between 0.1 and 101.7

How the score works

Exploitation and evidence timeline

  1. 5 Aug 2026 Published
  2. 3 Dec 2026 Risk 1.7 (cvss fallback)

Weakness

CWE-77

References

Get alerts for Backup Migration

Free email or text alerts when a vulnerability in Backup Migration reaches risk 8 or higher. Nothing else.