WP Rocket (WordPress): RCE exploited, update to 3.24.2 and look for dropped PHP files
Patchstack has observed exploitation of CVE-2026-125812 (CVSS 9.8) since November 25 in WP Rocket, the caching plugin from Lyon-based WP Media. Sites running versions before 3.24.2 must be updated, then examined.
Translated from French by AI. The original French article is the reference version.

Key points
CVE-2026-125812 (CVSS 9.8) allows an unauthenticated attacker to make a WordPress site running WP Rocket before 3.24.2 write and then execute a PHP file, if one of two performance options is enabled. Patchstack has observed automated campaigns since November 26. Update without delay, then search for files already dropped, which the update does not remove.
The facts
- November 4: researcher Vorelito reports the vulnerability to Patchstack's bug bounty program. November 19: WP Media releases version 3.24.2. November 23: Patchstack advisory; the CVE record follows on November 25 (CWE-22, path traversal).
- According to the WP Media advisory, updated on November 27, versions 3.15 to 3.24.1 are affected when LazyLoad for CSS background images or self-hosting of Google Fonts is enabled. According to Patchstack, both options are disabled by default.
- The entry point is public:
POST /wp-admin/admin-ajax.php,action=rocket_beacon. Insufficiently validated URLs cause the site to download attacker-controlled content, saved as.php, including outside the cache directory (IT-Connect, citing ZeroPath). - November 25, 3:27 p.m. UTC: first attempt observed by Patchstack, manual; automated campaigns within 24 hours, with tens of thousands of attempts blocked on November 26. Payloads are hosted on raw IP addresses,
nip.ionames,trycloudflare.comtunnels and probably compromised WordPress sites. - Latest status checked: the CVE is not listed in CISA's KEV catalog according to OpenCVE, and the CERT-FR alerts page mentions none.
Impact
WP Media, a Lyon-based vendor, claims more than 5.6 million sites and 394,000 customers. The share of sites with one of the options enabled is unknown; ZeroPath advises treating any site before 3.24.2 as exposed. PHP code execution under the web server's identity puts the secrets in wp-config.php and the content served to visitors within the attacker's reach. If personal data is affected, the breach must be notified to the CNIL (the French data protection authority) within 72 hours.
WP Rocket is a paid plugin: for sites whose license has expired or that cannot be updated, WP Media publishes a mitigation plugin, deployable at scale with WP-CLI. Agencies and hosting providers must therefore inventory versions, options and licenses, site by site. Absent from the KEV catalog and from CERT-FR alerts, the vulnerability escapes teams that prioritize using only those sources.
Recommendations
- Update WP Rocket to 3.24.2 or later; failing that, disable both options or install the “WP Rocket | Mitigate CVE-2026-125812” plugin, to be activated site by site on a multisite.
- Look for unexpected PHP files, for example
wp-media-*.php, inwp-content/wp-rocket-config/,wp-content/uploads/and at the root ofwp-content/. - Review access logs since November 25:
rocket_beaconrequests sent by clients that never loaded the reported page or carrying full URLs, and outbound connections tonip.ioortrycloudflare.com. - Block the addresses published by Patchstack at the web application firewall.
- In case of compromise, have the server analyzed, delete accounts created by the attacker, and rotate the
wp-config.phpsecrets and administrator passwords. - Prohibit PHP execution in
wp-content/uploads/.
Method: facts verified against the sources cited below, article reviewed and approved by Frédéric LENQUETTE. Our editorial policy.
Share this article