CVE-2026-19949 in All-in-One WP Migration and Backup Plugininfo

Summary

by MITRE • 08/25/2026

The All-in-One WP Migration and Backup plugin for WordPress is vulnerable to SQL Injection via archive restore functionality in all versions up to, and including, 7.109 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. This can be leveraged to obtain the ai1wm_secret_key when a site administrator performs an archive restore and achieve remote code execution once able to leverage the ai1wm_secret_key value.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 08/25/2026

The vulnerability identified in the All-in-One WP Migration and Backup plugin, specifically affecting versions up through 7.109, represents a critical security flaw rooted in insufficient input validation and sanitization within the archive restore functionality. This component of the WordPress ecosystem is designed to facilitate the restoration of website backups, a process that inherently involves complex database interactions. The core technical deficiency lies in the failure to properly escape user-supplied parameters before they are incorporated into SQL queries. Furthermore, there is an absence of sufficient query preparation mechanisms, which are standard practices for preventing injection attacks. This combination of errors creates a classic SQL Injection vector where unauthenticated attackers can manipulate the structure of database commands by appending additional SQL statements to existing ones. The lack of strict type checking and boundary validation allows malicious input to bypass intended logic flows, effectively granting the attacker control over the data retrieval operations performed by the application during the restoration process.

From an operational perspective, this vulnerability poses a severe risk because it can be exploited without any form of authentication or prior login credentials. An unauthenticated actor can target the specific endpoint responsible for handling archive restores and inject malicious SQL code directly into the request parameters. The immediate impact of such exploitation is the ability to extract sensitive information from the underlying WordPress database. This includes user credentials, configuration details, and other proprietary data stored within the site's tables. By leveraging this injection capability, an attacker can bypass access controls and read data that was not intended for public consumption. The severity escalates significantly when considering the specific target of this exploitation: the ai1wm_secret_key. This key is a critical component used by the plugin to authenticate various operations and secure internal communications. Once extracted through SQL Injection, this secret value serves as a powerful credential that can be further abused to escalate privileges within the application environment.

The ultimate consequence of successfully exploiting this vulnerability extends beyond data exfiltration to full remote code execution on the affected server. The ai1wm_secret_key is not merely an identifier but often holds cryptographic significance or acts as a token for privileged operations within the plugin's architecture. By obtaining this key, an attacker can forge valid requests that mimic legitimate administrative actions. This capability allows the injection of malicious payloads into file upload mechanisms or other code execution vectors provided by the migration tool. Consequently, the attacker gains the ability to execute arbitrary commands on the host system, leading to a complete compromise of the web server and potentially the broader network infrastructure it supports. This chain of exploitation highlights how a single input validation flaw can cascade into catastrophic security failures when critical secrets are involved.

In terms of industry classification standards, this vulnerability aligns with CWE-89, which defines Improper Neutralization of Special Elements used in an SQL Command, commonly known as SQL Injection. The attack vector is categorized under ATT&CK technique T1059, specifically referencing command and script interpretation capabilities that are enabled through the exploitation of application-level flaws. To mitigate this risk, site administrators must immediately update the All-in-One WP Migration and Backup plugin to a version newer than 7.109 where these input validation issues have been addressed by the developers. For sites that cannot be updated instantly due to compatibility constraints or other operational dependencies, implementing Web Application Firewall rules can provide temporary protection by detecting and blocking SQL injection patterns in HTTP requests targeting the migration endpoints. Additionally, enforcing strict principle of least privilege for database accounts used by WordPress applications limits the potential damage even if an injection occurs, as the attacker would be restricted from performing high-level operations such as reading sensitive configuration tables or writing files to arbitrary locations on the file system. Regular security audits and code reviews focusing on data handling in backup restoration modules are also recommended to prevent similar vulnerabilities in future updates.

Responsible

Wordfence

Reservation

08/15/2026

Disclosure

08/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Do you want to use VulDB in your project?

Use the official API to access entries easily!