ResourcesBlog
WP Rocket Flaw Lets Attackers Run Code With No Login
WP Rocket fixed an unauthenticated remote code execution flaw on November 19, 2026. Attackers started using it on November 25. Update to 3.24.2 now, then check for planted files.
Leonard EsereReading time 4 min
Filed underWP RocketWordPressremote code executionflaw remediationevidence
- WP Rocket fixed an unauthenticated code execution flaw in 3.24.2.
- Versions 3.15 through 3.24.1 are affected when either of two features is enabled.
- Patchstack saw the first attack on November 25, 2026.
- The update does not remove files an attacker already planted.
What happened
WP Rocket is a paid caching plugin for WordPress. Patchstack counts more than 5.5 million installs. A Common Vulnerabilities and Exposures (CVE) record names a public flaw. Remote code execution (RCE) means an attacker runs code on your server. A remediation review should cover both the plugin version and the integrity of files on the site.
The flaw is CVE-2026-125812. It is a path traversal flaw in the plugin. An attacker with no login can write a PHP file to the site. That file then runs as code on the server.
The flaw affects WP Rocket 3.15 through 3.24.1. It needs one of two features turned on. The features are LazyLoad for CSS background images and Self-host Google Fonts.
WP Rocket fixed the flaw in version 3.24.2. The fix shipped on November 19, 2026. Version 3.24.3 followed on November 26, 2026.
Attacks are already running
Patchstack saw the first exploit attempt on November 25, 2026 at 15:27 UTC. By November 26, it blocked tens of thousands of attempts. The attacks are automated campaigns, not one person testing a site.
For exposed sites, keep web logs and check for unexpected changes to PHP files. Record which plugin features were enabled during the exposure period.
The Cybersecurity and Infrastructure Security Agency (CISA) runs the Known Exploited Vulnerabilities (KEV) catalog. The flaw is not in that catalog as of November 28, 2026. Absence from KEV does not mean the flaw is safe. Patchstack telemetry shows live attacks.
What to do now
Update WP Rocket to 3.24.2 or later on every site today. If you cannot update yet, turn off both features. Open WP Rocket, then Page Optimization, then Image and Media. Turn off LazyLoad for CSS background images and Self-host Google Fonts.
An update stops new attacks. It does not remove files an attacker already planted. Look for unexpected PHP files in wp-content and its folders. Patchstack names wp-media-*.php as one pattern to hunt. Check wp-content/uploads and wp-content/wp-rocket-config too.
If you find a planted file, treat the site as compromised. Rebuild it from a clean backup or rebuild the files by hand. Change admin passwords and keys after the rebuild.
The governance lesson
A plugin is part of your system boundary. Your inventory must list every plugin and its version. A version check is evidence. A compromise check is evidence too.
Patching fast matters. Patching without a compromise check leaves the attacker inside. The fix closed the hole on November 19. Attacks started on November 25. Six days passed with no public attacks. That window is now closed.
PolicyCortex collects live configuration evidence from your cloud tenant. It ties each control to the config that meets it. See how it works at PolicyCortex.
Sources
- CVE-2026-125812 record, CVE Program
- CVE-2026-125812 record, National Vulnerability Database
- WP Rocket security advisory and mitigation steps
- Patchstack, Critical WP Rocket RCE Under Active Attack
- Which WP Rocket versions are affected?
- Versions 3.15 through 3.24.1 are affected. The flaw needs LazyLoad for CSS background images or Self-host Google Fonts turned on.
- What version fixes the flaw?
- Version 3.24.2 fixes it. It shipped on November 19, 2026. Version 3.24.3 is the current release.
- Is the flaw being exploited?
- Yes. Patchstack saw the first attempt on November 25, 2026. It blocked tens of thousands of attempts on November 26.
- Does the update remove planted files?
- No. The update stops new attacks only. Check wp-content for unexpected PHP files after you update.
Related records
Guides and articles describe the work. The evidence that work produces is described in three proof pages, the architecture page, and the two pages on authorization.
- proof.state
- Proof of State. What the environment was, as of a date someone else picks: point-in-time records, content hashed and chained.
- proof.change
- Proof of Change. Who or what altered the environment, under what authority, with before and after state hashes.
- proof.agency
- Proof of Agency. What a machine was permitted to do before it acted, what it did, and what would have stopped it.
- architecture
- Architecture. How the chain is built and where the evidence is stored in each delivery mode.
- authorization
- Continuous ATO. How an authorizing official's decision is recorded with its package, and how the authorized system is checked against it every hour.
- baseline
- NIST SP 800-53. The Low, Moderate and High baselines as evidence, with the SSP, SAR and POA&M generated from one record.
Further reading in this register
- Mitel Warns of New Exploited MiCollab Flaws With No PatchMitel advisory MISA-2026-0015, December 2, 2026, says new flaws in MiCollab and MiVoice Business are under active attack. Severity is critical. No CVE IDs exist yet. No patch exists yet. Hardening scripts are the only defense.
- OpenEMR Flaws Exploited in the Wild: Patch to 8.5.0Attackers hit eight OpenEMR flaws within a day of disclosure. VulnCheck honeypots logged 1,053 attacks in 19 days. Four flaws score 9.0 or higher. Upgrade to OpenEMR 8.5.0 now.
- Acronis Backup Flaw Joins the Exploited ListCISA added the Acronis Backup plugin flaw to its exploited list on December 3, 2026. Attackers are using it now. Patch the plugin and hunt for signs of compromise.
Verify the record this entry describes.
- Published
- Last updated
- Unchanged since publication
- Author
- Leonard Esere