WP Rocket, a caching plugin for WordPress, has a critical flaw tracked as CVE-2026-125812 (CVSS 9.8) that WP Rocket and Patchstack say is being actively exploited. WP Rocket fixed it in version 3.24.2 on November 19, 2026. The single most important action is to update to 3.24.2 or later, and then check the site for files planted before you updated.
What happened
Patchstack, a WordPress security company, published an advisory on November 27, 2026. WP Rocket's own advisory was last updated the same day. Both are primary sources for this guide. The Hacker News reported on December 1, 2026 that attackers are targeting the flaw.
Patchstack's timeline, in UTC:
| Date (UTC) | What Patchstack says |
|---|---|
| Before Nov 25, 2026 | Its mitigation rule went live, more than two days before the first observed attack |
| Nov 25, 2026, 15:27 | First observed exploitation attempt, apparently run manually against a few sites |
| Nov 25 to 26 | Activity shifts to automated campaigns |
| Nov 26 | Tens of thousands of blocked attempts in one day |
| Nov 27 | Patchstack publishes the advisory |
WP Rocket released 3.24.2 on November 19, 2026, which is six days before the first attempt Patchstack observed.
How the flaw works, according to Patchstack
WP Rocket includes a script that measures page performance in visitors' browsers and reports the results to a public AJAX endpoint. The plugin then uses the reported URLs to optimize pages, but, per Patchstack, it does not validate them strictly enough. A crafted report can make the server download remote content and save it as a PHP file, which then executes. Patchstack describes the result as unauthenticated attackers being able to write and execute PHP code on affected sites. WP Rocket's advisory says "an attacker can execute arbitrary code on the affected website without authentication."
What is a claim and what is confirmed
| Statement | Source | Status |
|---|---|---|
| Active exploitation since Nov 25, 2026 | Patchstack, WP Rocket advisory | Stated by both vendors |
| Tens of thousands of blocked attempts on Nov 26 | Patchstack | Patchstack's own telemetry, not independently verified |
| WP Rocket used by more than 5.5 million sites | Reported by The Hacker News | A reported figure; we did not find it on an official page |
| Wordfence blocked 135 attacks in 24 hours | Reported by The Hacker News | We did not open a Wordfence source |
Patchstack says several independent operators are active. The number of compromised sites is not published, and neither is who is behind the attacks.
Am I affected?
Two things decide that: the version and the settings.
- Version: WP Rocket says versions 3.15 through 3.24.1 are affected. Patchstack says versions before 3.24.2. The sources differ on the lower bound, so treat any version below 3.24.2 as needing the update.
- Settings: Both sources say the flaw is exploitable only if LazyLoad for CSS background images or the fonts feature is enabled. WP Rocket calls the fonts feature Self-host Google Fonts; Patchstack calls it Host Fonts Locally. Patchstack says both are off by default but common on performance-tuned sites.
To check, open WP Rocket > Page Optimization > Image & Media in the WordPress dashboard (on versions before 3.24, the Media tab) and see whether either option is on. Check the installed version on the Plugins screen.
Signs of an attack, as Patchstack published them
Patchstack says all observed attempts are POST /wp-admin/admin-ajax.php requests with action=rocket_beacon. Look for:
rocket_beaconrequests from clients that never loaded the page they report on, or that report full URLs where bare domains are expected.- Outbound requests from the web server to unfamiliar hosts,
nip[.]ionames ortrycloudflare[.]comtunnels. - Unexpected PHP files named
wp-media-*.phpinwp-content/wp-rocket-config/,wp-content/uploads/, or directly inwp-content/.
Patchstack's list of the ten most active source IPs since November 25, copied with its defanging:
| IP address | Network, per Patchstack |
|---|---|
| 103[.]235[.]74[.]71 | Ikubaru (Indonesia) |
| 157[.]245[.]122[.]230 | DigitalOcean |
| 152[.]89[.]170[.]194 | C1V Hosting (Italy) |
| 180[.]232[.]236[.]101 | Eastern Telecom (Philippines) |
| 103[.]235[.]74[.]72 | Ikubaru (Indonesia) |
| 201[.]79[.]120[.]217 | DigitalOcean |
| 112[.]78[.]154[.]32 | Biznet (Indonesia) |
| 167[.]71[.]75[.]155 | DigitalOcean |
| 43[.]163[.]8[.]253 | Aceville / Tencent Cloud (Singapore) |
| 51[.]79[.]199[.]209 | OVH (Singapore) |
Source IPs change quickly and some attacks use rotating residential proxies, per Patchstack, so a missing IP in your logs does not mean you were not targeted. The planted-file and request patterns are the more reliable checks.
What to do now
- Update WP Rocket to 3.24.2 or later. With an active license, update from the Plugins screen in the WordPress dashboard and confirm the installed version is 3.24.2 or later. If no update appears, WP Rocket's advisory points to its update guide.
- If you cannot update yet, turn off both features. Go to WP Rocket > Page Optimization > Image & Media (the Media tab before 3.24), turn off LazyLoad for CSS background images and Self-host Google Fonts, save, and confirm both are off on each affected site. WP Rocket says this "mitigates the documented attack paths immediately" and the settings should stay off until 3.24.2 or later is installed. This is also the route if your license has expired.
- Check for compromise if a vulnerable version ran with either feature on. Look in the three directories above for
wp-media-*.phpfiles you did not create, and review historical logs forrocket_beaconrequests and outbound connections to unfamiliar hosts. WP Rocket's advisory says to ask your hosting provider or security team to check for signs of compromise. - Do not treat the update as a cleanup. Both vendors say it does not remove anything already planted.
Many sites at once
WP Rocket's advisory describes a helper plugin named "WP Rocket | Mitigate CVE-2026-125812" that turns both features off, downloadable as a .zip from the GitHub link in the advisory. Its documented bulk install command is:
wp plugin install ./wp-rocket-mitigate-cve-2026-125812.zip --activateOn multisite, the advisory says to install it once and activate it on each affected subsite:
wp plugin activate wp-rocket-mitigate-cve-2026-125812 --url=<subsite URL>Afterwards, verify both settings are off. Download the zip only from the link in WP Rocket's own advisory.
A virtual patch
Patchstack says its RapidMitigate rule for this CVE blocks the exploitation attempts without changing plugin code. That is a Patchstack product; this guide has not tested it.
How to protect yourself
- Keep WP Rocket on automatic or monitored updates, and keep the license active so updates appear on the Plugins screen. The advisory's expired-license workaround exists because updates may not arrive otherwise.
- Keep performance features you do not need turned off. Patchstack notes both features here are off by default.
- Ask your host whether they log POST requests to
wp-admin/admin-ajax.php, so you can search foraction=rocket_beaconafter an incident. - If you find an unexpected
wp-media-*.phpfile, bring in your host or a security professional before deleting it. Deleting the file alone does not tell you what else was changed.
See also
- NGINX HTTP/2 Flaw CVE-2026-123007: Fixed Versions, Workaround and Patch Steps
- CVE-2026-112732 Visio RCE: Check Your Office Build and Update
- Apache Roller CVE-2026-129448 Exploited: Am I Affected and What to Do
What we checked
- Opened WP Rocket's advisory for CVE-2026-125812 on 2026-12-01; it states the affected versions (3.15 through 3.24.1), the two features, the fix in 3.24.2 released on November 19, 2026, the workaround path and the WP-CLI commands above.
- Opened Patchstack's advisory on 2026-12-01; it supplies the timeline, the request pattern, the planted-file paths and the ten source IPs, copied here with its defanging.
- Opened The Hacker News report on 2026-12-01; used only for the reported figures labelled as reported above.
- Cross-checked the fixed version and release date between WP Rocket and Patchstack: both say 3.24.2.
- Found two differences between the sources: the affected range (3.15 to 3.24.1 versus before 3.24.2) and the name of the fonts feature. We reported both rather than picking one.
- Did not open a Wordfence page, the CVE record or the helper plugin's .zip, and did not test any step on a live WordPress site.
Last tested: 2026-12-01
Sources
- WP Rocket, security advisory and mitigation steps for CVE-2026-125812: https://wp-rocket.me/docs/wp-rocket-security-advisory-and-mitigation-steps-for-cve-2026-125812/
- Patchstack, Critical WP Rocket RCE (CVE-2026-125812) under active attack: https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/
- The Hacker News, Hackers target critical WP Rocket flaw: https://thehackernews.com/2026/12/hackers-target-critical-wp-rocket-flaw.html
Comments
Questions and tips are welcome. Comments are checked by the EpiFive team before they appear; please do not share passwords, phone numbers or other private details.