CVE-2026-7693
Last modified
CVE-2026-7693 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. 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()`. EPSS estimates a 2.23% chance of exploitation in the next 30 days.
Description
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`.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| inisev | Backup Migration | <= 2.1.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-7693?
How severe is CVE-2026-7693?
How do I fix CVE-2026-7693?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-7687A vulnerability was determined in langflow-ai langflow up to…6.3
- CVE-2026-7688A vulnerability was identified in Dolibarr ERP CRM up to 23.…5
- CVE-2026-7689A security flaw has been discovered in Dolibarr ERP CRM up t…3.7
- CVE-2026-7690A weakness has been identified in Wavlink WL-WN570HA1 R70HA1…9.8
- CVE-2026-7691A security vulnerability has been detected in Wavlink WL-WN5…6.3
- CVE-2026-7692A vulnerability was detected in Wavlink WL-WN570HA1 R70HA1 V…6.3
- CVE-2026-7694A flaw has been found in Acrel Electrical ECEMS Enterprise M…7.3
- CVE-2026-7695A vulnerability has been found in Acrel Electrical EEMS Ente…7.3
- CVE-2026-7696A vulnerability was found in Acrel Electrical EEMS Enterpris…6.3
- CVE-2026-7697A vulnerability was determined in AMTT Hotel Broadband Opera…4.7
- CVE-2026-7698A vulnerability was identified in Tiandy Easy7 Integrated Ma…7.3
- CVE-2026-7699A security flaw has been discovered in Dromara MaxKey up to …6.3
Are you affected by CVE-2026-7693?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
