{
    "title": "Rank Math PRO hacked: version 3.0.123 shipped with a backdoor",
    "seo_title": "Rank Math PRO 3.0.123 backdoor: check and clean your site",
    "h1": "Rank Math PRO hacked: version 3.0.123 shipped with a backdoor",
    "description": "Copies of Rank Math PRO 3.0.123 served on October 15 and 16, 2026 contained malware. Who is affected, official IoCs and security cleanup steps.",
    "lead": "For eleven hours, trojanized copies of Rank Math PRO 3.0.123 were distributed by the developer. How to tell whether your site is affected, the published indicators and the cleanup order to follow.",
    "language": "en",
    "locale": "en-US",
    "type": "article",
    "url": "https://www.wp-feint.com/rank-math-pro-3-0-123-backdoor/",
    "canonical": "https://www.wp-feint.com/rank-math-pro-3-0-123-backdoor/",
    "markdown": "https://www.wp-feint.com/rank-math-pro-3-0-123-backdoor/index.md",
    "json": "https://www.wp-feint.com/rank-math-pro-3-0-123-backdoor/index.json",
    "published": "2026-10-20T12:00:00+00:00",
    "modified": "2026-11-22T12:12:26+00:00",
    "site": {
        "name": "WP Feint",
        "url": "https://www.wp-feint.com/"
    },
    "translations": [
        {
            "language": "en",
            "hreflang": "en-US",
            "title": "Rank Math PRO hacked: version 3.0.123 shipped with a backdoor",
            "url": "https://www.wp-feint.com/rank-math-pro-3-0-123-backdoor/",
            "markdown": "https://www.wp-feint.com/rank-math-pro-3-0-123-backdoor/index.md",
            "json": "https://www.wp-feint.com/rank-math-pro-3-0-123-backdoor/index.json"
        },
        {
            "language": "fr",
            "hreflang": "fr-FR",
            "title": "Rank Math PRO piégé : la version 3.0.123 contenait une porte dérobée",
            "url": "https://www.wp-feint.com/fr/rank-math-pro-3-0-123-porte-derobee/",
            "markdown": "https://www.wp-feint.com/fr/rank-math-pro-3-0-123-porte-derobee/index.md",
            "json": "https://www.wp-feint.com/fr/rank-math-pro-3-0-123-porte-derobee/index.json"
        },
        {
            "language": "es",
            "hreflang": "es-ES",
            "title": "Puerta trasera en Rank Math PRO: la versión 3.0.123 venía manipulada",
            "url": "https://www.wp-feint.com/es/rank-math-pro-3-0-123-puerta-trasera/",
            "markdown": "https://www.wp-feint.com/es/rank-math-pro-3-0-123-puerta-trasera/index.md",
            "json": "https://www.wp-feint.com/es/rank-math-pro-3-0-123-puerta-trasera/index.json"
        },
        {
            "language": "de",
            "hreflang": "de-DE",
            "title": "Rank Math PRO gehackt: Version 3.0.123 enthielt eine Hintertür",
            "url": "https://www.wp-feint.com/de/rank-math-pro-3-0-123-hintertuer/",
            "markdown": "https://www.wp-feint.com/de/rank-math-pro-3-0-123-hintertuer/index.md",
            "json": "https://www.wp-feint.com/de/rank-math-pro-3-0-123-hintertuer/index.json"
        },
        {
            "language": "it",
            "hreflang": "it-IT",
            "title": "Rank Math PRO compromesso: la versione 3.0.123 conteneva una backdoor",
            "url": "https://www.wp-feint.com/it/rank-math-pro-3-0-123-compromesso-backdoor/",
            "markdown": "https://www.wp-feint.com/it/rank-math-pro-3-0-123-compromesso-backdoor/index.md",
            "json": "https://www.wp-feint.com/it/rank-math-pro-3-0-123-compromesso-backdoor/index.json"
        },
        {
            "language": "pt",
            "hreflang": "pt-BR",
            "title": "Rank Math PRO adulterado: a versão 3.0.123 trazia um backdoor",
            "url": "https://www.wp-feint.com/pt/rank-math-pro-3-0-123-backdoor-invasao/",
            "markdown": "https://www.wp-feint.com/pt/rank-math-pro-3-0-123-backdoor-invasao/index.md",
            "json": "https://www.wp-feint.com/pt/rank-math-pro-3-0-123-backdoor-invasao/index.json"
        },
        {
            "language": "nl",
            "hreflang": "nl-NL",
            "title": "Rank Math PRO gehackt: versie 3.0.123 bevatte een achterdeur",
            "url": "https://www.wp-feint.com/nl/rank-math-pro-3-0-123-achterdeur/",
            "markdown": "https://www.wp-feint.com/nl/rank-math-pro-3-0-123-achterdeur/index.md",
            "json": "https://www.wp-feint.com/nl/rank-math-pro-3-0-123-achterdeur/index.json"
        }
    ],
    "headings": [
        {
            "level": 1,
            "text": "Rank Math PRO hacked: version 3.0.123 shipped with a backdoor"
        },
        {
            "level": 2,
            "text": "What happened"
        },
        {
            "level": 2,
            "text": "Who is affected"
        },
        {
            "level": 2,
            "text": "How this backdoor works"
        },
        {
            "level": 2,
            "text": "Indicators of compromise: checking your site"
        },
        {
            "level": 3,
            "text": "In WordPress"
        },
        {
            "level": 3,
            "text": "On the server"
        },
        {
            "level": 2,
            "text": "What to do now"
        },
        {
            "level": 2,
            "text": "Reducing exposure next time"
        },
        {
            "level": 3,
            "text": "Key takeaways"
        },
        {
            "level": 2,
            "text": "Sources"
        }
    ],
    "body": "For about eleven hours on October 15 and 16, 2026, copies of Rank Math PRO 3.0.123 served by the developer contained malware. If you use the paid version, check when this version reached your sites: if it was activated during that window, the site must be treated as hacked. Here is what is known as of October 20, the traces to look for and the order in which to clean up.\n\n## What happened\n\nRank Math released version 3.0.123 of its PRO plugin on October 7, 2026: an ordinary update. The problem comes from packages served a week later under the same version number.\n\n- **October 14, 7:31 p.m. UTC** (9:31 p.m. in Paris): the domain `rank1cdn.com`, which the developer now asks users to block, is registered, according to Verisign's RDAP registry.\n- **October 15, 8:02 p.m. UTC** (10:02 p.m. in Paris): start of the period during which trojanized copies of 3.0.123 are distributed, by download from rankmath.com or by update.\n- **October 16, 7:12 a.m. UTC** (9:12 a.m. in Paris): end of that period.\n- **October 16**: Rank Math removes the affected files and releases the clean version 3.0.124. Its security advisory goes online at 8:32 p.m. UTC; the developer says it has notified the affected customers.\n- **October 17**: alerts from Wordfence and Patchstack, [CVSS score](https://www.wp-feint.com/glossary/cvss/) of 9.8 out of 10.\n- **October 19**: Wordfence publishes the CVE-2026-111862 record (\"embedded [malicious code](https://www.wp-feint.com/glossary/malware/)\", CWE-506); the security press picks up the story.\n\n![Timeline of the Rank Math PRO incident: version 3.0.123 released on October 7, 2026, domain rank1cdn.com registered on October 14 at 7:31 p.m. UTC, trojanized copies distributed from October 15 at 8:02 p.m. to October 16 at 7:12 a.m. UTC, clean version 3.0.124 and Rank Math advisory on October 16, Wordfence and Patchstack advisories on October 17, CVE-2026-111862 published on October 19](https://www.wp-feint.com/media/2026/10/deroule-rank-math-pro-en.webp)\n\nRank Math has not explained how the files got into its distribution system, nor how many customers received a trojanized copy; BleepingComputer did not get an answer on these points. No perpetrator has been named.\n\n## Who is affected\n\nOnly the paid plugin is involved: it is downloaded and updated from rankmath.com, not from wordpress.org. The free Rank Math SEO plugin, which has more than 4 million active installations (wordpress.org), is not affected according to the developer. The number of PRO installations is not public.\n\n| Item | Details |\n| --- | --- |\n| Product | Rank Math SEO PRO (folder `rank-math-pro`) |\n| Affected version | 3.0.123, only copies obtained from October 15, 8:02 p.m. to October 16, 7:12 a.m. UTC |\n| Clean version | 3.0.124 (October 16, 2026) |\n| Identifier | CVE-2026-111862 (CWE-506, embedded malicious code) |\n| Severity | 9.8 out of 10, critical (Wordfence and Patchstack) |\n| Account required for the attacker | None: the code ships with the plugin |\n| Condition | Plugin activated on the site |\n| Free version (wordpress.org) | Not affected according to Rank Math |\n\n*Incident summary based on Rank Math, Wordfence, Patchstack and cve.org.*\n\nShowing 3.0.123 proves nothing: a copy obtained before October 15 at 8:02 p.m. UTC is clean. Only the download or installation date matters. The developer distinguishes three cases.\n\n| Your situation during the window | What Rank Math says | What to do |\n| --- | --- | --- |\n| 3.0.123 installed and activated | Site to be considered compromised | Restore or fully clean up, then change every secret |\n| 3.0.123 installed, never activated | No compromise reported | Delete the files, install 3.0.124, run a scan |\n| 3.0.123 downloaded, neither installed nor activated | Nothing indicates a compromise | Delete the archive, use 3.0.124 |\n\n*The three cases described in Rank Math's advisory of October 16, 2026.*\n\nRank Math says it knows which accounts received a trojanized copy: if it has written to you, follow its procedure, even if the site is already on 3.0.124.\n\n## How this backdoor works\n\nThis is a [supply chain attack](https://www.wp-feint.com/glossary/supply-chain-attack/): the attacker slips their code into software you install in good faith, from the official source. As Patchstack notes, no firewall rule can stand in the way: the code is part of the plugin.\n\n![Five-step attack chain: trojanized copy of 3.0.123 downloaded or installed by update during the window, plugin activation, foothold through three wp_options entries, a fake core file and .cache files executed as PHP, persistence through a backdoor recreated on every visit, wpsupport_ accounts and a #ms6v46 cron job, then communication with rank1cdn.com and exposure of passwords and keys](https://www.wp-feint.com/media/2026/10/mecanisme-rank-math-pro-en.webp)\n\nAccording to Rank Math's advisory, as summarized by Wordfence, the code runs when the plugin is activated. It can then:\n\n- gain a foothold in the database (three `wp_options` entries) and **recreate a hidden backdoor on every visit**;\n- drop PHP files elsewhere: in `wp-content/mu-plugins/`, in other plugins or themes, and a fake core file;\n- modify `.htaccess` so that `.cache` files are executed as PHP;\n- create administrator accounts and scheduled tasks, including at the system level;\n- communicate with `rank1cdn.com` and expose any secret readable by the server: passwords, database, API keys.\n\nThis rebuilding mechanism is what makes updating insufficient. Installing 3.0.124 replaces the plugin folder, but not the files, accounts and tasks dropped elsewhere. And deleting a suspicious file before neutralizing the database entries may be pointless: it comes back on the next visit.\n\n## Indicators of compromise: checking your site\n\nThe indicators below are those published by Rank Math and relayed by Wordfence. Their presence must be investigated; their absence, Wordfence warns, does not on its own prove that the site is clean.\n\n### In WordPress\n\n- Entries `_uf6qdn2hmm`, `t8krdk990phb` or `_np5pvf754c` in the `wp_options` table.\n- Unknown administrators whose username starts with `wpsupport_`, or whose email address ends in `@wp-mail.net`.\n- A `wp-includes/class-wp-cache-util.php` file: it is not a WordPress file.\n- Unexpected PHP files in `wp-content/mu-plugins/`, in other plugins' folders, in the `inc/`, `includes/` and `lib/` folders of non-default themes, in Rank Math's `includes/` folder and in `uploads/`.\n- PHP code that combines `base64_decode` and XOR loops, contains the key `xmmqhn`, calls `proc_open` or talks to the PHP-FPM socket.\n\nWith WP-CLI, from the site root:\n\n```\nwp plugin list --fields=name,version,status\nwp db query \"SELECT option_name FROM $(wp db prefix)options WHERE option_name IN ('_uf6qdn2hmm','t8krdk990phb','_np5pvf754c')\"\nwp user list --role=administrator --fields=ID,user_login,user_email,user_registered\nwp core verify-checksums\nwp cron event list\ngrep -rl \"xmmqhn\" wp-content wp-includes\nfind wp-content -name \"*.php\" -newermt \"2026-10-15 20:00\"\n```\n\nThe `wp core verify-checksums` command flags extra files in `wp-includes`, including the fake core file. The date in the `find` command follows the server's time zone. `wp plugin verify-checksums` only works for plugins published on wordpress.org: there are no public checksums for Rank Math PRO, which you need to compare with a clean copy downloaded from your account.\n\n### On the server\n\n- Outbound connections to `rank1cdn.com` (firewall or hosting provider logs).\n- Rules in an `.htaccess` file, at the root or in a subfolder, that make `.cache` files run as PHP, and `.cache` files containing PHP.\n- Scheduled tasks of the web server user carrying the `#ms6v46` marker (`crontab -l`), other users' crontabs, SSH keys added to `authorized_keys`, unknown processes.\n\n## What to do now\n\nIf a trojanized copy was activated, Rank Math first recommends **restoring the files and the database from a backup made before October 15, 2026, 8:02 p.m. UTC**, then scanning the site, changing every credential and only then installing 3.0.124. Without a clean backup, manual cleanup follows a precise order:\n\n1. Delete the `wp-content/plugins/rank-math-pro` folder entirely (deactivating it is not enough).\n2. Delete the three `wp_options` entries listed above, for example with `wp option delete _np5pvf754c`.\n3. Block outbound connections to `rank1cdn.com` if your hosting provider or firewall allows it.\n4. Only then delete the other files, accounts and tasks listed above, and reinstall WordPress, plugins and themes from trusted sources.\n5. Change every secret, even after a restore: WordPress passwords, database credentials and the security keys in `wp-config.php` (`wp config shuffle-salts`), application passwords, API keys (payment, email sending), hosting, FTP, SFTP and SSH access, then review two-factor authentication for administrators.\n6. Install 3.0.124 by logging in directly at rankmath.com: the developer never sends download links by email.\n7. Keep monitoring the site: if deleted files reappear, the cleanup is incomplete.\n\nKeep a copy of the compromised site for analysis first. Our [procedure for cleaning up a hacked WordPress site](https://www.wp-feint.com/clean-hacked-wordpress-site/) details each step; if needed, hand the job over to your hosting provider or a specialist.\n\n## Reducing exposure next time\n\nSmart Slider 3 Pro in April and ShapedPlugin's Pro plugins in June were already trojanized through their developer's update channel (see these supply chain attacks). A few habits limit the damage:\n\n- **Updates**: keep security patches automatic, but for a mere maintenance release of a premium plugin, a delay of a few days gives an incident time to be detected (see our automatic update strategies).\n- **Monitoring**: follow the advisories of the developers of your paid plugins and vulnerability alerts for all your sites.\n- **Least privilege**: few administrators, all with named accounts, so an intruder stands out quickly (roles and least privilege).\n- **Backups**: daily, off the server, covering several weeks; that is the recovery method recommended here.\n- **Firewall**: a WAF and virtual patching protect against vulnerabilities exploited from outside, not against code shipped inside a plugin; filtering outbound connections, on the other hand, can cut the channel to a domain like `rank1cdn.com`.\n\nWP Feint Pro helps with some of these points, within limits. Its [vulnerability alerts](https://www.wp-feint.com/features/vulnerable-plugin-alerts/) compare installed versions with the WPVulnerability.net database every day and notify you by [email](https://www.wp-feint.com/features/email-alerts/), but only for wordpress.org plugins and themes: Rank Math PRO is not checked, and a backdoor is only reported once it is listed in a database. The [integrity check](https://www.wp-feint.com/features/wordpress-integrity-check/) only monitors WordPress core; it would, however, have flagged an unknown PHP file such as `wp-includes/class-wp-cache-util.php`.\n\nThe [activity log](https://www.wp-feint.com/features/administrator-activity-log/) records accounts created, roles changed and plugins installed or updated, which helps date the installation of 3.0.123; it only starts when it is activated and does not see what bypasses WordPress. Finally, the member area brings together the [pending updates and vulnerable sites](https://www.wp-feint.com/features/#surveillance) of all your sites. WP Feint alerts: it does not fix anything and replaces neither a firewall nor a backup. For context, see also the [full history of Rank Math vulnerabilities](https://www.wp-feint.com/rank-math-security-vulnerabilities/).\n\n### Key takeaways\n\n- Trojanized copies of Rank Math PRO 3.0.123 were distributed from October 15, 8:02 p.m. to October 16, 7:12 a.m. UTC; the free version is not affected.\n- The version number is not enough: what matters is the download or update date.\n- Plugin activated during the window: the site is compromised; restore a backup from before October 15 or clean up in the order given by the developer.\n- Moving to 3.0.124 does not remove files, accounts and tasks already dropped.\n- Change every secret on the site, even after a restore.\n\n## Sources\n\n- Rank Math: Changelog, Rank Math PRO v3.0.124 (October 16, 2026) (https://rankmath.com/changelog/)\n- CVE.org: CVE-2026-111862, Rank Math SEO PRO 3.0.123, Unauthenticated Embedded Malicious Code (October 19, 2026) (https://www.cve.org/CVERecord?id=CVE-2026-111862)\n- WordPress.org: Rank Math SEO (free plugin) (https://wordpress.org/plugins/seo-by-rank-math/)\n- WP-CLI: wp core verify-checksums (https://developer.wordpress.org/cli/commands/core/verify-checksums/)\n\nOther sources consulted: official vendor pages, trade press articles, Wordfence and Patchstack databases.",
    "categories": [
        "Vulnerable plugins"
    ],
    "format": "application/json"
}