Attackers are going after a critical flaw in WP Rocket, one of the most widely used performance plugins for WordPress. The bug is tracked as CVE-2026-125812 and lets an attacker with no login run code on a vulnerable site. It is fixed in WP Rocket 3.24.2, which The Hacker News says was released on Nov. 19, 2026. Automated exploitation has been running for about a week, and Patchstack and Wordfence both report blocking attempts.
The flaw does not affect every WP Rocket install. Patchstack says a site is exposed only if it has one of two optional features turned on. Both features are popular page-speed settings, though, and installing the update does not undo a compromise that has already happened. Site owners need to patch and then check for files an attacker may have left behind.
What the flaw is
The vulnerability database run by WordPress security firm Patchstack lists the bug as an unauthenticated remote code execution (RCE) flaw in WP Rocket versions before 3.24.2. Unauthenticated means the attacker needs no account on the site. RCE means the attacker can make the server run code they choose, which in practice gives them control of the website. Patchstack rates it 9.8 out of 10 on the Common Vulnerability Scoring System (CVSS), the industry's standard severity scale. Its entry was published on Nov. 23, 2026, and is marked "Known to be exploited!"
The official CVE record names Patchstack as the CVE Numbering Authority, the organization that assigned the ID. It lists Nov. 23 as the public date and uses the title "WordPress WP Rocket plugin < 3.24.2 - Remote Code Execution (RCE) vulnerability." The National Vulnerability Database (NVD) published its record on Nov. 25. It carries a CVSS 3.1 base score of 9.8, rated Critical, with the vector AV:N/AC:L/PR:N/UI:N; the score is supplied by Patchstack as a secondary source rather than by NVD's own analysts. In plain terms, an attacker can exploit it over the network, with little effort, without any privileges and without a user clicking anything.
The GitHub Advisory Database entry (GHSA-hgwq-x88p-q8gj), which is marked unreviewed, gives the underlying weakness as path traversal, which it describes as "Improper Limitation of a Pathname to a Restricted Directory." Path traversal is a class of bug where an application can be tricked into reading or writing files outside the folder it is supposed to stay in. According to Patchstack's account as reported by The Hacker News, the flaw lets unauthenticated attackers write and execute PHP code on affected sites. ZeroDayFeed will not describe the exploit mechanics beyond that.
Neither the GitHub advisory nor the NVD record mentions active exploitation or the two settings that create the exposure. Those details come from Patchstack and from The Hacker News.
Only sites with two settings turned on are exposed
The Hacker News quoted Patchstack researcher Dave Jong, who said the flaw affects WP Rocket versions before 3.24.2 on sites with either of two options turned on:
- LazyLoad for CSS background images, which delays loading background images defined in stylesheets until a visitor scrolls to them.
- Host Fonts Locally, which hosts Google Fonts on the site's own server so they do not load from a third party.
Patchstack says both options are off by default, "but both are common on performance-tuned sites." That shrinks the pool of vulnerable sites, but not by as much as "off by default" might suggest. These are the kinds of settings site owners, agencies and performance consultants turn on to improve page-speed scores.
The total install base is large. According to The Hacker News, citing WP Rocket's website, the premium plugin is used on more than 5.5 million WordPress sites and by over 386,000 customers worldwide. Because it is a paid plugin, owners should confirm that their license and update mechanism are actually delivering 3.24.2 rather than assume the update arrived.
Exploitation started within days
According to Patchstack, as reported by The Hacker News, the first exploitation attempt was recorded on Nov. 25, 2026, at 3:27 p.m. UTC, aimed at WP Rocket's measurement endpoint. That was two days after the Patchstack entry went public. The activity then escalated into large-scale, automated efforts, with tens of thousands of attempts blocked on Nov. 26 alone. Wordfence, another WordPress security vendor, said in its own advisory that it had blocked 135 attacks targeting this vulnerability in the previous 24 hours.
Mass scanning shortly after disclosure is common for high-severity WordPress plugin bugs. Attackers can send attempts to every WordPress site they find and keep the ones that work, so a small or mid-sized site should assume it may already have been probed.
The sources do not attribute the activity to any named group or country.
What It Means for Defenders
Who is affected: Any WordPress site running WP Rocket earlier than 3.24.2 with LazyLoad for CSS background images or Host Fonts Locally enabled. If you manage client sites, inventory them now, including which of these two options each one uses.
Patch: Update WP Rocket to 3.24.2 or later, which is the fixed version listed in the Patchstack, CVE and GitHub records. If you cannot update right away, turning off both optimizations should remove the precondition Patchstack described, though that is only a stopgap and does nothing for a site that has already been compromised. Patchstack says it has issued a mitigation rule for customers of its protection service.
Check for compromise. Do not skip this step. Patchstack said, as quoted by The Hacker News: "The update stops new attacks, but it does not remove files an attacker already planted." A site that was exploited before the patch can stay backdoored after it. Patchstack listed these indicators:
- Unexpected PHP files named
wp-media-*.phpinwp-content/wp-rocket-config/,wp-content/uploads/, or directly inwp-content/. Compare anything you find against a clean copy of the plugin and your own backups. - Web server log entries for
rocket_beaconrequests from clients that never loaded the page they report on. Review historical logs, starting from Nov. 25, the date of the first recorded attempt. - Outbound requests from the web server to unfamiliar hosts,
nip.iodomains, temporarytrycloudflare.comtunnels, or other possibly compromised WordPress sites.
If you find evidence of compromise: Handle it as a full site compromise, not as one bad file. Remove the planted files, but because the attacker could run arbitrary PHP, assume they may also have read wp-config.php. That means rotating the database password, the WordPress salts and keys, and any API keys or SMTP credentials stored on the site. Also review the admin user list for accounts you did not create, and restore from a known-good backup taken before Nov. 25 if you have one. Hosting providers and agencies should check other sites that share the same server account.
For compliance-minded shops: Organizations working toward CMMC or similar frameworks often treat a public marketing site as out of scope. If that site shares hosting, credentials or a single sign-on setup with anything in scope, a compromise like this one deserves a proper incident record and a check with your compliance lead about reporting obligations. It should not be handled as a quiet cleanup.
The bigger lesson
According to Patchstack, this flaw is reachable only through two optional features. Every performance or convenience toggle that makes a plugin handle files, fonts or remote content adds code an attacker can reach. "Off by default" is a good design choice, but it protects only sites that leave the default alone. When you turn on a feature, you take on its risk too. Keep an inventory of which non-default features are enabled across your sites so that the next advisory takes minutes to triage, not hours.
Sources
- Patchstack vulnerability database: WP Rocket < 3.24.2 Remote Code Execution
- The Hacker News: Hackers Target Critical WP Rocket Flaw Allowing Unauthenticated Remote Code Execution
- GitHub Advisory GHSA-hgwq-x88p-q8gj (CVE-2026-125812): WP Media WP Rocket path traversal
- NVD record for CVE-2026-125812 (read via the NVD CVE API)
- CVE.org record for CVE-2026-125812 (read via the CVE Services API)