# CVE-2024-9162: All-in-One WP Migration and Backup <= 7.86 - Authenticated (Administrator+) Arbitrary PHP Code Injection

- Severity: High 7.2 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.74%, higher than 86% of CVEs (2026-12-01)
- Published: 2024-10-28T05:32:24.968Z
- Modified: 2026-06-17T08:24:04.340Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: Wordfence

## Description

The All-in-One WP Migration and Backup plugin for WordPress is vulnerable to arbitrary PHP Code Injection due to missing file type validation during the export in all versions up to, and including, 7.86. This makes it possible for authenticated attackers, with Administrator-level access and above, to create an export file with the .php extension on the affected site's server, adding an arbitrary PHP code to it, which may make remote code execution possible.

(As written by CVE List.)

## Affected

- servmask All-in-One WP Migration and Backup: up to 7.86
- yaniiliev all_in_one_wp_migration_and_backup: up to 7.86

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/d97c3379-56c9-4261-9a70-3119ec121a40?source=cve>
- <https://plugins.trac.wordpress.org/browser/all-in-one-wp-migration/trunk/lib/controller/class-ai1wm-backups-controller.php#L60>
- <https://plugins.trac.wordpress.org/browser/all-in-one-wp-migration/trunk/lib/controller/class-ai1wm-export-controller.php#L36>
- <https://github.com/d0n601/CVE-2024-9162>
- <https://ryankozak.com/posts/CVE-2024-9162>

## Sources

- CVE List: [CVE-2024-9162](https://www.cve.org/CVERecord?id=CVE-2024-9162), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-9162](https://nvd.nist.gov/vuln/detail/CVE-2024-9162), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-9162 · Whole record: https://cve.day/CVE-2024-9162.json · Rebuilt by cve.day 2026-11-25T22:58:47.382Z
