---
title: 'WP Rocket exploited: update to 3.24.2 to stop code execution (CVE-2026-125812)'
description: >-
  Fix available. Reported exploited. CVE-2026-125812 is a critical flaw (CVSS 9.8) in WP Rocket, a
  paid caching plugin for WordPress. An attacker without a...
url: https://expiredqueues.com/security-advisories/wp-rocket-cve-2026-125812/
markdown: https://expiredqueues.com/security-advisories/wp-rocket-cve-2026-125812/index.md
image: https://expiredqueues.com/images/og/security-advisories-wp-rocket-cve-2026-125812-6c20852a.jpg
---

[Security advisories](https://expiredqueues.com/security-advisories/index.md)

# WP Rocket exploited: update to 3.24.2 to stop code execution (CVE-2026-125812)

First listed 2 December 2026 Updated 2 December 2026

Reported exploited Fix available

CVE-2026-125812 is a critical flaw (CVSS 9.8) in WP Rocket, a paid caching plugin for WordPress. An attacker without a login can make the plugin write and run PHP code through crafted requests. WP Rocket says versions 3.15 through 3.24.1 are affected, but only when "LazyLoad for CSS background images" or "Self-host Google Fonts" is turned on; both are off by default. WP Rocket fixed it in 3.24.2 on 19 Nov 2026. Patchstack, a WordPress security company, says it saw the first exploitation on 25 Nov and blocked tens of thousands of attempts on 26 Nov alone. WP Rocket's advisory of 27 Nov repeats Patchstack's report and does not confirm attacks itself. SecurityWeek reported it on 1 Dec.

## Is CVE-2026-125812 exploited?

Reported, not confirmed. The press reports attacks; WP Rocket has not confirmed them.

## Is there a fix?

Yes. A fix is out. The details are in [the source](https://wp-rocket.me/docs/wp-rocket-security-advisory-and-mitigation-steps-for-cve-2026-125812/).

- **Vendor:** WP Rocket
- **Type:** Exploited
- **Status:** Fix available. Exploitation reported by the press, not confirmed by the vendor.
- **CVE:** [CVE-2026-125812](https://www.cve.org/CVERecord?id=CVE-2026-125812)
- **Tags:** wp rocket, WordPress, [PHP](https://expiredqueues.com/security-advisories/stack/php/index.md)
- **History:**
  - 2 December 2026 First listed. Fixed in 3.24.2 on 19 Nov; Patchstack reports exploitation since 25 Nov (post of 27 Nov), reported by SecurityWeek on 1 Dec.

[Read the source](https://wp-rocket.me/docs/wp-rocket-security-advisory-and-mitigation-steps-for-cve-2026-125812/)

## More sources

- [patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-a...](https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/)
- [wp-rocket.me/changelog/](https://wp-rocket.me/changelog/)
- [www.securityweek.com/critical-wordpress-wp-rocket-vulnerability-exploi...](https://www.securityweek.com/critical-wordpress-wp-rocket-vulnerability-exploited-days-after-patching/)

## Related advisories

- [Upload2Shell: Ghostscript font bug turns uploaded files into code execution (CVE-2026-125396)](https://expiredqueues.com/security-advisories/ghostscript-upload2shell-cve-2026-125396/index.md)
- [Cacti 4HTTP2SHELL zero-day exploited: guest SQL injection gives code execution](https://expiredqueues.com/security-advisories/cacti-4http2shell-zero-day-2026-11/index.md)
- [TYPO3 exploited: update to 13.4.40 or 14.3.12 to stop form upload leak (CVE-2026-125160)](https://expiredqueues.com/security-advisories/typo3-cve-2026-125160/index.md)
- [Drupal core exploited again: update to 11.4.14 or 10.6.23 (CVE-2026-136716)](https://expiredqueues.com/security-advisories/drupal-core-cve-2026-132165/index.md)
- [Palo Alto PAN-OS firewalls rooted through exploited Fragnesia kernel flaw (CVE-2026-46300)](https://expiredqueues.com/security-advisories/palo-alto-pan-os-fragnesia-cve-2026-46300/index.md)

This is one entry in a list I pick by hand. It tells you whether a fix exists. For how to apply it, follow the source. [See all advisories](https://expiredqueues.com/security-advisories/index.md).

**Follow Expired Queues.** We are on X and Instagram.

[](https://x.com/expiredqueues "Expired Queues on X (@expiredqueues)")[](https://www.instagram.com/expiredqueues/ "Expired Queues on Instagram (@expiredqueues)")

## Structured data

```json
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Article",
      "headline": "WP Rocket exploited: update to 3.24.2 to stop code execution (CVE-2026-125812)",
      "description": "CVE-2026-125812 is a critical flaw (CVSS 9.8) in WP Rocket, a paid caching plugin for WordPress. An attacker without a login can make the plugin write and run PHP code through crafted requests. WP Rocket says versions 3.15 through 3.24.1 are affected, but only when \"LazyLoad for CSS background images\" or \"Self-host Google Fonts\" is turned on; both are off by default. WP Rocket fixed it in 3.24.2 on 19 Nov 2026. Patchstack, a WordPress security company, says it saw the first exploitation on 25 Nov and blocked tens of thousands of attempts on 26 Nov alone. WP Rocket's advisory of 27 Nov repeats Patchstack's report and does not confirm attacks itself. SecurityWeek reported it on 1 Dec.",
      "datePublished": "2026-12-02",
      "dateModified": "2026-12-02",
      "author": {
        "@type": "Person",
        "name": "Adrian Noel",
        "url": "https://expiredqueues.com/about/"
      },
      "publisher": {
        "@type": "Person",
        "name": "Adrian Noel"
      },
      "mainEntityOfPage": "https://expiredqueues.com/security-advisories/wp-rocket-cve-2026-125812/",
      "isPartOf": {
        "@type": "CollectionPage",
        "@id": "https://expiredqueues.com/security-advisories/"
      },
      "about": "WP Rocket",
      "keywords": "CVE-2026-125812",
      "citation": "https://wp-rocket.me/docs/wp-rocket-security-advisory-and-mitigation-steps-for-cve-2026-125812/"
    },
    {
      "@type": "BreadcrumbList",
      "itemListElement": [
        {
          "@type": "ListItem",
          "position": 1,
          "name": "Home",
          "item": "https://expiredqueues.com/"
        },
        {
          "@type": "ListItem",
          "position": 2,
          "name": "Security advisories",
          "item": "https://expiredqueues.com/security-advisories/"
        },
        {
          "@type": "ListItem",
          "position": 3,
          "name": "WP Rocket exploited: update to 3.24.2 to stop code execution (CVE-2026-125812)",
          "item": "https://expiredqueues.com/security-advisories/wp-rocket-cve-2026-125812/"
        }
      ]
    }
  ]
}
```
