WP Rocket CVE-2026-125812 Exploited: Update to 3.24.2
TL;DR · the short version
CVE-2026-125812 is a critical flaw (CVSS 9.8) in WP Rocket, a popular paid caching plugin for WordPress from WP Media. Patchstack says an unauthenticated attacker can make a vulnerable site fetch remote content and save it as a PHP file, then run it, on sites where "LazyLoad for CSS background images" or "Host Fonts Locally" is on (both off by default). WP Rocket 3.24.2, released 19 November 2026, fixes it. Patchstack saw the first exploitation attempt on 25 November and blocked tens of thousands of attempts the next day. Updating does not remove files already planted, so sites that ran a vulnerable version with either feature on should hunt for unexpected PHP files. WP Media has published no advisory beyond a one-line changelog entry; the flaw is not in CISA KEV.
Attackers are exploiting CVE-2026-125812, a critical flaw in the WP Rocket caching plugin for WordPress, to plant PHP files on websites. Patchstack reported on 27 November 2026 that its first observed exploitation attempt came on 25 November at 15:27 UTC and that it blocked "tens of thousands" of attempts on 26 November alone. An attacker needs no account. Patchstack says only sites with "LazyLoad for CSS background images" or "Host Fonts Locally" turned on are exposed; both are off by default. WP Rocket 3.24.2, released on 19 November, fixes it. No source reports how many sites were actually compromised, and this is not a breach of WP Media.
Who this is for: anyone who runs WordPress sites, or pays an agency or host to run them, and security teams that own the company website.
Based on Patchstack's article and database entry, the CVE record and WP Rocket's changelog, read on 3 December 2026. PlayCISO is not affiliated with WP Media or Patchstack. No exploit details here; Patchstack's article carries attacker IP addresses for defenders.
Confirmed vs not yet known
WP Media confirms (changelog): WP Rocket 3.24.2 (19 November 2026) includes "Security: Improve validation of cached CSS, font and preconnect files". It names no CVE. 3.24.3 followed on 26 November with no security line.
The CVE record (CNA Patchstack, 25 Nov): versions before 3.24.2 are affected; path traversal (CWE-22); CVSS 3.1 9.8, no login and no user interaction needed.
Patchstack reports (27 Nov): unauthenticated remote code execution on sites with either of the two features on; first exploitation 25 November 15:27:11 UTC; tens of thousands of blocked attempts on 26 November; the ten busiest source addresses sent roughly half of them.
Not yet known: how many sites were compromised; who is behind the attempts; how many sites have either feature turned on; whether WP Media has told customers directly. The flaw is not in CISA KEV (catalog 2026.11.30), and CISA's enrichment of the CVE record, set on 25 November, still says exploitation "none". Patchstack's own page labels it "known to be exploited (KEV)"; that is Patchstack's label, not a CISA listing.
How the flaw works, in short
WP Rocket measures pages in the visitor's browser and reports page addresses back to a public endpoint on the site, which the plugin then uses for its optimisations. Patchstack says the plugin did not check those reported addresses strictly enough, so a crafted report can make the site download remote content and save it as a PHP file that the web server will run. That is full code execution as the web server user. The fix in 3.24.2 tightens validation of the cached CSS, font and preconnect files, per the changelog.
Useful next, if this was relevant to you
Timeline
| Date | Event | Source |
|---|---|---|
| 4 Nov 2026 | Flaw reported through Patchstack's bug bounty programme (credit: Vorelito) | Patchstack database |
| 19 Nov 2026 | WP Rocket 3.24.2 released with the security fix | WP Rocket changelog |
| 23 Nov 2026 | Patchstack publishes its database entry; its blocking rule is live more than two days before the first attack | Patchstack, Patchstack |
| 25 Nov 2026 | CVE-2026-125812 published; first exploitation attempt seen at 15:27 UTC | CVE record, Patchstack |
| 26 Nov 2026 | Tens of thousands of attempts blocked in one day; WP Rocket 3.24.3 released | Patchstack, WP Rocket changelog |
| 27 Nov 2026 | Patchstack publishes its warning and hunt signals | Patchstack |
| 30 Nov 2026 | Not in CISA KEV (catalog 2026.11.30) | CISA KEV |
What security leaders should do this week
- Update every site. WP Rocket is a paid plugin installed from WP Media, not the WordPress.org directory, so check each site's plugin page for version 3.24.2 or later (3.24.3 is current). Ask agencies and hosts that run sites for you to confirm the version in writing.
- If you cannot update today, turn off "LazyLoad for CSS background images" and "Host Fonts Locally", as Patchstack advises. That removes the exposure it describes but does not clean a site.
- Hunt on sites that were exposed. If a site ran a version before 3.24.2 with either feature on and nothing blocking the attack, look for unexpected PHP files (Patchstack names
wp-media-*.php) inwp-content/wp-rocket-config/,wp-content/uploads/andwp-content/; review web logs since 25 November foradmin-ajax.phprequests withaction=rocket_beaconfrom clients that never loaded the page; and check for outbound connections from the web server to nip[.]io names or trycloudflare[.]com tunnels. - If you find a planted file, treat the site as compromised: take a copy for evidence, restore from a known-good backup or rebuild, rotate the database, admin and hosting credentials, and check for new admin users. The IR Playbook Lab rehearses the steps.
- Rank it. No login, a public site and active attempts put this near the top of any web backlog. Score it with the SSVC calculator or the vulnerability prioritizer, and check the EPSS score with the EPSS lookup.
Frequently asked questions
What is CVE-2026-125812?
A critical flaw in the WP Rocket caching plugin for WordPress (CVSS 3.1 9.8). Patchstack says an attacker with no account can make a vulnerable site fetch remote content and save it as a PHP file, then run it. The CVE record classes it as path traversal (CWE-22) in versions before 3.24.2.
Which WP Rocket versions are affected?
Versions before 3.24.2. Patchstack says a site is only exploitable when "LazyLoad for CSS background images" or "Host Fonts Locally" is turned on; both are off by default. WP Rocket 3.24.2 (19 November 2026) fixes it, and 3.24.3 followed on 26 November.
Is the WP Rocket flaw being exploited?
Yes, according to Patchstack: its first observed exploitation attempt was on 25 November 2026 at 15:27 UTC, and it blocked "tens of thousands" of attempts on 26 November alone. It is not in CISA's KEV catalog as of version 2026.11.30. No source reports how many sites were actually compromised.
Does updating WP Rocket remove a planted backdoor?
No. Patchstack says the update blocks new attacks but does not remove files already planted. Any site that ran a vulnerable version with one of the two features on, without a blocking rule, should be checked for unexpected PHP files.
What should I look for on a WordPress site running WP Rocket?
Patchstack lists: requests to /wp-admin/admin-ajax.php with action=rocket_beacon, especially from clients that never loaded the page they report on or that send full URLs where a bare domain is expected; outbound connections from the web server to unfamiliar hosts, nip[.]io names or trycloudflare[.]com tunnels; and unexpected PHP files such as wp-media-*.php in wp-content/wp-rocket-config/, wp-content/uploads/ or wp-content/.
What if I cannot update WP Rocket today?
Patchstack says to turn off both "LazyLoad for CSS background images" and "Host Fonts Locally" until you can update. That removes the condition it describes; it does not fix the plugin or clean a site that was already hit.
Did WP Media publish an advisory?
We found none. WP Rocket's changelog for 3.24.2 lists one security line, "Improve validation of cached CSS, font and preconnect files", with no CVE number. The details come from Patchstack, which says the flaw was reported through its bug bounty programme on 4 November 2026.
Related: WP Media in the Breach Index (not a breach) and the recent Drupal Fail2Install attacks on another content management system.
Check your own site
Paste a file listing, access-log lines or a suspicious PHP file into the Web Shell File Finder. It flags PHP files in wp-content/uploads and other places a WP Rocket-style upload would leave them, all in your browser.
Sources
- Patchstack: Critical WP Rocket RCE (CVE-2026-125812) Under Active Attack (Dave Jong, 27 November 2026)
- Patchstack database: WP Rocket before 3.24.2, Remote Code Execution (23 November 2026)
- WP Rocket changelog: 3.24.2 (19 November 2026) and 3.24.3 (26 November 2026)
- CVE.org: CVE-2026-125812 (CNA Patchstack; CISA ADP)
- CISA Known Exploited Vulnerabilities catalog (checked at version 2026.11.30)
Spotted an error? Report an error. A person reads every message.