Blog Cybersecurity
WP Rocket Flaw CVE-2026-125812 Exploited: Update to 3.24.2
On this page· 7 sections
WP Rocket flaw CVE-2026-125812 lets an attacker run code on a WordPress server without logging in to any account. It carries a CVSS score of 9.8 out of 10. Patchstack recorded the first exploitation attempt on November 25, 2026, and automated campaigns followed within a day. The fix is in WP Rocket 3.24.2.
WP Rocket is a paid caching plugin from WP Media that speeds up WordPress sites. Patchstack’s page for the plugin shows a figure of more than 5.5 million, while IT-Connect puts it at more than 5.6 million sites. The plugin is common on news sites, company sites, and online stores.
The CVE-2026-125812 flaw in WP Rocket
According to Patchstack’s write-up, published on November 27, 2026, WP Rocket runs a small measurement script in each visitor’s browser. The script reports page data, including a set of URLs, to a public address on the site. WP Rocket uses those reports to optimize the page.
Before version 3.24.2, the URLs in those reports were not validated strictly enough. An attacker can send a forged report that points to a server under their control. The target site then downloads a file from that server and saves it as a PHP file, which can run with WordPress’s privileges.
The attack request is a POST to /wp-admin/admin-ajax.php with action=rocket_beacon. That address is open to every visitor, so an attacker needs no username, no password, and no action from a site administrator.
Patchstack, the body that issued this CVE, assigned the 9.8 score on the CVSS 3.1 scale and classed the weakness as path traversal (CWE-22), meaning a file is written to a location it should not reach. Tuskira notes that NVD has not added its own score and that the flaw was not in the CISA KEV catalog as of November 27. Patchstack’s database already labels it as known to be exploited.

Affected versions and the two trigger features
The two primary sources give different version ranges. WP Rocket’s advisory lists versions 3.15 through 3.24.1. Patchstack lists every version before 3.24.2. Both agree that version 3.24.2, released on November 19, 2026, contains the fix.
The flaw can be used only when at least one of two features is switched on:
- LazyLoad for CSS background images, which delays loading of CSS background images.
- Self-host Google Fonts, which stores Google fonts on the site’s own server. Patchstack calls this feature “Host Fonts Locally”.
Both are off by default. Patchstack notes that they are common on sites tuned for performance, such as online stores chasing a better page speed score.
IT-Connect also cites researchers at ZeroPath, who could not confirm which configurations are exposed. In their view, the version number is the only reliable criterion. The safest position is to treat any WP Rocket install below 3.24.2 as due for an update, whatever its settings.
From private report to automated attacks
A researcher named Vorelito reported the flaw through Patchstack’s bug bounty program on November 4, 2026. WP Media shipped the fix 15 days later. The WP Rocket changelog for version 3.24.2 has a single security line, about improved validation of cached CSS, font, and preconnect files.

Patchstack’s database disclosed the flaw on November 23. Two days later the CVE record was published and proof-of-concept code appeared on GitHub.
On the same day, November 25 at 15:27 UTC, Patchstack logged the first exploitation attempt. The first attacker tested a handful of sites by hand and retried with encoded variants after being blocked. Within a day the activity had turned into automated campaigns. Patchstack blocked tens of thousands of attempts on November 26 alone.
What the attack traffic looks like
Patchstack sees several operators working independently. Some send the same payload to many sites at once, and others first check whether a target is vulnerable. The malicious files are hosted on bare IP addresses, DNS names such as nip.io, temporary trycloudflare.com tunnels, and other WordPress sites that have probably been compromised.
The ten most active IP addresses account for roughly half of all blocked attempts. Three of them are registered to Indonesian internet and hosting networks, according to Patchstack’s table. A source address of this kind says little about where an attacker is located, since automated campaigns usually run from rented or hijacked servers. For local hosting providers, the data is still a reason to review outbound traffic from their own machines.
How to check your site
Start with the version number. Open the Plugins menu in the WordPress dashboard and read the installed WP Rocket version. Administrators who use WP-CLI can run wp plugin get wp-rocket --field=version. Version 3.24.2 or later is safe from this attack path.
If the version is older, look at the two trigger features under WP Rocket > Page Optimization > Image & Media. On versions before 3.24 they sit in the Media tab. A site that ran a vulnerable version with either feature on needs a closer look.
Patchstack lists three traces worth searching for:
- Unexpected PHP files in
wp-content/wp-rocket-config/,wp-content/uploads/, or directly inwp-content/. One example filename pattern iswp-media-*.php. - Outbound connections from the web server to unfamiliar hosts, nip.io names, or trycloudflare.com tunnels.
rocket_beaconrequests in the access log from clients that never loaded the page they report on.
The update stops new attacks, but files that were already planted stay on the server. WP Rocket makes the same point in its advisory: “Any files or accounts an attacker already created require separate investigation.”
What this means for WordPress site owners
WP Rocket’s advisory, last updated on November 27, sets out a clear order of work. The steps differ for sites with an active license and sites whose license has lapsed.

