Hackers exploit critical WP Rocket flaw to run PHP on WordPress sites
Original title: Hackers exploit critical WordPress WP Rocket flaw to breach sites
CVE-2026-125812 affects WP Rocket before 3.24.2 only if two optional features are on; Patchstack blocked over 25,000 requests.
Unauthenticated attackers are exploiting CVE-2026-125812 in the WP Rocket caching plugin to write and run PHP downloaded from an external source. WP Media says the paid plugin is used on more than 5.6 million sites. Versions before 3.24.2 are affected only when LazyLoad for CSS background images or Host Fonts Locally is enabled; both are off by default. WP Media fixed the issue on November 19 in 3.24.2. Patchstack saw manual attempts on November 25 that became automated campaigns the next day.
- Patchstack says attackers hit both feature paths, sometimes in one request.
- Payloads are hosted on bare IPs, nip.io names, trycloudflare.com tunnels, and other WordPress sites.
- Sites that cannot update should disable both optional features or use the vendor helper plugin.
- Updating does not remove files already planted; administrators should review logs.
Impact: Unauthenticated remote execution of attacker-supplied PHP
| Product | Affected | Fixed in |
|---|---|---|
| WP Media WP Rocket | before 3.24.2, if LazyLoad for CSS background images or Host Fonts Locally is enabled | 3.24.2 |
- 1.Upgrade WP Rocket to 3.24.2 or later.
- 2.If upgrading is not possible, disable LazyLoad for CSS background images and Self-host Google Fonts.
- 3.Block the attacker IP addresses listed by Patchstack and check logs for planted files.
- CVEs
- CVE-2026-125812
- Vendors
- WP Media
- Products
- WP Rocket
- 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 |
Indicators of compromise
auto-extracted · verify before use · export allAll| Type | Indicator | Context |
|---|---|---|
| domain | nip.io | r payloads on bare IP addresses, wildcard DNS names such as nip.io, temporary trycloudflare.com tunnels, and other WordPress s |
| domain | trycloudflare.com | IP addresses, wildcard DNS names such as nip.io, temporary trycloudflare.com tunnels, and other WordPress sites that are likely compromi |
From the original article
2 min read at bleepingcomputer.com
Hackers are actively exploiting a critical flaw, tracked as CVE-2026-125812, in the WP Rocket caching plugin that allows executing arbitrary PHP code on WordPress sites. [...]
By Bill Toulas · bleepingcomputer.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.