---
id: CVE-2026-19949
title: >-
  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…
summary: >-
  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…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-89
published: '2026-08-25'
updated: '2026-09-28'
sourceUpdated: '2026-09-28T23:10:00.143'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-19949'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/all-in-one-wp-migration/tags/7.109/lib/controller/class-ai1wm-import-controller.php#L68
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/all-in-one-wp-migration/tags/7.109/lib/controller/class-ai1wm-main-controller.php#L1336
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/all-in-one-wp-migration/tags/7.109/lib/model/import/class-ai1wm-import-database.php#L1065
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/all-in-one-wp-migration/tags/7.109/lib/vendor/servmask/database/class-ai1wm-database.php#L1250
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/all-in-one-wp-migration/tags/7.109/lib/vendor/servmask/database/class-ai1wm-database.php#L1637
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/all-in-one-wp-migration/tags/7.109/lib/vendor/servmask/database/class-ai1wm-database.php#L1726
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&old=3656677%40all-in-one-wp-migration&new=3656677%40all-in-one-wp-migration
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/22e273d9-a268-4dc5-b1f6-3bc5c29232c5?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - exploit-available
exploits:
  github: 3
  githubRepos:
    - 'https://github.com/686f6c61/POC-AIOWPM-CVE-2026-19949'
    - 'https://github.com/katranSefa/CVE-2026-19949'
    - 'https://github.com/HORKimhab/CVE-2026-19949'
  checkedAt: '2026-09-28T23:23:35.560Z'
exploitAvailable: true
ingestedAt: '2026-09-28T23:23:00.552Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
