Skip to content
NewA calmer, faster ZeroHour
Exploit / PoCcriticalExploited in the wild

Hackers exploit critical WP Rocket flaw to run PHP on WordPress sites

Original title: Hackers exploit critical WordPress WP Rocket flaw to breach sites

BleepingComputerby Bill Toulas ()2 min read
Part of a story covered by 4 sourcesAttackers exploit critical WP Rocket flaw to plant PHPMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

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.

Key facts
  • 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.
Security assessment · AI, from the articleExploited in the wild

Impact: Unauthenticated remote execution of attacker-supplied PHP

ProductAffectedFixed in
WP Media WP Rocketbefore 3.24.2, if LazyLoad for CSS background images or Host Fonts Locally is enabled3.24.2
What to do
  1. 1.Upgrade WP Rocket to 3.24.2 or later.
  2. 2.If upgrading is not possible, disable LazyLoad for CSS background images and Self-host Google Fonts.
  3. 3.Block the attacker IP addresses listed by Patchstack and check logs for planted files.
Analyze CVE-2026-125812 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-125812
Path traversal in WP Rocket before 3.24.2
9.81%PoC ×2

Indicators of compromise

auto-extracted · verify before use · export allAll
TypeIndicatorContext
domainnip.ior payloads on bare IP addresses, wildcard DNS names such as nip.io, temporary trycloudflare.com tunnels, and other WordPress s
domaintrycloudflare.comIP 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. [...]

BleepingComputer

By Bill Toulas · bleepingcomputer.com

Read the full article at BleepingComputer

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.