---
schema: 1
kind: vulnerability
title: "CVE-2026-125812, WP Rocket before 3.24.2: an unauthenticated request to the plugin's rocket_beacon AJAX action makes the site fetch attacker-hosted content and save it as a PHP file that then runs, on sites with LazyLoad for CSS background images or Host Fonts Locally enabled; Patchstack reports exploitation since 2026-11-25 (CVSS 9.8)"
headline: "WP Rocket CVE-2026-125812: unauthenticated PHP file write exploited per Patchstack; update to 3.24.2"
summary: >
  Patchstack reports that CVE-2026-125812, an unauthenticated flaw in the WP Rocket WordPress plugin before 3.24.2 (CVSS 9.8),
  is being exploited: a crafted request to the plugin's public rocket_beacon AJAX action makes the site download attacker-hosted
  content and save it as a PHP file that runs, on sites that enabled LazyLoad for CSS background images or Host Fonts Locally.
  WP Rocket fixed it in 3.24.2 on 2026-11-19; Patchstack saw the first attempt on 2026-11-25 and automated campaigns on 2026-11-26 and says
  several independent operators are active; the update does not remove files already planted.
discovered_at: "2026-11-29T04:33:00Z"
updated_at: null
event_date: "2026-11-25"
run_id: 2026-11-29T0355Z-intel
priority: high
immediate_action: null
tags: [vulnerabilities, rce, pre-auth, actively-exploited, patch-available]
regions: [global]
sectors: [technology]
entities: ["product:wp-media-wp-rocket"]
techniques: [T1190, T1105]
affected_products: ["WP Media WP Rocket"]
cves:
  - id: CVE-2026-125812
    cvss: "9.8"
    epss: null
    type: rce
    vector: zero-click
    auth: pre-auth
    status: [exploited, patch-available]
    affected: "WP Rocket before 3.24.2 with LazyLoad for CSS background images or Host Fonts Locally enabled (no lower bound stated)"
    fixed: "3.24.2"
sources:
  - url: "https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/"
    publisher: "Patchstack"
    date: "2026-11-27"
    role: primary
  - url: "https://wp-rocket.me/changelog/"
    publisher: "WP Rocket changelog"
    date: "2026-11-19"
    role: corroborating
closed_sources: []
evidence:
  - quote: "This vulnerability is currently being targeted in the wild."
    publisher: "Patchstack"
    source_url: "https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/"
  - quote: "Within a day the activity had turned into automated campaigns, with tens of thousands of blocked attempts on November 26 alone."
    publisher: "Patchstack"
    source_url: "https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/"
  - quote: "Improve validation of cached CSS, font and preconnect files"
    publisher: "WP Rocket changelog"
    source_url: "https://wp-rocket.me/changelog/"
verification: single-source
sourcing_note: >
  The flaw, the score and the exploitation account are Patchstack's, which is also the CNA for the CVE; the vendor's changelog
  independently dates the fixed release and lists a security line without naming the CVE or any exploitation. Exploitation rests on
  Patchstack's own telemetry with no second observer, so it is first-hand but unconfirmed.
confidence: medium
references: []
deep_dive: false
deep_dive_category: null
org_triage: null
classification:
  reliability: B
  credibility: 2
watchlist_hit: false
actions:
  - "Update WP Rocket to 3.24.2 or later on every WordPress site you run or host for others, sites with LazyLoad for CSS background images or Host Fonts Locally on first, or turn both features off until then, and on any site that ran an older build with either feature on look for PHP files nobody deployed in wp-content/wp-rocket-config/, wp-content/uploads/ and wp-content/ and for rocket_beacon POSTs in the access logs since 2026-11-25, because the update does not remove a file already planted."
updates: []
migrated_from: null
---

WP Rocket, a caching plugin for WordPress, runs a small script in visitors' browsers that measures each page and reports the results to a public AJAX endpoint, the admin-ajax.php action rocket_beacon, and it does not validate the reported URLs strictly enough: a crafted report makes the site download content from a server the attacker controls and save it as a PHP file, and the attacker's code then runs on the server ([Patchstack, 2026-11-27](https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/)). Versions before 3.24.2 are affected on sites with LazyLoad for CSS background images or Host Fonts Locally turned on, features Patchstack says are off by default but common on performance-tuned sites ([Patchstack, 2026-11-27](https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/)). The vendor's changelog dates 3.24.2 to 2026-11-19 with a security line, "Improve validation of cached CSS, font and preconnect files", and names neither the CVE nor any exploitation ([WP Rocket changelog, 2026-11-19](https://wp-rocket.me/changelog/)).

Patchstack's telemetry shows the first exploitation attempt on 2026-11-25 at 15:27 UTC, a hand-run attempt at first and, within a day, automated campaigns with tens of thousands of blocked attempts on 2026-11-26 alone; Patchstack says several independent operators are active and host their payloads on bare IP addresses, wildcard DNS names, temporary tunnel hosts and other WordPress sites that are likely compromised ([Patchstack, 2026-11-27](https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/)). Patchstack is the only source that states exploitation.

**Exposure:** any internet-facing WordPress site running WP Rocket before 3.24.2 with either feature enabled; the endpoint is reachable without login ([Patchstack, 2026-11-27](https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/)). The plugin version and the state of the two features are readable in the WordPress plugin list and the WP Rocket settings.

**Detection:** in web access logs, POSTs to /wp-admin/admin-ajax.php with action=rocket_beacon from clients that never loaded the page they report on, or that report full URLs where the plugin expects bare domains; in egress telemetry, outbound requests from the web server to unfamiliar hosts, wildcard-DNS names or temporary tunnel hosts; on disk, PHP files nobody deployed in wp-content/wp-rocket-config/, wp-content/uploads/ or directly in wp-content/ ([Patchstack, 2026-11-27](https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/)). The update stops new attacks but does not remove files already planted, so a site that ran a vulnerable version needs those directories and the logs since 2026-11-25 reviewed.

**Defender takeaway:** update WP Rocket to 3.24.2 or later on every site, turning off both features where the update has to wait ([Patchstack, 2026-11-27](https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/)); then check the three directories and the access logs on any site that was exposed, because the fix does not undo a write that already happened.
