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 an OS Command Injection vulnerability in all versions up to and including 2.1.5.1. This occurs due to improper sanitization of the 'file' POST parameter in the restoreBackup() AJAX handler, allowing authenticated users with Administrator-level or equivalent plugin capabilities to execute arbitrary OS commands as the web-server user. The vulnerability bypasses WordPress hardening constants that normally prevent code execution from the admin UI. It is a partial fix of a previous vulnerability (CVE-2023-7002) where similar mitigations were not applied consistently.
AI Analysis
Technical Summary
CVE-2026-7693 is an OS Command Injection vulnerability in the inisev Backup Migration WordPress plugin. The issue arises because the restoreBackup() AJAX handler insufficiently sanitizes the 'file' POST parameter, applying only esc_attr(), which is an HTML context sanitizer and does not remove shell metacharacters. The sanitized input is then concatenated unquoted into a shell command executed via PHP's exec() function. This allows authenticated users with Administrator or 'do_backups' capability to execute arbitrary commands as the web-server user, bypassing WordPress hardening constants such as DISALLOW_FILE_EDIT and DISALLOW_FILE_MODS. This vulnerability is an incomplete fix of CVE-2023-7002, which addressed a similar issue in a different code path but did not apply the same mitigations to the backupName variable used here.
Potential Impact
An attacker with Administrator-level or equivalent plugin permissions can execute arbitrary operating system commands on the web server with the privileges of the web-server user. This can lead to full compromise of the affected system, including confidentiality, integrity, and availability impacts. The vulnerability bypasses WordPress hardening constants designed to prevent code execution from the admin interface, 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. No official fix or patch has been publicly disclosed at this time. Until a patch is available, restrict plugin access to trusted administrators only and monitor for updates from the vendor. Avoid granting the 'do_backups' capability to untrusted users. Follow vendor advisories closely for any forthcoming fixes or official mitigations.
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 an OS Command Injection vulnerability in all versions up to and including 2.1.5.1. This occurs due to improper sanitization of the 'file' POST parameter in the restoreBackup() AJAX handler, allowing authenticated users with Administrator-level or equivalent plugin capabilities to execute arbitrary OS commands as the web-server user. The vulnerability bypasses WordPress hardening constants that normally prevent code execution from the admin UI. It is a partial fix of a previous vulnerability (CVE-2023-7002) where similar mitigations were not applied consistently.
CVSS v3.1
Score 7.2high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-7693 is an OS Command Injection vulnerability in the inisev Backup Migration WordPress plugin. The issue arises because the restoreBackup() AJAX handler insufficiently sanitizes the 'file' POST parameter, applying only esc_attr(), which is an HTML context sanitizer and does not remove shell metacharacters. The sanitized input is then concatenated unquoted into a shell command executed via PHP's exec() function. This allows authenticated users with Administrator or 'do_backups' capability to execute arbitrary commands as the web-server user, bypassing WordPress hardening constants such as DISALLOW_FILE_EDIT and DISALLOW_FILE_MODS. This vulnerability is an incomplete fix of CVE-2023-7002, which addressed a similar issue in a different code path but did not apply the same mitigations to the backupName variable used here.
Potential Impact
An attacker with Administrator-level or equivalent plugin permissions can execute arbitrary operating system commands on the web server with the privileges of the web-server user. This can lead to full compromise of the affected system, including confidentiality, integrity, and availability impacts. The vulnerability bypasses WordPress hardening constants designed to prevent code execution from the admin interface, 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. No official fix or patch has been publicly disclosed at this time. Until a patch is available, restrict plugin access to trusted administrators only and monitor for updates from the vendor. Avoid granting the 'do_backups' capability to untrusted users. Follow vendor advisories closely for any forthcoming fixes or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-05-02T19:09:22.648Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a72e5cdbf8831d53973581e
Added to database: 08/05/2026, 07:27:09 UTC
Last enriched: 08/05/2026, 07:41:07 UTC
Last updated: 08/05/2026, 08:01:00 UTC
Views: 4
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.