If you run WP Rocket on your WordPress site, stop what you are doing and check your version right now. Not later today, not after lunch — right now. A critical vulnerability in the plugin, tracked as CVE-2026-125812, lets an attacker run their own code on your server without logging in, without you clicking anything, and without any warning. The fix has been out since November 19, but the public CVE only landed on November 25, and by November 26 at least one agency was already watching the flaw get exploited live on sites they maintain.
I have spent years building WordPress sites with Elementor, and WP Rocket has been my go-to caching plugin on more client projects than I can count. It is installed on roughly 5.6 million sites. That scale is exactly what makes this one scary: when a plugin this popular has a hole this big, attackers do not need to find you specifically — they just scan the internet until they find a site that has not updated yet.
What CVE-2026-125812 actually is
The vulnerability is a path traversal flaw, classified as CWE-22, in the way WP Rocket builds its cache file paths. Patchstack, which published the advisory, rates it as unauthenticated remote code execution with a CVSS score of 9.8 out of 10. The vector tells the story in one line: attack over the network, low complexity, no privileges required, no user interaction, and full impact on confidentiality, integrity and availability.
Every version of WP Rocket before 3.24.2 is affected, going right back to the plugin's earliest releases. Version 3.24.2, released on November 19, 2026, is the patched version. The researcher credited with reporting it is Vorelito, and Patchstack published its advisory on November 23. The CVE record itself was published on November 25.
One nuance: as of the last checks on November 25, the CVE is not listed in CISA's Known Exploited Vulnerabilities catalog, and some analyses note that no working public exploit had been confirmed at that point. But do not let that relax you. Patchstack describes the flaw as expected to be exploited, and an agency publicly reported watching it exploited on four sites they maintain on November 26 — the day after the CVE went public. In my experience, the gap between "expected to be exploited" and "actively exploited" is measured in hours once a CVE number exists, because the patch itself tells attackers exactly where to look.
How the flaw works (in plain English)
WP Rocket's job is to make your site fast, and part of that job involves writing cached files to disk — cached HTML, CSS, font files and more, all stored inside your web root. To decide where each file goes, the plugin maps a URL to a file path using a function called FilesystemCache::generate_path().
Before version 3.24.2, that function took the host and path from a URL and joined them straight onto the cache folder, without properly checking what was in them. That is the whole bug. If an attacker could get a crafted URL into that process — a URL containing ../ sequences, like http://example.org/a/../../../../file — the resulting path would escape the cache folder entirely. The plugin would then write whatever content it fetched to a location of the attacker's choosing, under any file name, including a .php file that the server would happily execute.
The part that makes this genuinely dangerous is how the attacker gets their URL into the cache layer. WP Rocket has a performance beacon: a small script that runs in every visitor's browser and reports back to admin-ajax.php with data about the page — the largest contentful paint element, the fonts the page uses, external domains. That data ends up in WP Rocket's database tables, and according to the intrusion case reported on November 26, the attacker used that beacon request to slip in fake URLs that looked like Google Fonts but pointed at a server they controlled. WP Rocket then did what it is designed to do — fetched the content and wrote it to disk — except the path was outside the cache, and the content was the attacker's PHP file.
From there it went the way you would fear. The attackers wrote a webshell they could use to run commands from a URL, launched gsocket — a tunnelling tool that gives them a console on the server without leaving traces in the site's logs — read the whole of wp-config.php including the database password and the WordPress secret keys, and created two new administrator accounts so they could walk back in through the front door any time they liked.
Why this one is worse than a normal plugin vulnerability
I have written about plenty of WordPress vulnerabilities over the years, and most of them have some limiting factor: they need an account, or a specific setting switched on, or the victim to click a link. This one has none of those. It is unauthenticated, it needs no user interaction, and the attack complexity is rated low. The entry point is a beacon request that any visitor's browser makes — meaning any anonymous request to your site could potentially carry the payload.
There is also the question of scope. WP Rocket is a premium plugin, which means its users are disproportionately the sites that care about performance: stores, agencies, membership sites, busy blogs. Those are also the sites with the most to lose from a breach. And a caching plugin is the kind of thing people install once and forget about for years. If you installed WP Rocket in 2019 and never touched it again, you are affected.
And there is one more uncomfortable truth I have learned from cleaning up hacked WordPress sites: updating the plugin closes the door, but it does not throw out whoever already came in.
What to do right now: the checklist
Here is the exact order I am following on every site I manage. It takes about fifteen minutes per site.
1. Check your WP Rocket version. In your WordPress admin, go to Plugins and look at the version number next to WP Rocket. If it says 3.24.2 or later, you are patched. If it says anything lower, update it immediately — do not wait for your next maintenance window. WP Rocket is a premium plugin, so make sure your licence is active so the update actually shows up. If you manage sites for clients, check all of them, not just the one you are thinking of.
2. Check whether you were already hit. This matters even if you are already on 3.24.2, because the patch does not clean up an existing intrusion. Look in your database at WP Rocket's beacon tables — named wp_wpr_ (your table prefix may differ), and the two to check first are wpr_preload_fonts and wpr_preconnect_external_domains. Look for domains that are neither yours nor Google's, entries pointing at trycloudflare.com or raw IP addresses, and any value containing ../ or ending in .php.
3. Check your users. Go to Users in the WordPress admin and look for administrator accounts you do not recognise. The reported intrusion created two admin accounts. If you find any account you cannot explain, do not just delete it yet — note the username and email first, because that is evidence, then remove it and check whether anything else changed.
4. Look for unfamiliar files. Check your uploads folder and the root of your site for PHP files that should not be there, especially files with random-looking names or recent modification dates around November 25–26. A webshell often hides somewhere boring, like a file named after a system file in a folder nobody opens.
5. If you find anything wrong, rotate everything. Change your database password, regenerate your WordPress salts and keys in wp-config.php, and rotate any API keys stored there or in the database. If the attacker read wp-config.php, they have all of it. Then restore from a clean backup taken before the intrusion, or rebuild the affected parts of the site.
6. If you find nothing, still tighten up. Make sure automatic updates are switched on for plugins where you trust them, and set a weekly reminder to check the versions of your premium plugins — the ones that do not update through the normal WordPress flow are the ones that get forgotten.
What this means for Elementor users
If you build with Elementor, the way I do, this one hits close to home. WP Rocket and Elementor are one of the most common pairings in the WordPress world: Elementor builds the page, WP Rocket makes it load fast. A lot of the sites I have built use exactly that stack, and so do a lot of the sites reading this blog.
Nothing about Elementor itself is affected by this flaw — it is entirely a WP Rocket problem. But it is a good reminder of something I keep coming back to in my own work: your site's security is only as strong as its most neglected plugin. We spend hours choosing the right page builder and theme, and then leave a caching plugin untouched for three years because it "just works". The boring maintenance is the security work.
Do not panic-uninstall WP Rocket, either. It is a good plugin, the developers fixed this quickly — the patch was out six days before the CVE was even published — and there is no reason to abandon it. Update it, check for signs of intrusion, and carry on.
The bigger picture
There is a pattern to how these stories play out, and it is worth noticing. The fix for CVE-2026-125812 was released on November 19. The advisory came on November 23. The CVE was published on November 25. Live exploitation was reported on November 26. That is a seven-day window from patch to observed attack, and most of the sites that will get hit are the ones that did not update during it.
WordPress has had a rough few weeks on the security front, and the lesson is the same every time: the sites that get compromised are rarely the ones running exotic software. They are ordinary sites with an ordinary plugin that is one version behind. The fix is almost always already available — the hard part is knowing about it in time.
Conclusion
CVE-2026-125812 is the real deal: a critical, unauthenticated remote code execution flaw in one of WordPress's most popular premium plugins, affecting every version before 3.24.2, with live exploitation already reported. The fix is simple — update to 3.24.2 — but the follow-up matters just as much: check your beacon tables, your users and your files, because an update does not evict an attacker who is already inside. Thirty seconds now is worth more than a weekend of cleanup later.
Frequently asked questions
Which versions of WP Rocket are affected by CVE-2026-125812?
Every version before 3.24.2 is affected, going back to the earliest releases. The vulnerability is fixed in WP Rocket 3.24.2, released on November 19, 2026. If your site runs any version below 3.24.2, update immediately.
Do I need a WP Rocket account to exploit this flaw?
No. The vulnerability is unauthenticated — an attacker needs no login and no user interaction. The attack works over the network with low complexity, which is why it received a CVSS score of 9.8 out of 10.
How do I check if my site was already attacked?
Check WP Rocket's beacon tables in your database (wp_wpr_, especially wpr_preload_fonts and wpr_preconnect_external_domains) for unfamiliar domains, trycloudflare.com links, IP addresses, or values containing ../ or ending in .php. Also check your WordPress users for unknown administrators and your files for unfamiliar PHP files with recent dates.
Does updating to 3.24.2 remove an attacker who is already inside?
No. Updating closes the vulnerability but does not remove webshells, rogue admin accounts, or stolen credentials. If you find signs of intrusion, rotate your database password, WordPress salts and keys, and any API keys in wp-config.php, remove the rogue accounts and files, and restore from a clean backup.
Where was this vulnerability disclosed?
The flaw was reported by researcher Vorelito. Patchstack published its advisory on November 23, 2026, and the CVE record was published on November 25, 2026. It is not listed in CISA's Known Exploited Vulnerabilities catalog as of the last check, though live exploitation was publicly reported on November 26.
