Key takeaways
- Only some copies of Rank Math PRO 3.0.123, downloaded or updated between 20:02 UTC on 15 October and 07:12 UTC on 16 October 2026, carried malware. The free Rank Math plugin from WordPress.org is not affected.
- The version number alone does not tell you if you were hit. What matters is whether a copy from that window was installed and activated on your site.
- If it was, treat the site as compromised. Updating to 3.0.124 replaces the plugin but does not remove accounts, files or scheduled tasks the malware may have left elsewhere.
- Restore from a backup made before 15 October 20:02 UTC if you have one, then change every password and key the site could reach. If you cannot do that yourself, ask your host or developer.
Rank Math is a widely used SEO plugin for WordPress. For about eleven hours in October, some copies of its paid version came with malware. Rank Math says a limited number of users were affected. Here is how to find out if you are one of them.
Short answer. Only some copies of Rank Math PRO 3.0.123, downloaded or updated between 20:02 UTC on 15 October and 07:12 UTC on 16 October 2026, carried malware. The free Rank Math plugin is not affected. If a copy from that window was active on your site, treat the site as compromised: updating to 3.0.124 is not enough, so restore from a clean backup or get it cleaned, then change your passwords.
Who is and is not affected#
You are not affected if:
- You use the free Rank Math SEO plugin from WordPress.org. Rank Math says it is not affected and needs no action.
- You use a different SEO plugin, or no WordPress at all.
- Your copy of Rank Math PRO was not downloaded or updated in the window above.
You may be affected if you run Rank Math PRO and a copy of version 3.0.123 reached your site between 20:02 UTC on 15 October and 07:12 UTC on 16 October 2026. In UK time (BST, which was in force then) that is 21:02 on 15 October to 08:12 on 16 October.
Rank Math's changelog dates 3.0.123 to 7 October. Wordfence, the WordPress security firm, says version 3.0.123 alone does not prove a compromise. Only copies from the window are affected, and 3.0.123 had been out since 7 October. The date matters more.
- 20:02 UTC: the window opens. Some 3.0.123 downloads and updates from this point contain malware.
- 07:12 UTC: the window closes.
- Rank Math releases the clean 3.0.124 and publishes its security notice. Wordfence publishes its own warning the same day.
A two-minute check: are you affected?#
Stop as soon as you get a "no".
- Free or PRO? Log in to WordPress and go to Plugins > Installed Plugins. Look for Rank Math PRO (it may show as Rank Math SEO PRO). If you only see Rank Math SEO and no PRO, you are not affected.
- Which version? The version number sits under the plugin name. If it is below 3.0.123, you are not affected. If it is 3.0.124 or higher, the clean version is installed now, but you still need step 3, because you may have had a bad copy first.
- When did it arrive? You need to know if version 3.0.123 reached your site inside the window. These can tell you:
- Update emails. WordPress sends an email to the site owner after plugins auto-update, by default. Search your inbox for it around 15 and 16 October.
- Your host's backup list. Backups are timestamped. If a backup taken after the window shows 3.0.123, and one from before it does not, the update landed in between.
- The plugin folder's date. In your host's file manager, open
wp-content/plugins/and look at the modified date on therank-math-profolder. Treat this as a clue, not proof, because other changes can alter the date. - An activity log. If you run a plugin that logs changes, it will show when Rank Math PRO was updated or activated.
- Was auto-update on? Under Plugins > Installed Plugins, the Automatic updates column shows "Enable auto-updates" or "Disable auto-updates" for each plugin. If it updates itself, a bad copy could have arrived without anyone clicking anything.
- Did Rank Math email you? Rank Math's changelog says all impacted customers were notified. Wordfence adds that if Rank Math notified you, you should follow the recovery steps even if your site now runs a different version. Do not click links in any email about it, though. Rank Math says it will never send login or download links by email, so go to rankmath.com directly.
If you still cannot tell, ask your host. They can often see the update in server logs.
The three cases#
| Your case | What to do |
|---|---|
| 1. Installed and activated 3.0.123 in the window | Treat the site as compromised. Follow the recovery steps below. |
| 2. Installed it but never activated it | Delete the affected plugin files, install 3.0.124 from your Rank Math account and run a security scan as a precaution. |
| 3. Downloaded it but did not install or activate it | Rank Math says there is no sign from this incident alone that your site was compromised. Contact Rank Math support if you are unsure what was installed. |
Swipe the table sideways on a phone.
If the bad copy was active: the recovery steps#
- Step 1Restore or cleanA backup from before 15 October 20:02 UTC, or a manual clean-up by someone who can do it
- Step 2ScanWordfence or Sucuri, as Rank Math suggests
- Step 3Change credentialsEven after a restore. The backup does not undo what the attacker may have seen
- Step 4Install 3.0.124Download it from rankmath.com, not from an email link
Option 1: restore from a clean backup. This is Rank Math's recommended route. Ask your host to restore the files and the database from a backup made before 20:02 UTC on 15 October (21:02 UK time). Scan, change every credential, then install 3.0.124.
One thing the notice does not spell out: a restore rolls the site back to that date. Anything added since, such as orders, form entries or new posts, will be gone from the restored copy. Ask your host to export those first. That point is my own reading, not Rank Math's.
Option 2: clean it by hand. If there is no suitable backup, the site must be cleaned. Rank Math warns that the malware can rebuild its hidden backdoor whenever someone visits the site, so the order matters. It names three first steps:
- Delete the whole
rank-math-profolder using your host's file manager or FTP. Deactivating the plugin is not enough. - In the
wp_optionsdatabase table, delete any entry named_uf6qdn2hmm,t8krdk990phbor_np5pvf754c. - Block outgoing connections to
rank1cdn.com, if your host or firewall can do it.
Only then should anyone hunt for the other changes. These are Rank Math's own indicators.
- Unknown administrator users, with names starting
wpsupport_or emails ending@wp-mail.net. - A file called
wp-includes/class-wp-cache-util.php, which is not a real WordPress file. - Rules in
.htaccessthat let.cachefiles run as PHP. - Cron jobs, including a system entry tagged
#ms6v46. - Hidden PHP files in
wp-content/mu-plugins/, other plugins' folders, theinc/,includes/andlib/folders of any non-default theme, and the Rank Mathincludesfolder. - PHP files inside the
uploadsfolder, where they generally should not be.
If you are not comfortable with files, databases or server settings, Rank Math says to ask your host or a security professional. I agree.
Why updating to 3.0.124 is not enough#
Updating swaps the plugin for the clean one. It does not go looking for anything the bad copy did while it was running.
Wordfence says the malware may have placed extra files, administrator accounts or scheduled tasks elsewhere on the server. A clean plugin on top of a planted backdoor is still a site someone else can get into.
The passwords and keys to change#
Rank Math says to change these even if you restored from a backup. Assume anything the site could read has been seen.
- All WordPress user passwords, starting with administrators.
- The database username and password in
wp-config.php. - The WordPress security keys and salts in
wp-config.php. - API keys and service logins stored on the site: payment gateways, email sending (SMTP) and anything similar.
- Your hosting control panel, FTP, SFTP and SSH logins.
- Two-factor authentication for administrators: check it and reset it where needed.
Copy and send this to your developer or host#
If you would rather hand this over, paste the list below into an email. Add your site address.
- Check whether Rank Math SEO PRO 3.0.123 was installed or updated on [your site] between 20:02 UTC on 15 October 2026 and 07:12 UTC on 16 October 2026, and whether it was activated. Please tell me what you find.
- If it was activated, restore the files and database from a backup made before 20:02 UTC on 15 October 2026, or clean the site following Rank Math's security notice. Export any orders or form entries made since that backup first.
- Check for administrator users starting
wpsupport_or with@wp-mail.netemails. Check forwp-includes/class-wp-cache-util.php,.cacheexecution rules in.htaccess, and cron entries tagged#ms6v46. - Look for
_uf6qdn2hmm,t8krdk990phband_np5pvf754cinwp_options, and block outgoing connections torank1cdn.com. - Run
wp core verify-checksumsandwp plugin verify-checksums --all, run a Wordfence or Sucuri scan, check theuploadsfolder for PHP files, and check the theme'sinc/,includes/andlib/folders. - Change my database password, security keys and salts, hosting, FTP, SFTP and SSH logins, and any API keys the site holds. Reset admin two-factor authentication.
- Reinstall Rank Math SEO PRO 3.0.124 from my account at rankmath.com, then confirm in writing what was found and what was changed.
Your SEO settings and free Rank Math accounts#
This part is a separate problem and only touches the free plugin. Rank Math says it refreshed some systems during its response, and free accounts registered between 13 and 16 October 2026 were removed. If yours was one, Rank Math has emailed you.
The plugin keeps working, and Rank Math says your SEO settings, metadata and content are unaffected. What stops until you recreate the account and reconnect the site is the Rank Math login, the Search Console and Analytics data shown inside Rank Math, the keyword rank tracker and the Rank Math AI features.
To fix it, register again at rankmath.com with the same email or social login, then in WordPress go to Rank Math SEO > Dashboard > Help, disconnect the account if it still shows as connected, and click Connect Now. If you use Content AI, then go to Rank Math SEO > Content AI > Usage and click Refresh.
For PRO sites that need a clean-up, I could not find a statement about settings in the notice, and I have not tested it. Ask your developer to save a copy of your current setup before anything is deleted.
When to get help#
Do the two-minute check yourself. If it comes back "not affected", you are done.
If it says you may be, or you cannot tell, ask your host first. Most hosts can restore a backup and check logs. A developer should do anything involving the database or server settings.
If your site was hit and you want someone to check the SEO side afterwards, I can help with a technical SEO check. Get in touch and tell me what happened.
This was not the only security problem in October. If your host also runs an old version of PHP, read my post on the PHP2Shell vulnerability and how to patch PHP.
Sources#
Every page below I opened on 4 November 2026. I read each one two ways (a direct fetch and a separate scrape), except where noted.
- Rank Math, "Rank Math PRO 3.0.123 Security Incident: How to Secure Your Website", incident notice published 16 October 2026 (primary): Rank Math incident page
- Rank Math, PRO changelog, entries for 3.0.123 (7 October 2026) and 3.0.124 (16 October 2026) (primary): Rank Math PRO changelog
- Wordfence, "PSA: Malware Found in Some Rank Math SEO PRO 3.0.123 Downloads", 16 October 2026 (secondary, and I could read this one only through the scrape, not the direct fetch): Wordfence PSA
- NIST National Vulnerability Database, CVE-2026-111862, published 19 October 2026 (secondary): NVD record
- SecurityWeek, "Rank Math PRO WordPress Plugin Compromised in Supply Chain Attack", 19 October 2026 (secondary): SecurityWeek article
- BleepingComputer, "WordPress SEO plugin Rank Math compromised to backdoor websites", 19 October 2026 (secondary): BleepingComputer article
- WordPress.org documentation, "Plugin and themes auto-updates" (undated page, secondary for my auto-update and email notes): WordPress.org auto-updates page
I have not seen a published count of how many sites were affected. Rank Math describes a "limited number" of users. The UK time conversion and the point about restores rolling back recent data are my own, not from a source.