Security

WP Rocket flaw CVE-2026-125812 lets unauthenticated attackers run PHP on sites with two optional features on; Patchstack reports attacks since 25 November, fix is 3.24.2

Patchstack says a critical WP Rocket flaw (CVE-2026-125812, CVSS 9.8) is being exploited. Sites with two optional features on should update to 3.24.2.

By · · 2 min read

Patchstack says attackers are exploiting CVE-2026-125812, a critical unauthenticated remote code execution flaw in the WP Rocket caching plugin for WordPress. It affects versions before 3.24.2, but only on sites that have LazyLoad for CSS background images or Host Fonts Locally turned on. ZeroHour reports both options are off by default.

The essentials

Who is affected

Per Patchstack, only WP Rocket versions before 3.24.2 with either LazyLoad for CSS background images or Host Fonts Locally enabled. ZeroHour says requests target admin-ajax.php with the action rocket_beacon and make the plugin fetch attacker-controlled content and save it as PHP. Sites that use neither option are described as not exposed in those sources.

A source mismatch

Brandefense dates Patchstack’s advisory to 23 November and notes that the NVD records the weakness as path traversal, while Patchstack classes the impact as unauthenticated code execution. Its entry does not describe the request sequence. Exploitation reports rest on Patchstack’s own telemetry as relayed by Rescana and ZeroHour.

What is not established

FAQ

How do I protect my WordPress site from the WP Rocket flaw?

Update WP Rocket to 3.24.2 or later. If you ran an older version with LazyLoad for CSS background images or Host Fonts Locally on, also check the site for unexpected PHP files, since updating does not remove them.

Sources

Spotted an error in this article? Report it · Our corrections policy

OrigoTech logo

New: the app iPhone & iPad

OrigoTech is now an iPhone and iPad app

Read the articles natively, with “New” markers on unread ones, local search and offline reading of what you have already loaded. Free, no account, iOS 17 or later; ads appear between articles.

Rekha icon: a house drawn in a single stroke

From the same author Self-promotion

An Eulerian path, drawn with your finger

Rekha, the iPhone game by OrigoTech's author: connect every dot in a single stroke without tracing the same link twice, across 500 drawings that are all solvable.

The OrigoTech newsletter

A sourced weekly digest of AI tool news.

Read next