{"id":4675,"date":"2026-09-04T18:46:41","date_gmt":"2026-09-04T10:46:41","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-7693"},"modified":"2026-09-04T18:46:41","modified_gmt":"2026-09-04T10:46:41","slug":"cve-2026-7693","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-7693","title":{"rendered":"CVE-2026-7693 [HIGH] &#8211; The Backup Migration plugin for WordPress is vulnerable to OS Command Injection in all ver"},"content":{"rendered":"<p>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()` \u2014 an HTML-context sanitizer that does not strip shell metacharacters \u2014 and concatenates the result, unquoted, into a `php-cli -f \u2026 bmi_restore  ` command passed to `exec()`. This makes it possible for authenticated attackers, with Administrator-level access (or any user granted the plugin&#8217;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[&#8216;url&#8217;]` path of `handleQuickMigration()`; the equivalent mitigations (`rawurlencode()` + explicit shell-metachar replacement + double-quoting in `exec()`) were never applied to `$backupName`.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 `rest<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-4675","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/4675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4675"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4675"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}