Rank Math SEO PRO: an official update shipped with malware for 11 hours
Published · Disclosed October 16, 2026 · By Adam Taylor
| Plugin | Vulnerable | Fixed in |
|---|---|---|
| Rank Math SEO PRO | 3.0.123 (installed Oct 15–16) | 3.0.124 |
Most of what we write about is a flaw: a mistake in a plugin that an attacker can take advantage of. This is different. For about eleven hours last week, some copies of the official Rank Math SEO PRO update contained malware. Sites that installed it didn’t do anything wrong. They updated, which is normally the safe thing to do.
Rank Math has confirmed it, removed the bad files, and released a clean version 3.0.124. But if your site picked up the bad copy, installing 3.0.124 does not remove what the malware already did.
Am I affected?
Only Rank Math SEO PRO, the paid version, is involved. The free Rank Math SEO plugin from WordPress.org is not affected.
You’re affected if your site installed PRO version 3.0.123 between:
- October 15 at 4:02 pm Eastern (20:02 UTC), and
- October 16 at 3:12 am Eastern (07:12 UTC).
Many sites update automatically overnight, so that window catches a lot of them without anyone noticing. Rank Math sorts sites into three groups:
- 3.0.123 was installed and active during that window: treat the site as compromised.
- It was installed but never activated: delete it, install 3.0.124, and run a security scan.
- It was only downloaded, never installed: the download alone doesn’t put your site at risk.
Having 3.0.123 doesn’t prove you got a bad copy, since not every download in that period was affected. But if your site was on it during the window and you can’t be sure, it’s safer to assume the worst.
What the malware does
It plants a hidden way back into your site, and that way back rebuilds itself whenever someone visits a page. Deleting the obvious file doesn’t work for long. It can also read anything your website can read: your WordPress passwords, your database login, and keys for services the site connects to, such as payment and email providers.
Some signs to look for:
- Administrator accounts you don’t recognise, especially usernames starting with
wpsupport_or email addresses ending in@wp-mail.net. - A file called
class-wp-cache-util.phpin yourwp-includesfolder. It looks like part of WordPress, but it isn’t.
Rank Math’s notice has the full technical list, which your host or developer will want.
What to do
- Best option: restore a backup from before October 15 at 4:02 pm Eastern. That rolls back everything the malware did, files and database both. Then install 3.0.124.
- If you don’t have a backup that old, a plugin update won’t fix this. The malware spreads into other folders, adds accounts and scheduled tasks, and can reach outside WordPress to the server itself. This needs a proper cleanup. We can do that for you.
- Either way, change your passwords and keys. WordPress logins, your database password, your hosting and FTP logins, and any payment, email, or other service keys stored in your site’s settings. Assume they were seen.
- Get 3.0.124 by logging in at rankmath.com directly. Rank Math says it never emails login or download links, so any email offering you a “fixed version” to download isn’t from them, however official it looks.
On a Protect plan? Cleanups are included in your plan, so if your site picked up the bad copy, cleaning it up is covered.