Critical WP Rocket Bug CVE-2026-125812 Exploited in Live Attacks

Critical · Patchstack ·

WordPress · Exploited

Key points

  • CVE-2026-125812 is a critical WP Rocket vulnerability affecting WordPress sites.
  • Attackers can run code remotely without authenticating.
  • Exploitation has been observed in live campaigns.
  • Admins should move to WP Rocket 3.24.2 and apply a mitigation rule if patching is delayed.

Patchstack has raised the alarm over CVE-2026-125812, a critical security defect in WP Rocket that puts WordPress installations at risk. The flaw permits code execution from a remote position, and no authentication is needed to attempt exploitation. That combination makes the issue especially dangerous for any site still running an affected build.

Evidence indicates the bug is not theoretical. Attacks are already happening in real-world conditions, with adversaries actively going after vulnerable deployments. Because the entry point does not require a valid account, public-facing WordPress sites are the most immediate concern; school district web properties and other WordPress-based services should be inventoried first.

Successful exploitation could give an intruder a foothold on the web server, which may lead to content tampering, data exposure, or broader infrastructure compromise. The vendor guidance is to move WP Rocket to version 3.24.2. Where that upgrade cannot be completed immediately, a mitigation rule should be placed in front of the site to block known attack patterns while patching is scheduled.

Patchstack's tracking and the observed targeting mean defenders should assume scanning is underway. Watch web logs for unusual requests to WP Rocket components, unexpected file changes, new administrative accounts, and outbound connections from the web tier. Confirm backups are clean before restoring, and keep monitoring advisories until all WordPress instances have been verified at 3.24.2.

What to do now

  1. Inventory every WordPress site that runs WP Rocket and upgrade each installation to 3.24.2 now.
  2. If an immediate upgrade is impossible, deploy a WAF or virtual-patch mitigation rule that blocks exploitation attempts against the vulnerable component.
  3. Hunt for signs of compromise: webshells, modified WordPress core or plugin files, unfamiliar admin users, and suspicious scheduled tasks.
  4. Review web and application logs for requests targeting WP Rocket endpoints, then block hostile sources and preserve evidence.
  5. Rotate WordPress authentication keys and salts, administrator passwords, and any API credentials stored on affected hosts if compromise is suspected.
  6. Isolate or rebuild compromised systems from a known-good backup, then re-scan before returning them to service.
  7. Track Patchstack and WP Rocket advisories and verify remediation across all environments, including staging and multisite networks.

CVE references

  • CVE-2026-125812

Original source

Patchstack

Original AI-assisted analysis, sources cited. Verify with the vendor advisory before acting.

← All cyber news