Popular WordPress SEO Plugin Rank Math PRO Hijacked to Deliver Self-Restoring Backdoor
Rank Math PRO plugin for WordPress downloaded or updated during a specific window contains malware that can recreate a hidden backdoor.
Intelligence analysis by Qwen 2.5 (3B)

Rank Math PRO plugin for WordPress had a security issue where copies downloaded or updated between Oct 15 and 16 contained malware. Affected sites should be treated as compromised and cleaned up.
The Rank Math PRO plugin for WordPress had a problem where some copies of it had hidden bad code. This bad code can make the site look clean, but it still has a secret way to get back in. The people who made the plugin fixed it and gave a new version, but you need to clean up your site to make sure it's safe.
Analysis
{"
Malware Details and Impact":"The malware in the Rank Math PRO plugin can recreate a hidden backdoor, exposing sensitive data such as passwords, database credentials, and API keys. The attacker may also have left PHP backdoor files in other plugins' folders, in theme folders, and in the must-use plugins directory.","
Recovery Steps":"The recommended recovery steps include restoring a backup from before Oct 15, deleting the rank-math-pro plugin folder, and running a security scan. If no clean backup exists, a manual cleanup is required in a specific order, including deleting suspicious files and accounts, and changing passwords and credentials.","
Expert Analysis":"Wordfence assigned the incident CVE-2026-111862 and rated it 9.8 out of 10. The malware uses base64_decode with XOR loops, proc_open, and PHP-FPM socket code. The cleanup process involves deleting specific files and accounts, and changing passwords and credentials. The cleanup ends with a security scan and verifying checksums for WordPress core and premium plugins."}
Key points
- Rank Math PRO plugin for WordPress had a security issue with malware in copies downloaded or updated between Oct 15 and 16.
- The malware can recreate a hidden backdoor, exposing sensitive data such as passwords, database credentials, and API keys.
- The recommended recovery steps include restoring a backup from before Oct 15, deleting the rank-math-pro plugin folder, and running a security scan.
The security issue can be fixed by restoring a backup or cleaning up the site manually. The new version of the plugin is safe and can be installed to protect the site.
If the site was not backed up, the manual cleanup process can be time-consuming and may not fully remove all the bad code. The site owner may need to contact the plugin's support team if they are unsure about the installation or activation of the plugin.



