← All advisories
Critical First reported · Updated · 5 sources · 5 articles

Critical WP Rocket WordPress plugin flaw (CVE-2026-125812) exploited for unauthenticated RCE

A path traversal flaw in the WP Rocket caching plugin (CVSS 9.8) lets unauthenticated attackers make a site fetch an attacker-controlled URL and write it to a traversed path, planting a PHP file in the webroot and gaining code execution. Attackers began exploiting it days after version 3.24.2 was released on November 19, 2026. Sites running earlier versions should update to 3.24.2 or later immediately and check webroot and plugin directories for unexpected PHP files.

Why Critical

Actively exploited unauthenticated remote code execution in a plugin installed on over 5 million WordPress sites.

What to do

  1. Update WP Rocket to version 3.24.2 or later.
  2. If you cannot update, turn off 'LazyLoad for CSS background images' and 'Self-host Google Fonts' (Host Fonts Locally) under WP Rocket > Page Optimization > Image & Media > Media tab, or use the vendor's helper plugin to mitigate across multiple sites.
  3. Block the attacker IP addresses listed by Patchstack.
  4. Check wp-content/wp-rocket-config/, wp-content/uploads/ and wp-content/ for unexpected PHP files named wp-media-*.php, since updating does not remove files already planted.
  5. Review historical logs for 'rocket_beacon' requests from clients that never loaded the reported page, and for outbound requests from the web server to unfamiliar hosts, nip.io domains, trycloudflare.com tunnels or other possibly compromised WordPress sites.

Exploitation

Exploited in the wild.

Affected versions

  • WP Rocket WordPress plugin: all versions before 3.24.2 (3.15 through 3.24.1 per SecurityWeek), when 'LazyLoad for CSS background images' or 'Host Fonts Locally/Self-host Google Fonts' is enabled

Fixed versions

  • WP Rocket WordPress plugin: 3.24.2 (released November 19)

Indicators of compromise

IP addresses

  • 103.235.74[.]71
  • 157.245.122[.]230
  • 152.89.170[.]194
  • 180.232.236[.]101
  • 103.235.74[.]72
  • 201.79.120[.]217
  • 112.78.154[.]32
  • 167.71.75[.]155
  • 43.163.8[.]253
  • 51.79.199[.]209

Domains

  • nip[.]io
  • trycloudflare[.]com

File names

  • wp-media-*.php

Shown defanged ([.] and hxxp) so they are not clickable.

From the full article text, extracted with AI. Always check the original articles below.

Chance of exploitation (EPSS)

7.3% in the next 30 days, higher than 94.5% of all CVEs. Estimated daily by FIRST.org; for the story's highest-scoring CVE.

Categories

  • Web Technologies
  • Zero-Day Vulnerabilities

CVEs

  • CVE-2026-125812

Affected products

  • WordPress WP Rocket before 3.24.2

Timeline

  • Picked up by Early Warning
  • New source: BleepingComputer
  • Level Medium → High
  • New source: The Hacker News
  • New source: SecurityWeek
  • Level High → Critical
  • New source: Horizon3.ai