Wednesday, December 2, 2026

Sign in

WP Rocket RCE Under Attack: Check Your WordPress Site

Add On the record as a preferred source on Google
Air defense
File photo: Air defense. Photo: Dietmar Rabich / CC BY-SA 4.0 via Wikimedia Commons

Key facts

  • Attackers are actively exploiting a critical flaw in WP Rocket.1
  • The first exploitation attempt was recorded on November 25, 2026, six days after WP Rocket shipped the fix.2
  • Patchstack reported on November 27, 2026 that attacks are underway, only six days after the fix shipped.1

Attackers are actively exploiting a critical flaw in WP Rocket, the WordPress caching plugin that runs on more than 5.5 million sites, Frost Rank said in a statement.1

The flaw, CVE-2026-125812, lets unauthenticated visitors write a PHP file to a WordPress site and then run it, SOCRadar Blog said in a statement.2

A Flaw That Lets Attackers Write PHP Files

The first exploitation attempt was recorded on November 25, 2026, six days after WP Rocket shipped the fix, and activity climbed to tens of thousands of blocked attempts the next day, SOCRadar Blog said in a statement.2

A researcher credited as Vorelito found the flaw and reported it through the Patchstack Bug Bounty Program on November 4, 2026, and WP Media fixed it in version 3.24.2, released on November 19, 2026, SOCRadar Blog said in a statement.2

WP Media has not published a separate security advisory, and the 3.24.2 changelog describes the fix only as improved validation of cached CSS, font and preconnect files, SOCRadar Blog said in a statement.2

WP Rocket

The short version is to update WP Rocket to version 3.24.2 or later, then look for signs of a break-in, Frost Rank said in a statement.1

Some WP

Some WP Rocket optimizations rely on a small script that runs in each visitor’s browser, measures the page, and reports the results back to the site through a public AJAX endpoint, the rocket_beacon action on /wp-admin/admin-ajax.php.2

Patchstack’s analysis shows that a crafted report can make the site fetch content from a server the attacker controls and save it as a PHP file inside the web root, SOCRadar Blog said in a statement.2

The plugin uses the URLs in those reports to build optimized assets, downloading fonts or CSS background images to serve them locally.1

Before version 3.24.2 it did not check those URLs strictly enough, Frost Rank said in a statement.1

How to Fix the Flaw

Only sites with one of two optional performance features enabled are exposed, but both are common on performance-tuned sites, SOCRadar Blog said in a statement.2

The settings live under WP Rocket > Page Optimization > Image & Media > Media tab, Frost Rank said in a statement.1

The report goes to a public endpoint, POST /wp-admin/admin-ajax.php with the action rocket_beacon, which anyone on the internet can reach without logging in, Frost Rank said in a statement.1

The attack needs no login, no user interaction, and no special network position — the endpoint is public by design, because it serves every visitor, Frost Rank said in a statement.1

Several independent operators are running campaigns, and payloads are hosted on bare IP addresses, nip.io wildcard DNS names, trycloudflare.com tunnels, and WordPress sites that are likely already compromised, Frost Rank said in a statement.1

Wordfence, another WordPress security provider, reported blocking nearly 400 attacks targeting the flaw in the last 24-hour period.2

Sources

Every number in the story points here. Each links to the original reporting.

Who reported it 2 outlets
LeftCenterRight

CompanyFrost Rank, SOCRadar Blog

  1. 1
    Dec 1, 7:26am ET
    Back to the story
  2. 2
    Dec 1, 4:06am ET
    Back to the story

See a sentence its source doesn’t back up?

Tell us the source number and what’s wrong. We check every report. If we change the story, the fix goes on the corrections page with the old wording.

More like this