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
- Update WP Rocket to version 3.24.2 or later.
- 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.
- Block the attacker IP addresses listed by Patchstack.
- 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.
- 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[.]71157.245.122[.]230152.89.170[.]194180.232.236[.]101103.235.74[.]72201.79.120[.]217112.78.154[.]32167.71.75[.]15543.163.8[.]25351.79.199[.]209
Domains
nip[.]iotrycloudflare[.]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
Sources
- NVD: CVE-2026-125812: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in WP Media WP Rocket wp-ro
- BleepingComputer: Hackers exploit critical WordPress WP Rocket flaw to breach sites
- The Hacker News: Hackers Target Critical WP Rocket Flaw Allowing Unauthenticated Remote Code Execution
- SecurityWeek: Critical WordPress WP Rocket Vulnerability Exploited Days After Patching
- Horizon3.ai: CVE-2026-125812
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