Security Guides
Rank Math PRO 3.0.123 Shipped with Malware (October 2026): Who Is Affected and What WordPress Site Owners Should Do
For about 11 hours on October 15–16, 2026, Rank Math PRO 3.0.123, a paid WordPress SEO plugin, contained malware. Based on Rank Math's official notice: how to check whether you are affected, the recovery order if you activated it, which credentials to change, and how to get 3.0.124. The free version is not affected.
For: anyone running the paid WordPress SEO plugin Rank Math PRO, and agencies or maintainers who have installed it on client sites.
This article is based on Rank Math's official notice. It does not cover attack techniques, the malware's contents, or specific indicator-of-compromise (IoC) values. Check those on the company's notice page.
Developing: this article will be updated as the organisation publishes more
As of October 20, 2026Not yet known
- The number of affected users or sites (only 'a limited number' is stated)
- How the malware got into the distributed files
- What the company is doing to prevent a recurrence
- Whether Rank Math account data was affected
The company has not said whether it will publish a follow-up. The notice was published on October 16 (UTC) and updated on October 19 with a note that the free version is not affected. As of October 20 there has been no later change.
What Rank Math PRO users should do today
Step 1 is for everyone. The steps after that follow the company's guidance for sites that activated 3.0.123 obtained during the affected window. If you are not comfortable working with server files or databases, the company strongly recommends asking your hosting provider or a qualified security professional to do this.
Check whether you are affected: the version, when you got it, and whether you activated it
The company asks you to check the installed Rank Math PRO version under Plugins in the WordPress admin. The affected copies are 3.0.123 downloaded or updated during this window:
- UTC: October 15, 2026, 20:02 to October 16, 2026, 07:12
- Japan time: October 16, 2026, 5:02 to 16:12
The company gives different actions for each case.
| Your case | The company's guidance |
|---|---|
| Installed and activated 3.0.123 obtained during the affected window | Treat the site as compromised and recover it with step 2 onwards |
| Installed but never activated | Delete the plugin files, install 3.0.124, and run a security scan as a precaution |
| Downloaded only (not installed or activated) | No indication from this incident alone that the site was compromised |
| Not sure | Contact the company's support |
If you only use the free Rank Math SEO plugin from WordPress.org, you are not affected and need to do nothing.
If you activated it: restore from a backup taken before the window (the company's recommendation)
The company's recommended recovery is to restore both the site files and the database from a backup created before 20:02 UTC on October 15. In Japan time, that is a backup from before 5:02 on October 16.
After restoring, run a security scan, change credentials as in step 4, and install 3.0.124 last. If you are unsure how to restore a backup, the company suggests asking your hosting provider.
If you cannot restore: clean up by hand, in the order the company gives
According to the company, the malware can recreate its hidden backdoor (a way back in for the intruder) whenever someone visits the site. It therefore asks you to finish everything that stops it rebuilding itself before anything else, and only then look for other suspicious files. Done the other way round, files you removed may come back.
First (complete all of these before moving on):
- Using your hosting file manager or FTP, delete the entire Rank Math PRO plugin folder (rank-math-pro). Deactivating is not enough
- Delete the malicious entry in the database's options table, whose names the company lists
- If your host or firewall allows it, block outgoing connections to the domain the company lists
Second, look for other changes the intruder may have left. The company points to these places (the specific file names, name patterns and markers are on its notice page):
- Administrator accounts you do not recognise (the company has published the username and email patterns to look for)
- Suspicious PHP files in other plugins' folders, in themes, and in the folder for plugins WordPress always loads
- A file posing as part of WordPress core that does not belong there (the company names it)
- Rules added to
.htaccessthat let files run as PHP when they normally would not - Entries you did not add in the server's crontab and in WordPress scheduled events
- PHP files in the
uploads/folder; reinstall other plugins and themes from their official sources - Server side: SSH authorized keys, other users' crontabs, running processes, and places outside the site that the web server can write to
On shared hosting, if you cannot see the server-side items yourself, the company asks you to have your host check them. For a broader map of where to look, see how to check whether a site or server was compromised.
Even after a backup restore: change every credential the site could read
The company says this step is essential even if you restored from a backup. Assume any credentials and secrets the compromised site could reach were exposed, and replace them with new values:
- WordPress account passwords, and any other passwords the site could reach
- The database username and password in
wp-config.php - The security keys and salts in
wp-config.php(this site's note: regenerating them logs everyone out) - Payment gateway keys, SMTP credentials and other API keys (this site's note: reissue them in each service's dashboard and disable the old ones)
- Hosting control panel, FTP/SFTP and SSH passwords or keys, and any secrets kept in environment variables
- Two-factor authentication for administrator accounts, reset where needed
Update the site's settings and any connected services with the new values. If you are not sure which credentials to replace, the company suggests reviewing them with your host or a security professional. For handling API keys, see .env files and API keys.
Check that the site is clean, and keep watching for a few days
After the cleanup, the company asks you to:
- Run a scan with a reputable security tool such as a security plugin
- Run WP-CLI's
wp core verify-checksumsto confirm WordPress core files match the official release - Run
wp plugin verify-checksums --allfor plugin files. Premium plugins may not support this, so compare them with a clean copy from the official source - Watch outgoing connections and unusual activity over the following days, and check whether removed files reappear
If removed files come back or unusual activity continues, the cleanup may be incomplete. The company asks you to go back to the second part of step 3 and have your host or a security professional investigate.
Install 3.0.124 last: log in at rankmath.com yourself to download it
The clean version is Rank Math PRO v3.0.124. The company asks you to open rankmath.com directly, log in to your account and download it from your downloads.
The company says it will never send login or download links by email. Treat unsolicited emails asking you to click a password-reset or download link as suspicious. It also says some users may be unable to log in and may need to reset their account password. For telling fake emails apart, see what phishing is.
Activated 3.0.123 obtained during the affected window
Treat the site as compromised
↓→
1. Restore a backup from before the window
If you cannot: delete the folder, then look for other changes
Whichever route you took
Even after a backup restore
↓→
2. Change every credential
Database, salts, API keys, hosting, FTP/SSH
Installed but never activated
The files are still there
↓→
Delete the files and scan
Then install 3.0.124
Downloaded only, or free version only
No indication of compromise from this alone / not affected
↓→
3. Get 3.0.124 from rankmath.com
Never from an email link
For agencies and maintainers
If you have installed Rank Math PRO on client sites, list the sites where the plugin was updated between 20:02 UTC on October 15 and 07:12 UTC on October 16. In general, with plugin auto-updates turned on, 3.0.123 may have been installed during the window without anyone touching the site. A quick way to build the list is to check, for each site you manage, the Rank Math PRO version and the modification time of the plugin folder.
What happened (per Rank Math)
Everything below comes from Rank Math's knowledge base article "Rank Math PRO 3.0.123 Security Incident: How to Secure Your Website" (published October 16, 2026, updated October 19).
Oct 15, 20:02 UTC
From this time, some users who downloaded or updated to Rank Math PRO v3.0.123 are affected.Oct 16, 07:12 UTC
The affected window ends. The company says it immediately removed the affected files and released a clean v3.0.124 (the time of removal is not stated).Oct 16, 20:32 UTC
The company publishes the notice in its knowledge base.Oct 19
The notice is updated with a note that the free version on WordPress.org is not affected and needs no action.As of Oct 20
No later change.
- Affected
- "A limited number of users" who downloaded or updated to Rank Math PRO v3.0.123 between 20:02 UTC on October 15 and 07:12 UTC on October 16
- What happened
- The affected plugin files contained malware that could compromise the site if the plugin was activated
- What the malware does (as disclosed)
- It can recreate its hidden backdoor whenever the site is visited. The company says the intruder may have left additional files, accounts or server-level changes
- The company's response
- Immediately removed the affected files and released a clean v3.0.124. Says it is taking steps to reduce the risk of similar incidents
- Not affected
- The free Rank Math SEO plugin distributed on WordPress.org
- How to get the fix
- Log in at rankmath.com directly and download it. The company never sends login or download links by email
- Cause and numbers
- Not disclosed
- Support
- The support email address or support ticket listed on the notice page. The company asks you to include your Rank Math PRO version and the steps you have already taken
What is known and what is not
Status as of October 20, 2026. When there is a follow-up, the status column will be updated.
| Item | What the notice says | Status |
|---|---|---|
| Affected version | Rank Math PRO v3.0.123 | Confirmed (per the company) |
| Affected window | Downloads and updates between 20:02 UTC on Oct 15 and 07:12 UTC on Oct 16 | Confirmed (per the company) |
| Malware in the files | The affected plugin files contained malware | Confirmed (per the company) |
| Compromise of sites that activated it | Could be compromised; the company asks users to treat them as compromised | Possible (per the company) |
| Site credentials | The company asks users to assume secrets the site could reach were exposed, and change them | Possible (per the company) |
| Free version (WordPress.org) | Not affected; no action needed | Not included (per the company) |
| Downloaded only | No indication from this incident alone that the site was compromised | Not confirmed (per the company) |
| Number of affected users or sites | Only "a limited number of users" | Not stated |
| How the malware got into the files | Not stated in the notice | Not stated |
| Measures against recurrence | The company says it is taking steps, without describing them | Not stated |
| Rank Math account data | Some users may need to reset their account password to log in; the reason and any effect on account data are not stated | Not stated |
| 3.0.123 obtained outside the window | The notice covers only copies obtained within the window and says nothing about others (the company's PRO changelog dates 3.0.123 to October 7) | Not stated |
How to read this: even if the number is small, decide by version and timing
The company describes the affected group as "a limited number of users" but gives no figure, and this site does not publish guesses. Decide whether you are affected by whether you obtained 3.0.123 within the window and activated those files, not by the number.
The company's notice names specific security products as examples of scanning tools; as a matter of policy, this site names only the organisation that disclosed the incident.
What can happen when malware gets into a plugin's distributed files
What follows is true in general; it does not mean these things happened in this case. What the company has disclosed about this malware is in "What happened" above.
A WordPress plugin runs with the same permissions as the site. Once activated, it can read and write the database, the credentials in wp-config.php and other files on the server. So when the distributed package itself contains malicious code, no amount of admin password strength on the site owner's side prevents the intrusion.
What sets this apart from password reuse or an old plugin vulnerability is that the problem arrives through a trusted source installed in the normal way. Similar cases with developer tools are the Trivy supply chain compromise and the TanStack and Nx Console incidents. In both, malicious contents were distributed under legitimate version names, and users had to replace their credentials.
What site owners can review: from the published facts
The company has not disclosed the cause, so this section does not say how the distributor should have prevented it, and it does not judge the company's response. It sticks to three points from the published facts that help users prepare for the next incident.
Keep backups going back several days
This time, the company's preferred recovery was "restore from a backup taken before the window". But if your backups keep only one generation, a backup taken on the evening of October 16 overwrites the last clean state. If you noticed a day or more after the notice, there may be nothing clean left to restore.
As a first step, check that daily backups are kept for at least seven days and stored somewhere other than the site (outside your hosting account), and that they include both the database and the files. See backup and recovery essentials.
Keep a clean copy of each premium plugin version you install
For checking plugin files after a cleanup, the company notes that checksum verification may not be available for premium plugins, and suggests comparing with a clean copy from the official source instead. Unlike plugins distributed on WordPress.org, premium plugins may have no such verification.
If you save the ZIP file you downloaded from the vendor for each version you install, you can later check whether the files on the server are the same as the ones you installed. For hardening WordPress overall, see WordPress security.
List the secrets on your site, on the assumption you will change them
The credentials the company asks users to change cover the database, salts, payments, email sending, the hosting panel, FTP and SSH. Starting the search only after a compromise is found leads to missed ones.
Keep one page per site listing which secret is stored where and in which dashboard it is reissued, so that on a day like this you can change them in order. The same list helps when your hosting provider itself is breached (what to do when your hosting provider is breached).
Sources (public record)
The facts in this article come from the public information below. The malware's contents, the domains it contacts and specific indicator values are not reproduced.
- Rank Math, "Rank Math PRO 3.0.123 Security Incident: How to Secure Your Website" (published October 16, 2026, updated October 19) — rankmath.com
- Rank Math, "PRO Changelog" (checked October 20, 2026; v3.0.124 dated October 16, v3.0.123 dated October 7) — rankmath.com
Update history
2026-10-20: First version, based on Rank Math's notice as updated on October 19. It will be updated when the cause or numbers are published.
Read next
- Checking your own site: How to check whether a site or server was compromised (shared hosting, WordPress, VPS)
- Hardening WordPress: WordPress security
- Preparation: Backup and recovery essentials / Choosing multi-factor authentication
- When the provider is breached: What to do when your hosting provider is breached
- Terms: What a backdoor is / What malware is
- Other 2026 incidents: Data breaches and cyberattacks in 2026
FAQ
QWhich version of Rank Math PRO is affected?
According to Rank Math, the affected version is Rank Math PRO v3.0.123, for users who downloaded or updated to it between 20:02 UTC on October 15, 2026 and 07:12 UTC on October 16, 2026. The clean version is v3.0.124. The free Rank Math SEO plugin on WordPress.org is not affected, and its users need to do nothing.
QHow do I check whether my site is affected?
The company says to start by checking the installed Rank Math PRO version under Plugins in the WordPress admin. If you installed and activated a copy of 3.0.123 obtained during the affected window, treat the site as compromised and recover it. If you installed it but never activated it, delete the plugin files, install 3.0.124 and run a security scan as a precaution. If you only downloaded it and did not install or activate it, there is no indication from this incident alone that your site was compromised. If you are unsure, the company asks you to contact its support.
QIs deactivating the plugin enough?
No. The company asks you to delete the entire Rank Math PRO plugin folder (rank-math-pro) and says deactivating alone is not sufficient. Because the malware can recreate its hidden backdoor whenever the site is visited, the company sets an order: finish the steps that stop it rebuilding itself first, and only then look for other suspicious files.
QIf I restore from a backup, do I still need to change passwords?
Yes. The company says changing credentials is essential even if you restore from a backup. That covers WordPress account passwords, the database credentials in wp-config.php, the WordPress security keys and salts, payment gateway keys, SMTP credentials and other API keys, and the hosting control panel, FTP/SFTP and SSH credentials. It also asks you to review two-factor authentication for administrator accounts.
QWhat caused it, and how many sites were affected?
As of October 20, neither has been disclosed. The company describes the affected group as 'a limited number of users' but gives no number, and does not say how the malware got into the distributed files. It says it is taking steps to reduce the risk of similar incidents, without describing them.
QWhat if I get an email from 'Rank Math' with a download link?
Do not open it. The company says it will never send login or download links by email, and asks users to treat unsolicited emails asking them to click a password-reset or download link as suspicious. Get 3.0.124 by opening rankmath.com yourself, logging in and going to your downloads. The company notes that some users may be unable to log in and may need to reset their account password.