Active license. Go to Plugins, find WP Rocket, and select Update now. Confirm that the installed version is 3.24.2 or later. As of November 26, the newest version in the changelog is 3.24.3.
Expired license, or no update window yet. Updates require an active license, and the plugin keeps working after a license lapses, which leaves many sites on old versions. In that case, turn off LazyLoad for CSS background images and Self-host Google Fonts, save, and confirm that both are off. WP Rocket says this closes the documented attack paths immediately. Keep both off until 3.24.2 is installed.
Many sites at once. WP Rocket offers a helper plugin called “WP Rocket | Mitigate CVE-2026-125812” that disables both features. Agencies and hosting providers can deploy it through WP-CLI with wp plugin install ./wp-rocket-mitigate-cve-2026-125812.zip --activate. On multisite installs, the helper is activated on each affected subsite.
Sites that were exposed. Ask the hosting provider or a security team to look for signs of compromise. InstaWP’s guide recommends restoring from a backup taken before November 25 if a suspicious PHP file turns up, then updating WP Rocket, changing administrator passwords, and rotating the WordPress salts.
Store owners and institutions whose sites are run by a contractor can keep their questions to three: the installed WP Rocket version, the state of the two trigger features, and the result of the file check. Organizations with no inventory of plugins and license status can start one with this incident. That kind of work is part of Merakit’s cybersecurity services and ongoing web development maintenance.
A similar pattern appeared with the WordPress update flaw CVE-2026-119977, which came under attack shortly after its fix shipped on October 28, 2026. The gap between a public advisory and automated exploitation is now measured in days.
Frequently asked questions
Is every site that uses WP Rocket affected?
No. According to WP Rocket, affected sites run versions 3.15 through 3.24.1 with LazyLoad for CSS background images or Self-host Google Fonts switched on. Patchstack describes the range as every version before 3.24.2. Given that difference, updating to 3.24.2 or later is the sensible choice for every site.
Is updating to 3.24.2 enough?
The update closes the flaw but does not remove files an attacker may already have planted. A site that ran a vulnerable version with either trigger feature on still needs a check, with attention to the three folders Patchstack names and to access logs from November 25 onward.
What if the WP Rocket license has expired?
Turn off both trigger features under WP Rocket > Page Optimization > Image & Media as a temporary measure. WP Rocket advises site owners to contact the company to renew the license, then install version 3.24.2 or later as soon as possible. Turning the two features off can slow page loads for a while.
Closing
A fix for CVE-2026-125812 has been available since November 19, six days before the first recorded attack. Sites that update plugins regularly were most likely protected before attackers arrived. The remaining work sits with sites on lapsed licenses or without regular maintenance.
If you run a WordPress site for a store, a school, or a public agency, set aside time today to check the WP Rocket version and the three folders listed above. The Merakit team is available if you need help checking or restoring a site.
Sources
- WP Rocket: Security advisory and mitigation steps for CVE-2026-125812 (updated November 27, 2026)
- Patchstack: Critical WP Rocket RCE (CVE-2026-125812) Under Active Attack (November 27, 2026)
- Patchstack Database: WP Rocket plugin Remote Code Execution vulnerability (November 23, 2026)
- WP Rocket: Changelog (version 3.24.2, November 19, 2026)
- Tuskira: CVE-2026-125812 WP Rocket no-login RCE (November 26, 2026, updated November 27, 2026)
- IT-Connect: WP Rocket CVE-2026-125812 Exploited in WordPress Attacks (November 30, 2026)
- InstaWP: WP Rocket Vulnerability CVE-2026-125812 (updated November 30, 2026)