WP Rocket before 3.24.2 exploited for unauthenticated code execution
Original title: Hackers Exploit Critical WP Rocket Vulnerability to Compromise WordPress Websites
Patchstack logged the first attempt on November 25 and blocked tens of thousands of requests on November 26.
Attackers are exploiting CVE-2026-125812, a CVSS 9.8 flaw in the WP Rocket WordPress plugin, to run PHP without logging in. Patchstack’s November 27 advisory says versions earlier than 3.24.2 are affected when LazyLoad for CSS background images or Host Fonts Locally is enabled, and urges an update to 3.24.2 or later. Early activity looked manual, then automated; telemetry measures blocked requests, not confirmed compromises. Updating closes the path but does not remove files planted earlier.
Unconfirmed: Blocked-request counts do not show how many sites were compromised.
- Both vulnerable features are off by default.
- The ten most active IPs accounted for roughly half of blocked attempts.
- One cluster sent identical requests from four residential addresses, suggesting a proxy pool.
- Review rocket_beacon requests from clients that did not load the measured page.
- Watch outbound connections to unfamiliar hosts, including nip.io and trycloudflare.com.
Impact: Unauthenticated remote PHP code execution on the server
| Product | Affected | Fixed in |
|---|---|---|
| WP Rocket | earlier than 3.24.2 with LazyLoad for CSS background images or Host Fonts Locally enabled | 3.24.2 |
- 1.Update to WP Rocket 3.24.2 or later.
- 2.Disable both affected optimization features if an immediate update is impossible.
- 3.Inspect wp-content, uploads, and wp-rocket-config for unexpected PHP such as wp-media-*.php.
- CVEs
- CVE-2026-125812
- Vendors
- WP Rocket
- Products
- WordPress
- Organizations
- Patchstack
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-125812 | Path traversal in WP Rocket before 3.24.2 | 9.8 | 1% | PoC ×2 |
From the original article
2 min read at gbhackers.com
Attackers are exploiting a critical vulnerability in WP Rocket, a WordPress caching and performance plugin. Tracked as CVE-2026-125812, the flaw lets remote attackers run PHP code on vulnerable websites without logging in. Patchstack’s November 27 advisory assigns the vulnerability a CVSS score of 9.
By Divya · gbhackers.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.