SOCRadarYağmur Ernalbant
WP Rocket flaw lets attackers plant PHP files on sites
Part of the CVE-2026-125812 story · since 29 Nov
- Sun 29 Nov, 17:08 UTC. cybersixt, first report. WP Rocket vulnerability CVE-2026-125812 exploited: what to do.
- Mon 30 Nov, 08:31 UTC. SecurityOnline, its first report on the story. Weekly report flags exploited flaws in WordPress and Drupal.
- Tue 1 Dec, 07:30 UTC. The Hacker News, its first report on the story. Hackers Exploit WP Rocket Flaw to Run Code on WordPress Sites.
- Tue 1 Dec, 09:31 UTC. SOCRadar, its first report on the story. WP Rocket flaw lets attackers plant PHP files on sites. This article, 4th of 5.
- Tue 1 Dec, 11:30 UTC. SecurityWeek, its first report on the story. Hackers exploit critical WP Rocket flaw days after patch.
A critical vulnerability, CVE-2026-125812, in the WP Rocket plugin for WordPress has allowed unauthenticated visitors to write a PHP file to a site and subsequently execute it. Exploitation began on 25 November 2026, six days after WP Rocket released a fix, with activity rising to tens of thousands of blocked attempts the following day.
WP Rocket is a premium caching and performance plugin used on more than 5.5 million sites; the exposure affects sites only if one of two optional features is enabled, although both features are commonly used on performance-tuned sites. The flaw arises from path traversal (CWE-22) and enables remote code execution without login or user interaction. The fix was included in version 3.24.2, released on 19 November 2026, with 3.24.3 subsequently issued on 26 November 2026.
The vulnerability affects every version prior to 3.24.2, but is exploitable only when either LazyLoad for CSS background images or Host Fonts Locally is enabled; both settings are off by default. Patchstack’s analysis explains that the issue stems from insufficient validation of URLs reported by a browser-based optimization script that communicates via the rocket_beacon action on /wp-admin/admin-ajax.php. A public PoC exploit exists on GitHub.
Indicators of compromise include planted PHP files named wp-media-*.php found within wp-content/wp-rocket-config/, wp-content/uploads/ or the web root, plus beacon traffic and unusual outbound fetches to bare IPs, nip[.]io domains, or trycloudflare[.]com tunnels. Upgrading to 3.24.2+ is advised, and compromised sites should be treated as such until checked, with remediation steps outlined in the report.
How the story developed
5 articles from 5 outlets since 29 Nov. Still developing; the latest report was 6 hours ago. This was the 4th report, 2 days after the first.
- Sun 29 Nov, 17:08 UTC. cybersixt, first report. WP Rocket vulnerability CVE-2026-125812 exploited: what to do.
- Mon 30 Nov, 08:31 UTC. SecurityOnline, its first report on the story. Weekly report flags exploited flaws in WordPress and Drupal.
- Tue 1 Dec, 07:30 UTC. The Hacker News, its first report on the story. Hackers Exploit WP Rocket Flaw to Run Code on WordPress Sites.
- Tue 1 Dec, 09:31 UTC. SOCRadar, its first report on the story. WP Rocket flaw lets attackers plant PHP files on sites. This article, 4th of 5.
- Tue 1 Dec, 11:30 UTC. SecurityWeek, its first report on the story. Hackers exploit critical WP Rocket flaw days after patch.
- CVE not in KEV
- No CVE
- Larger: an outlet’s first report
- Coverage over time
Show all 5 articles as a listHide the list
- Sun 29 NovDay 01
- WP Rocket vulnerability CVE-2026-125812 exploited: what to do17:08 · cybersixt · First report
- Mon 30 NovDay 11
- Weekly report flags exploited flaws in WordPress and Drupal08:31 · SecurityOnline
- Tue 1 DecDay 23
- Hackers Exploit WP Rocket Flaw to Run Code on WordPress Sites07:30 · The Hacker News
- WP Rocket flaw lets attackers plant PHP files on sites09:31 · SOCRadar · This article, 4th of 5
- Hackers exploit critical WP Rocket flaw days after patch11:30 · SecurityWeek