Vulnerability record · CVE-2022-1476 · published 10 May 2022
CVE-2022-1476: All-in-One WP Migration plugin path traversal allows arbitrary file deletion
Servmask · All In One Wp Migration
The All-in-One WP Migration WordPress plugin fails to properly validate file paths in ~/lib/model/class-ai1wm-backups.php, allowing directory traversal. Versions up to and including 7.58 are affected, and a successful attack deletes arbitrary files on the server, which can break the site or remove data.
Description
The All-in-One WP Migration plugin for WordPress is vulnerable to arbitrary file deletion via directory traversal due to insufficient file validation via the ~/lib/model/class-ai1wm-backups.php file, in versions up to, and including, 7.58. This can be exploited by administrative users, and users who have access to the site's secret key.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
Automated analysis
medium priorityExploitation requires administrative access or the site secret key, which limits reach, but successful abuse causes high integrity and availability impact and the plugin is widely deployed.
What it is
The All-in-One WP Migration WordPress plugin fails to properly validate file paths in ~/lib/model/class-ai1wm-backups.php, allowing directory traversal. Versions up to and including 7.58 are affected, and a successful attack deletes arbitrary files on the server, which can break the site or remove data.
Impact
An attacker can delete arbitrary files on the WordPress host, causing data loss, denial of service, or removal of security-relevant files. The CVSS vector shows high integrity and availability impact with no confidentiality impact.
Attack surface
The flaw is reachable over the network through the plugin's backup handling code. It requires high privileges: an administrative user or anyone holding the site's secret key, and no user interaction is needed.
Exploitation
Not listed in CISA KEV and no ransomware association is documented. EPSS is high at roughly 0.479 (98.8th percentile), and references include a patch changeset plus Wordfence advisories, but no public exploit tag is present.
What to do
- Update the All-in-One WP Migration plugin to a version newer than 7.58, which contains the patch.
- If immediate patching is not possible, disable or remove the plugin until it can be updated.
- Rotate the site's secret key and review administrative accounts, since access to the secret key or admin role is sufficient to exploit this.
- Restrict and audit administrator-level accounts, applying least privilege to reduce who can reach the vulnerable backup functionality.
- Maintain offline backups so deleted files can be restored if exploitation occurs.
Detection
- Monitor plugin and web server logs for requests to All-in-One WP Migration backup endpoints containing traversal sequences such as ../.
- Alert on unexpected deletion or disappearance of files in WordPress directories and the web root.
- Audit changes to administrator accounts and secret key usage for signs of unauthorized access.
- Watch for file integrity monitoring alerts on core WordPress, plugin, and configuration files.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
Track CVE-2022-1476 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-1476), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.