The Library

WP Rocket Vulnerability CVE-2026-125812: Exploited No-Login Flaw Lets Attackers Run Code on WordPress Sites, and the Fixed Version to Install

Attackers are exploiting CVE-2026-125812 in WP Rocket to run PHP code on WordPress sites without logging in. Every version before 3.24.2 is affected. Here is how to check your version and what to do this week.

Elite Performance Exclusive LLC 6 min read

Where Worldwide

WP Rocket Vulnerability CVE-2026-125812: Exploited No-Login Flaw Lets Attackers Run Code on WordPress Sites, and the Fixed Version to Install
On this page 8 sections

Attackers are exploiting a critical flaw in WP Rocket, a WordPress caching and performance plugin. The flaw lets them run PHP code on a website without logging in. If your company website runs any WP Rocket version before 3.24.2, update it this week. Then check whether anyone got in before you did.

The flaw is tracked as CVE-2026-125812. The fix has been out since November 19, 2026, and the first recorded attack attempt came six days later. This post covers what is confirmed, what is still unknown and what to do.

What is the WP Rocket vulnerability (CVE-2026-125812)?

According to GBHackers, CVE-2026-125812 lets remote attackers run PHP code on vulnerable websites without logging in. Ostorlab's technical write-up says Patchstack rates it CVSS v3.1 9.8 Critical and classifies it as unauthenticated remote code execution.

The full vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Here is what that means in plain terms:

  • It can be reached over the internet.
  • It is not hard to pull off.
  • The attacker needs no account.
  • Nobody on your side has to click anything.
  • The impact is rated high for your data, for your site's integrity and for keeping the site online.

Ostorlab states that every WP Rocket release before 3.24.2 is affected. Ostorlab also cites WP Media's figure that the plugin is installed on more than 5.6 million websites. Many people search for it as WPRocket or wp-rocket. It is the same plugin.

On the technical side, Ostorlab says the 3.24.2 release replaces string concatenation with normalization, validation and a containment check. WP Rocket's own changelog describes the change in one line: "Improve validation of cached CSS, font and preconnect files".

WP Rocket exploit timeline

Date What happened Source
2026-11-04 Researcher Vorelito reported the flaw to Patchstack Ostorlab
2026-11-19 WP Rocket 3.24.2 released WP Rocket changelog
2026-11-25, 15:27:11 UTC First exploitation attempt in Patchstack's telemetry Ostorlab
2026-11-26 Tens of thousands of attempts blocked on that day alone GBHackers
2026-11-28 The CVE is still not on CISA's KEV list Ostorlab

KEV is CISA's catalog of vulnerabilities known to be exploited. Two gaps in the timeline stand out. The public fix came 15 days after the report. The first recorded attack came six days after the fix.

What is confirmed and what is not

Confirmed in the sources:

  • The CVE id, the affected range (every release before 3.24.2) and the fix (3.24.2 or later).
  • Patchstack's rating of 9.8 Critical.
  • The release date of 3.24.2, listed on WP Rocket's official changelog.
  • Attacks have started. Patchstack's telemetry shows the first attempt on 2026-11-25.

Reported by a news source: GBHackers reports that tens of thousands of attempts were blocked on November 26 alone. That count comes from a news report, not from a vendor or researcher page.

Not known:

  • How many sites were actually broken into. Attempts are not the same as successful break-ins.
  • Who is behind the attacks.
  • What attackers do once they get in, or which files they leave behind.
  • Whether or when CISA will add the flaw to its KEV list. Its absence on 2026-11-28 does not make the flaw safe to ignore, because exploitation has already been reported.

How to check your WP Rocket version

  1. Log in to your WordPress dashboard as an administrator.
  2. Go to Plugins, then Installed Plugins.
  3. Find WP Rocket in the list and read the version number in its row.
  4. If the version is lower than 3.24.2, the site is affected.

Check every WordPress site your business runs. That includes staging copies, old campaign sites and anything a past agency set up. A forgotten site on the same hosting account can still be a way in.

What to do this week

