Description
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.
Published: 2026-08-25
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability is an unauthenticated second‑order SQL injection in the archive restore feature of All‑in‑One WP Migration and Backup versions up to 7.109. The flaw arises from insufficient escaping of user‑supplied input and failure to properly prepare the existing SQL statement. An attacker who does not have site privileges can inject additional SQL statements that the plugin then executes as part of the restore process. The injected statements can read sensitive configuration values such as the ai1wm_secret_key; once the key is in hand, an attacker can impersonate an administrator and execute arbitrary code on the server. This results in full remote code execution and total loss of confidentiality, integrity, and availability for the affected WordPress site.

Affected Systems

This issue affects the WordPress plugin All‑in‑One WP Migration and Backup, version 7.109 and all earlier releases. The plugin is distributed through the official WordPress Plugin Repository under the vendor servmask. Any WordPress installation that uses any of these legacy plugin versions and allows the archive restore operation is potentially exposed.

Risk and Exploitability

The scored CVSS of 8.8 indicates high severity. The plugin runs in a widely used CMS and the library accepts file uploads that can be controlled by remote users attempting a restore. Likely attack vector is through the restore endpoint accessible over the public internet. Because the vulnerability requires no authentication, an attacker can hit the restore endpoint from anywhere, exploiting the flaw if the site has enabled the restore feature. The EPSS score is not listed, but the lack of authentication and the path through the restore process raise the likelihood of exploitation. The flaw is not currently included in CISA's KEV catalog, but the high CVSS and broad exposure suggest a substantial risk for organizations relying on this plugin.

Generated by OpenCVE AI on August 25, 2026 at 12:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the All‑in‑One WP Migration and Backup plugin to the latest version, which contains the fix for the SQL injection.
  • If immediate update is not possible, disable the archive restore functionality or restrict it to trusted administrators only, preventing unauthenticated users from executing restore operations.
  • Remove the ai1wm_secret_key from global settings, regenerate it, and ensure it is not exposed through any accessible REST endpoints or debugging output.

Generated by OpenCVE AI on August 25, 2026 at 12:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 27 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 25 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Description 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.
Title All-in-One WP Migration and Backup <= 7.109 - Unauthenticated Second-Order SQL Injection via Archive Restore to Remote Code Execution
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-08-27T15:06:46.926Z

Reserved: 2026-08-15T20:05:50.105Z

Link: CVE-2026-19949

cve-icon Vulnrichment

Updated: 2026-08-27T15:06:35.281Z

cve-icon NVD

Status : Deferred

Published: 2026-08-25T12:16:23.783

Modified: 2026-08-27T17:17:43.787

Link: CVE-2026-19949

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T13:00:14Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')