WP Rocket CVE-2026-125812: Active Attacks Target Sites Using Affected Optimization Features

WP Rocket and Patchstack report active exploitation of CVE-2026-125812. Sites running WP Rocket 3.15–3.24.1 with either affected optimization feature enabled should update to 3.24.2 or later.

Reader ratingRate this article

Loading reader rating…

Privacy-conscious voting uses a signed random browser identifier and a short-lived network hash; the rating tables contain no raw IP-address column.

Reader ratings require JavaScript; the article remains fully readable without it.

ACTIVE EXPLOITATION

Decision: If a site runs WP Rocket 3.15 through 3.24.1 and either LazyLoad for CSS background images or Self-host Google Fonts is enabled, update to WP Rocket 3.24.2 or later now.[1][2]

Reporting cutoff: December 2, 2026, 3:30:17 a.m. EST / 08:30:17 UTC.

Who is exposedWP Rocket versions 3.15 through 3.24.1 where at least one of these features is enabled: LazyLoad for CSS background images or Self-host Google Fonts.[1]
What the flaw can doUnder those conditions, an unauthenticated attacker can execute arbitrary code on the affected website.[1]

What happened

Patchstack says the vulnerability is being targeted in the wild and that its telemetry first observed exploitation on November 25, 2026, at 15:27:11 UTC; it reported that activity rose sharply afterward.[2]

Patchstack says a crafted report to WP Rocket’s public measurement endpoint can make a site download attacker-controlled content, save it as a PHP file, and run that code on the server.[2]

Do this now

  1. If compromise is suspected, preserve evidence before cleanup where your incident-response policy permits. Keep relevant historical logs and suspicious files available for investigation before making destructive changes. This is bounded editorial sequencing based on Patchstack’s direction to review historical logs and unexpected PHP files.[2]
  2. Update WP Rocket to version 3.24.2 or later. Confirm the installed version after the update.[1][2]
  3. If you cannot update immediately, turn off both affected features. Disable LazyLoad for CSS background images and Self-host Google Fonts, save the change, and confirm both settings are off on every affected site until 3.24.2 or later is installed.[1][2]
  4. If the site was previously exposed, ask the hosting provider or security team to check for compromise. Updating or changing settings can stop new exploitation through the documented paths, but attacker-created files or accounts require separate investigation.[1]
  5. Use indicators as triage signals, not proof by themselves. Review retained logs for suspicious rocket_beacon requests, outbound requests to unfamiliar hosts, and unexpected PHP files in the locations named by Patchstack.[2]
  6. If the investigation confirms compromise, follow your incident-response plan and scope attacker-created files and accounts. Do not treat the plugin update alone as proof that earlier access has been removed.[1][2]

Important limitation

The update stops new attacks through the documented vulnerability, but Patchstack says it does not remove files an attacker already planted.[2]

Verification checklist

  • Confirm every affected site reports WP Rocket 3.24.2 or later.[1]
  • If the temporary workaround remains in use, confirm both LazyLoad for CSS background images and Self-host Google Fonts are off on each affected site.[1]
  • For a previously exposed site, review the historical logs and file locations in Patchstack’s detection guidance; escalate evidence of compromise for incident response.[1][2]

What remains unknown

The two reviewed sources establish active exploitation attempts and a vulnerable configuration, but they do not identify a specific victim site or establish a victim count as of this reporting cutoff.[1][2]

Sources

  1. WP Rocket security advisory and mitigation steps for CVE-2026-125812 (published November 27, 2026 at 20:46:43 UTC; modified November 27, 2026 at 20:47:08 UTC; accessed December 2, 2026).
  2. Critical WP Rocket RCE (CVE-2026-125812) Under Active Attack (published November 27, 2026 at 13:48:35 and modified at 13:48:36 as declared without a timezone; accessed December 2, 2026).