Step Action Why
1 Update WP Rocket to 3.24.2 or later This closes the vulnerable path
2 Go back to the Plugins screen and confirm the new version is showing An update can fail without you noticing
3 Repeat on every site, including staging and old sites Any copy you have not patched is still a target
4 Look for admin users, plugins or PHP files you did not add Updating does not remove what attackers planted
5 If anything looks wrong, restore from a clean backup and change the WordPress, hosting and database passwords Attackers can get back into a cleaned site with passwords they stole
6 Name one person responsible for plugin updates Attacks began six days after the fix

GBHackers explains step 4 plainly: "While updating will close the vulnerable path, it does not remove any files attackers may have planted before the fix." If your site ran an older version after 2026-11-25, treat it as possibly compromised until you have checked it.

If you restore from a backup, pick one from before 2026-11-25. That is the earliest attempt Patchstack recorded, not proof that nothing happened earlier. Update WP Rocket on the restored copy before putting the site back online.

Why this matters for a business website

A caching plugin runs on every page your site serves, which is why it is so widely installed. If an outsider can run PHP code on that server, they have the same reach as your site's own code. In general, that can let them:

  • Change your pages.
  • Add harmful scripts that run in your visitors' browsers.
  • Read data your site keeps, such as form submissions, orders and customer accounts.

None of the sources describe what attackers have done on hacked sites so far. That list shows what is at stake when someone else can run code on your web server.

For many businesses, the website is also where customers go to check that you are real. A defaced site, or one flagged for malware, costs trust and sales before anyone has worked out the cause.

WP Rocket vulnerability questions people are asking

Which WP Rocket versions are affected by CVE-2026-125812?

Every WP Rocket release before 3.24.2. Version 3.24.2 and later contain the fix.

Is the WP Rocket vulnerability being exploited?

Yes. Patchstack recorded the first attempt on 2026-11-25 at 15:27:11 UTC. GBHackers reports that tens of thousands of attempts were blocked on November 26 alone.

Does an attacker need a login to exploit WP Rocket?

No. Patchstack classifies the flaw as unauthenticated remote code execution, which means no account is needed.

Is CVE-2026-125812 on the CISA KEV list?

Not as of 2026-11-28, according to Ostorlab. That could change, and either way it does not make updating any less urgent.

If I update WP Rocket, am I safe?

Updating closes the hole. It does not remove files an attacker planted before you updated, so check the site as well.

When was the WP Rocket fix released?

WP Rocket's changelog lists version 3.24.2 under November 19, 2026.

Who found the WP Rocket flaw?

Researcher Vorelito reported it to Patchstack on 2026-11-04.

The bigger lesson

Only six days passed between the WP Rocket fix and the first recorded attack. Every plugin on a WordPress site is code someone else wrote, running on your server. A fix only protects you once it is installed and someone has checked that nobody got in first. Whoever runs your website needs one person who owns updates and checks the site regularly. A dashboard that says everything is current is not enough.

Read about our security hardening for websites, or get a quote to have your WordPress site reviewed.

Get security alerts like this one by email, along with our free checklist, at security alerts.

Sources: Ostorlab: WP Rocket CVE-2026-125812; WP Rocket changelog; GBHackers.

Share X LinkedIn Facebook

Was this article helpful?

We only keep the note with this article. No name, no email.

Protected by reCAPTCHA - Privacy and Terms.

Have a question about this article?

Ask it here and we will answer you directly by email. Questions are private, never posted.

Protected by reCAPTCHA - Privacy and Terms.

Security alerts by email

Hear about the next one first.

When attackers start using a flaw in software businesses run on, we email what it is, whether it touches you and what to do that week, with a round-up of our latest security writing. Free, one-click unsubscribe. You get the checklist straight away: 12 things to secure this week.

Protected by reCAPTCHA - Privacy and Terms.

Want a result like this?

Security alerts, breaches and the technology a business runs on: what happened, who it affects and what to do.

Get a Tech Quote

Security alerts by email

The next security hole is already out there. Hear about it from us first.

When attackers start using a flaw in software businesses run on, we email what it is, whether it touches you and what to do that week, with a round-up of our latest security writing. Free, one-click unsubscribe. You get the checklist straight away: 12 things to secure this week.

Protected by reCAPTCHA - Privacy and Terms.