An SQL injection vulnerability in the All-in-One WP Migration and Backup plugin for WordPress could allow unauthenticated attackers to execute remote code and take control of affected websites. The plugin is used to back up, export, import, and move entire websites, including their databases, media, themes, and plugins, between servers or domains. The security flaw is tracked as CVE-2026-19949 and received a high-severity score. It was discovered by security researcher Jack Taylor, who reported it in mid-August through Defiant's cybersecurity branch, Wordfence. In a report yesterday, Wordfence researchers say that CVE-2026-19949 is a second-order SQL injection vulnerability that impacts All-in-One WP Migration and Backup versions throuhg 7.109. The issue consists of incorrect parsing of escaped backslashes and quotation marks while the plugin rewrites database content during archive restoration. An unauthenticated attacker could plant crafted data through WordPress trackbacks, which would execute when an administrator exports and imports the site, both common operations for the plugin. The injected SQL can expose the plugin’s secret import key (ai1wm_secret_key) through a public comment, allowing the attacker to obtain it and import a malicious ‘.wpress’ archive containing executable code. Wordfence mentions that code execution at this privilege level may lead to taking complete control of the target website. According to statistics from WordPress.org, All-in-One WP Migratio...
WordPress backup plugin flaw exposes millions of sites to takeover attacks
BleepingComputer
·Bill Toulas
·Published Sep 2, 2026
·Updated
Affected Software
1 affected component
Servmask All-in-One WP Migration and Backup<=7.109
Frequently Asked Questions
1
Which plugin versions are affected by CVE-2026-19949?
All-in-One WP Migration and Backup versions through 7.109 are affected.
2
How can an unauthenticated attacker trigger the vulnerability?
An attacker can plant crafted data through WordPress trackbacks. The malicious data executes when an administrator exports and imports the site.
3
What could exploitation allow?
The SQL injection could expose the plugin's secret import key, ai1wm_secret_key, and could allow remote code execution and takeover of an affected website.
4
Is the vulnerability known to be exploited?
The vulnerability is flagged as exploited and was added to the KEV list on 2026-09-03.