CVE-2026-7693: CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') in inisev Backup Migration
The Backup Migration plugin for WordPress contains a command injection vulnerability in all versions up to and including 2.1.5.1. This flaw arises from improper sanitization of the 'file' POST parameter in the restoreBackup() AJAX handler, allowing authenticated users with administrator or equivalent privileges to execute arbitrary OS commands as the web-server user. This vulnerability bypasses WordPress hardening constants that normally restrict code execution from the admin UI. It is a partial regression of a previous vulnerability (CVE-2023-7002) where similar mitigations were not applied consistently.
AI Analysis
Technical Summary
CVE-2026-7693 is a command injection vulnerability (CWE-77) in the Backup Migration WordPress plugin affecting all versions up to and including 2.1.5.1. The vulnerability stems from insufficient sanitization of the 'file' POST parameter in the restoreBackup() AJAX handler. The handler uses esc_attr(), which is an HTML context sanitizer that does not remove shell metacharacters, and then concatenates the sanitized input unquoted into a shell command executed via PHP's exec(). This allows authenticated attackers with administrator-level or equivalent plugin capability ('do_backups') to execute arbitrary OS commands as the web-server user, bypassing WordPress hardening constants such as DISALLOW_FILE_EDIT and DISALLOW_FILE_MODS. This issue is an incomplete fix of CVE-2023-7002, where similar command injection was patched only in the 'url' POST parameter path but not in the 'file' parameter path.
Potential Impact
An attacker with administrator or equivalent plugin capability can execute arbitrary operating system commands with the privileges of the web-server user. This can lead to full compromise of the web server, data theft, or further attacks. The vulnerability bypasses WordPress hardening constants that normally prevent code execution from the admin UI, increasing the risk of exploitation in environments relying on those protections.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict administrative access to trusted users only and consider disabling the Backup Migration plugin if feasible. Monitor for vendor updates addressing this vulnerability.
CVE-2026-7693: CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') in inisev Backup Migration
Description
The Backup Migration plugin for WordPress contains a command injection vulnerability in all versions up to and including 2.1.5.1. This flaw arises from improper sanitization of the 'file' POST parameter in the restoreBackup() AJAX handler, allowing authenticated users with administrator or equivalent privileges to execute arbitrary OS commands as the web-server user. This vulnerability bypasses WordPress hardening constants that normally restrict code execution from the admin UI. It is a partial regression of a previous vulnerability (CVE-2023-7002) where similar mitigations were not applied consistently.
CVSS v3.1
Score 7.2high
Affected software
inisev
Backup Migration
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-7693 is a command injection vulnerability (CWE-77) in the Backup Migration WordPress plugin affecting all versions up to and including 2.1.5.1. The vulnerability stems from insufficient sanitization of the 'file' POST parameter in the restoreBackup() AJAX handler. The handler uses esc_attr(), which is an HTML context sanitizer that does not remove shell metacharacters, and then concatenates the sanitized input unquoted into a shell command executed via PHP's exec(). This allows authenticated attackers with administrator-level or equivalent plugin capability ('do_backups') to execute arbitrary OS commands as the web-server user, bypassing WordPress hardening constants such as DISALLOW_FILE_EDIT and DISALLOW_FILE_MODS. This issue is an incomplete fix of CVE-2023-7002, where similar command injection was patched only in the 'url' POST parameter path but not in the 'file' parameter path.
Potential Impact
An attacker with administrator or equivalent plugin capability can execute arbitrary operating system commands with the privileges of the web-server user. This can lead to full compromise of the web server, data theft, or further attacks. The vulnerability bypasses WordPress hardening constants that normally prevent code execution from the admin UI, increasing the risk of exploitation in environments relying on those protections.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict administrative access to trusted users only and consider disabling the Backup Migration plugin if feasible. Monitor for vendor updates addressing this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-05-02T19:09:22.648Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a72e5cdbf8831d53973581e
Added to database: 08/05/2026, 07:27:09 UTC
Last enriched: 08/12/2026, 15:30:47 UTC
Last updated: 09/17/2026, 22:01:39 UTC
Views: 62
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.