Servmask All-in-One WP Migration and Backup
All-in-One WP Migration and Backup <= 7.109 - Unauthenticated Second-Order SQL Injection via Archive Restore to Remote Code Execution
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 7.109
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 12 days after publication; not in CISA KEV. First PoC: katranSefa/CVE-2026-19949 (created 6 Sep 2026, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs · 1 pending
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| katranSefa/CVE-2026-19949 | 6 Sep 2026 +12 d | 0 | PoC |
| 686f6c61/POC-AIOWPM-CVE-2026-19949 | 8 Sep 2026 +14 d | 5 | PoC |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| HORKimhab/CVE-2026-19949 | 3 Sep 2026 +8.9 d | 0 | Pending |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 2 PoC reposGET /
- Query
author=- Seen in
- 1 repo: katranSefa/CVE-2026-19949
- Evidence
- katranSefa/CVE-2026-19949/CVE-2026-19949.py:244
GET /index.php
- Query
rest_route=/wp/v2/commentsper_page=100- Ports
- 8080, 8090
- Seen in
- 1 repo: 686f6c61/POC-AIOWPM-CVE-2026-19949
- Evidence
- 686f6c61/POC-AIOWPM-CVE-2026-19949/exploit/07_leak_key.sh:14
GET /wp-admin/admin-ajax.php
- Query
action=ai1wm_storage- Seen in
- 1 repo: katranSefa/CVE-2026-19949
- Evidence
- katranSefa/CVE-2026-19949/CVE-2026-19949.py:492
GET /wp-admin/admin.php
- Query
page=ai1wm_importpage=ai1wm_export- Ports
- 8080, 8090
- Seen in
- 1 repo: 686f6c61/POC-AIOWPM-CVE-2026-19949
- Evidence
- 686f6c61/POC-AIOWPM-CVE-2026-19949/cli/poc.py:336 686f6c61/POC-AIOWPM-CVE-2026-19949/exploit/aiowpm_client.py:55
GET /wp-admin/plugin-install.php
- Query
tab=upload- Seen in
- 1 repo: katranSefa/CVE-2026-19949
- Evidence
- katranSefa/CVE-2026-19949/CVE-2026-19949.py:645
GET /wp-admin/plugins.php
- Query
action=activateplugin=_wpnonce=- Seen in
- 1 repo: katranSefa/CVE-2026-19949
- Evidence
- katranSefa/CVE-2026-19949/CVE-2026-19949.py:665
GET /wp-content/PWNED_CVE_2026_19949.txt
- Ports
- 8080, 8090
- Seen in
- 1 repo: 686f6c61/POC-AIOWPM-CVE-2026-19949
- Evidence
- 686f6c61/POC-AIOWPM-CVE-2026-19949/cli/poc.py:468
GET /wp-json/wp/v2/settings
- Seen in
- 1 repo: katranSefa/CVE-2026-19949
- Evidence
- katranSefa/CVE-2026-19949/CVE-2026-19949.py:483
GET /wp-json/wp/v2/users
- Seen in
- 1 repo: katranSefa/CVE-2026-19949
- Evidence
- katranSefa/CVE-2026-19949/CVE-2026-19949.py:234
GET /wp-trackback.php
- Ports
- 8080, 8090
- Seen in
- 1 repo: 686f6c61/POC-AIOWPM-CVE-2026-19949
- Evidence
- 686f6c61/POC-AIOWPM-CVE-2026-19949/cli/poc.py:169
POST /wp-admin/admin-ajax.php
- Query
action=ai1wm_backup_download_backupaction=ai1wm_importaction=- Body markers
secret_key=archive=priority=storage=archive=malicious.wpressai1wm_manual_import=ai1wm_manual_export=inapplication/x-www-form-urlencoded- Ports
- 8080, 8090
- Seen in
- 1 repo: 686f6c61/POC-AIOWPM-CVE-2026-19949
- Evidence
- 686f6c61/POC-AIOWPM-CVE-2026-19949/cli/poc.py:347 686f6c61/POC-AIOWPM-CVE-2026-19949/exploit/06_rce_unauth.py:48 686f6c61/POC-AIOWPM-CVE-2026-19949/exploit/aiowpm_client.py:70
POST /wp-admin/async-upload.php
- Body markers
action=upload-attachmentinapplication/x-www-form-urlencoded- Seen in
- 1 repo: katranSefa/CVE-2026-19949
- Evidence
- katranSefa/CVE-2026-19949/CVE-2026-19949.py:677
POST /wp-admin/plugin-install.php
- Query
tab=upload- Body markers
_wpnonce=_wp_http_referer=install-plugin-submit=Install Nowinapplication/x-www-form-urlencoded- Seen in
- 1 repo: katranSefa/CVE-2026-19949
- Evidence
- katranSefa/CVE-2026-19949/CVE-2026-19949.py:655
POST /wp-login.php
- Body markers
log=pwd=wp-submit=Log inredirect_to=inapplication/x-www-form-urlencoded- Ports
- 8080, 8090
- Seen in
- 1 repo: 686f6c61/POC-AIOWPM-CVE-2026-19949
- Evidence
- 686f6c61/POC-AIOWPM-CVE-2026-19949/exploit/aiowpm_client.py:46
POST /wp-trackback.php
- Query
p=- Body markers
title=Enlace desde mi blogexcerpt=Articulo interesante sobre backupsblog_name=Jack Blogs\\url=blog_name=inapplication/x-www-form-urlencoded- Ports
- 8080, 8090
- Seen in
- 1 repo: 686f6c61/POC-AIOWPM-CVE-2026-19949
- Evidence
- 686f6c61/POC-AIOWPM-CVE-2026-19949/cli/poc.py:278 686f6c61/POC-AIOWPM-CVE-2026-19949/exploit/01_plant_trackback.sh:40
POST /xmlrpc.php
- Body markers
<?xml version="1.0"?>intext/xml- Seen in
- 1 repo: katranSefa/CVE-2026-19949
- Evidence
- katranSefa/CVE-2026-19949/CVE-2026-19949.py:257 katranSefa/CVE-2026-19949/CVE-2026-19949.py:276
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/\?(?:.*&)?author=
(?i)^/index\.php\?(?:.*&)?rest_route=/wp/v2/comments.*per_page=100
(?i)^/wp-admin/admin-ajax\.php\?(?:.*&)?action=ai1wm_storage
(?i)^/wp-admin/admin\.php\?(?:.*&)?page=ai1wm_import.*page=ai1wm_export
(?i)^/wp-admin/plugin-install\.php\?(?:.*&)?tab=upload
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-19949 servmask All-in-One WP Migration and Backup exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"author="; reference:url,poc.griffinguard.io/cve/CVE-2026-19949; classtype:web-application-attack; sid:9660414; rev:1;)
alert http any any -> $HOME_NET [8080,8090] (msg:"GG PoC-Monitor CVE-2026-19949 servmask All-in-One WP Migration and Backup exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/index.php"; http.uri; content:"rest_route=/wp/v2/comments"; http.uri; content:"per_page=100"; reference:url,poc.griffinguard.io/cve/CVE-2026-19949; classtype:web-application-attack; sid:9674276; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-19949 servmask All-in-One WP Migration and Backup exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-admin/admin-ajax.php"; http.uri; content:"action=ai1wm_storage"; reference:url,poc.griffinguard.io/cve/CVE-2026-19949; classtype:web-application-attack; sid:9775966; rev:1;)
alert http any any -> $HOME_NET [8080,8090] (msg:"GG PoC-Monitor CVE-2026-19949 servmask All-in-One WP Migration and Backup exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-admin/admin.php"; http.uri; content:"page=ai1wm_import"; http.uri; content:"page=ai1wm_export"; reference:url,poc.griffinguard.io/cve/CVE-2026-19949; classtype:web-application-attack; sid:9311125; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-19949 servmask All-in-One WP Migration and Backup exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-admin/plugin-install.php"; http.uri; content:"tab=upload"; reference:url,poc.griffinguard.io/cve/CVE-2026-19949; classtype:web-application-attack; sid:9787067; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: servmask All-in-One WP Migration and Backup exploit attempt (CVE-2026-19949)
id: gg-pocmon-cve-2026-19949-9660414
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-19949. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-19949
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-query|contains|all:
- 'author='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.19949
title: servmask All-in-One WP Migration and Backup exploit attempt (CVE-2026-19949)
id: gg-pocmon-cve-2026-19949-9674276
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-19949. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-19949
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/index.php'
cs-uri-query|contains|all:
- 'rest_route=/wp/v2/comments'
- 'per_page=100'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.19949
title: servmask All-in-One WP Migration and Backup exploit attempt (CVE-2026-19949)
id: gg-pocmon-cve-2026-19949-9775966
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-19949. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-19949
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-admin/admin-ajax.php'
cs-uri-query|contains|all:
- 'action=ai1wm_storage'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.19949
title: servmask All-in-One WP Migration and Backup exploit attempt (CVE-2026-19949)
id: gg-pocmon-cve-2026-19949-9311125
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-19949. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-19949
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-admin/admin.php'
cs-uri-query|contains|all:
- 'page=ai1wm_import'
- 'page=ai1wm_export'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.19949
title: servmask All-in-One WP Migration and Backup exploit attempt (CVE-2026-19949)
id: gg-pocmon-cve-2026-19949-9787067
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-19949. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-19949
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-admin/plugin-install.php'
cs-uri-query|contains|all:
- 'tab=upload'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.19949