CVE-2026-125812
WP Rocket flaw lets an attacker with no login write files to a WordPress site and run code, and a public exploit is out; fixed in 3.24.2
Reachable if a WordPress site runs WP Rocket before 3.24.2 and can be reached over the network. No login is needed, per Patchstack. The proof-of-concept author's lab has font optimization on, but WP Media hasn't said which settings matter
Update WP Rocket to 3.24.2. Patchstack says every version before 3.24.2 lets an attacker with no login run code on the WordPress site, and rates it 9.8 Critical. WP Media shipped 3.24.2 on November 19 with a changelog entry that says "Improve validation of cached CSS, font and preconnect files." A public proof-of-concept exploit now runs against a real WordPress install with WP Rocket 3.24.1, and its author says the bug is a path traversal in WP Rocket's font optimization that writes an attacker's file into the webroot.
Check your license before you assume the update arrived. WP Rocket is a paid plugin sold outside wordpress.org, and WP Media says that when a license expires the site loses plugin updates while the plugin keeps running. A site with an expired license stays on the vulnerable version until someone renews it or installs 3.24.2 by hand from the WP Rocket account.
No exploitation has been reported, and it is not on CISA's Known Exploited Vulnerabilities catalog as of the November 25 catalog. Patchstack says it is "expected to become exploited" in mass campaigns. CISA's assessment on the CVE record rates exploitation as none so far, and rates the flaw as automatable with total technical impact.
Is it reachable for you?
What it is. Patchstack classes it as remote code execution through a path traversal (CWE-22), with no login needed. The proof-of-concept author says the attack goes through an action WP Rocket accepts from anonymous visitors and makes the plugin's font optimization save a downloaded file outside its fonts cache folder, in the webroot. We don't describe the requests.
Who is most exposed. Internet-facing WordPress sites on WP Rocket before 3.24.2, especially sites whose license has expired and so can't receive updates. The proof-of-concept author's lab runs with WP Rocket's font optimization turned on, and the exploit checks that the plugin's beacon is active. WP Media hasn't said which settings matter, so treat every site below 3.24.2 as exposed.
Checks, in three tiers. The first two decide exposure. The third decides priority. Run these only on sites your organization owns.
- Which WP Rocket version runs? Check the Plugins page in the WordPress admin, or run wp plugin list with WP-CLI. Anything below 3.24.2 is affected.
- Can the site receive the update? Check that the WP Rocket license on each site is active. WP Media says an expired license stops plugin updates. If the update notice doesn't appear, WP Media's update guide covers forcing it or installing manually.
- Is the site internet-facing, and is font optimization on? Public sites go first. Sites with font optimization enabled match the proof-of-concept author's lab.
Compensating controls (test them, don't assume them)
WP Media has published no workaround. Patchstack says it has issued a mitigation rule for its own customers that blocks attacks until the site is updated.
The patch is the only fix. Update WP Rocket to 3.24.2 or later.
What to look for in logs
WP Media and Patchstack have published no indicators of compromise for this flaw.
FAQ
Am I exposed to CVE-2026-125812?
You are if a WordPress site runs WP Rocket before 3.24.2 and can be reached over the network. No login is needed, per Patchstack.
Is it being exploited?
Not that anyone has reported. It is not on CISA KEV as of the November 25, 2026 catalog, and CISA's assessment on the CVE record rates exploitation as none. Patchstack says it is "expected to become exploited" in mass campaigns, and a public proof-of-concept exploit is available.
Our sites auto-update. Are we covered?
Only if each site's WP Rocket license is active. WP Media says an expired license stops plugin updates while the plugin keeps working, so check the installed version on each site.
Is there a workaround?
WP Media has published none. Patchstack says its customers get a mitigation rule. Updating to 3.24.2 is the fix.
Why isn't it on wordpress.org?
WP Rocket is a premium plugin sold by WP Media, so it doesn't appear in the wordpress.org plugin directory and updates come through WP Rocket's own update system.
Who found it?
Patchstack credits Vorelito, who reported it on November 4. Patchstack published its advisory on November 23, and the CVE record followed on November 25.
- Vendor
- WP Media
- Product
- WP Rocket (premium WordPress caching plugin)
- Affected versions
- WP Rocket before 3.24.2, per Patchstack and the CVE record
- Vulnerable component
- WP Rocket's font optimization, per the proof-of-concept author. WP Media's changelog says 3.24.2 improves validation of cached CSS, font and preconnect files
- CVSS
- 9.8 Critical (Patchstack as CNA, CVSS 3.1); NVD has not added its own score
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (Patchstack)
- CWE
- CWE-22 Path traversal (Patchstack)
- Exploitation
- Not observed
- CISA KEV added
- Patch
- WP Rocket 3.24.2 (November 19, 2026), per WP Media's changelog and Patchstack. WP Rocket is sold outside wordpress.org, and WP Media says an expired license stops plugin updates, so those sites need the license renewed or the update downloaded from the WP Rocket account
Updates
Nov 26, 2026. First published. WP Media fixed CVE-2026-125812 in WP Rocket 3.24.2 on November 19, Patchstack published it on November 23, and a public proof-of-concept exploit now runs against a real WP Rocket 3.24.1 install. Not on CISA KEV (catalog 2026.11.25).
Sources
- Patchstack, WP Rocket plugin < 3.24.2 remote code execution (Nov 23, 2026; affected and patched versions, 9.8, unauthenticated, credit Vorelito, mitigation rule)
- WP Rocket changelog (3.24.2, Nov 19, 2026)
- WP Rocket, What happens if my license expires? and Updating WP Rocket
- CVE record CVE-2026-125812 (Patchstack CNA, Nov 25, 2026; CISA SSVC exploitation none, automatable yes) and NIST NVD (no NVD score)
- Proof of concept, joshuavanderpoll/CVE-2026-125812 (Docker lab with WordPress 6.6 and WP Rocket 3.24.1; read only, not run)
- CISA Known Exploited Vulnerabilities catalog (not listed as of catalog version 2026.11.25)
We publish an advisory when a vulnerability is Critical or on CISA KEV, has one identifiable component to check, and has a public proof of concept or reported exploitation. Advisories are updated as exploitation status changes.