Latest stories

Vulnerabilities

Hackers exploit critical WP Rocket flaw in WordPress sites

CriticalCVE-2026-125812Ler em português

Summary Hackers are actively exploiting a critical flaw in the WP Rocket caching plugin used on WordPress sites. The vulnerability, tracked as CVE-2026-125812, allows arbitrary PHP code execution. Administrators should update WP Rocket to version 3.24.2 or later.

What happened

According to BleepingComputer, attackers are actively exploiting a critical flaw in WP Rocket, a caching plugin for WordPress. The flaw, identified as CVE-2026-125812, makes it possible to execute arbitrary PHP code on affected sites. In practical terms, an attacker who manages to trigger the vulnerability can run commands of their choice in the site's environment.

CVE-2026-125812 has a CVSS score of 9.8 (Critical). The probability of exploitation (EPSS) is 1.3%. CVE-2026-125812 is not listed in CISA's KEV catalog.

The official description classifies the flaw as a path traversal issue, an improper limitation of a pathname to a restricted directory. According to that description, the affected versions are those before 3.24.2 of WP Rocket.

Impact

A vulnerability that allows PHP code execution puts control of the site at risk, since the attacker gains the ability to execute code in the server environment. The sources consulted do not detail the full reach of the attacks or say how many sites have already been compromised, and this article does not speculate on those numbers.

Because the plugin is installed on production sites, exploitation can affect content integrity, the security of visitor data and service availability. The seriousness is heightened by the fact that the flaw is being used in practice, not only described in theory.

Who is affected

WordPress sites running the WP Rocket plugin in versions earlier than 3.24.2 are affected, according to the official description of the flaw. Site administrators, agencies and hosting providers that manage multiple installations should treat the issue as a priority, since version checks must be done site by site.

What to do now

  1. Check the WP Rocket version installed on each WordPress site and update to 3.24.2 or later.
  2. If the update cannot be applied immediately, temporarily disable the plugin until the fix is in place, weighing the effect on site performance.
  3. Review access logs and look for recently modified or unauthorized PHP files as possible signs of compromise.
  4. Rotate administrator passwords and revoke access keys if there is any suspicion of intrusion.
  5. Follow the plugin vendor's advisories and the status of this flaw in the CISA catalog of known exploited vulnerabilities.

Technical details

  • Identifier: CVE-2026-125812
  • Product: WP Rocket (wp-rocket), a caching plugin for WordPress
  • Vendor: WP Media
  • Type: Path Traversal, an improper limitation of a pathname to a restricted directory
  • Affected versions: before 3.24.2
  • Impact described in the sources: arbitrary PHP code execution
  • Exploitation status: active, according to BleepingComputer
  • Severity: critical, per the official record

Sources

  • BleepingComputer: https://www.bleepingcomputer.com/news/security/hackers-exploit-critical-wordpress-wp-rocket-flaw-to-breach-sites/