Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2026-125812: Unauthenticated Remote Code Execution via Path Traversal in WP Rocket

Published Nov 25, 2026 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days16 mentions · peak 10 in a dayToday
CVSS9.8Critical · v3.1
EPSS1.0%62nd percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
IdentifiersCVE-2026-125812CWE-22 · Improper Limitation of a Pathname…

CVE-2026-125812 is a path traversal vulnerability in WP Media's WP Rocket WordPress plugin affecting versions before 3.24.2; the earliest affected release is unspecified. The CSS caching function FilesystemCache::generate_path() constructs filesystem destinations from URL-derived host and path components without adequate normalization, validation, or directory-containment checks. An equivalent weakness affects local font storage through Fonts\Filesystem::write_font_css(). Attacker-influenced URLs can direct downloaded content outside the intended cache directories under attacker-influenced filenames, potentially enabling remote code execution. Patchstack classifies the vulnerability as unauthenticated remote code execution, with a CNA-assigned CVSS v3.1 score of 9.8.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can write attacker-controlled fetched content outside the intended cache or font directories. If the destination and filename permit server-side execution, this enables remote code execution with the permissions of the affected web application process, potentially compromising site data, modifying application content, and disrupting service. The CNA assessment indicates high confidentiality, integrity, and availability impact. Active exploitation has not been confirmed.

Mitigation

If you can’t patch tonight, do this now.

Patchstack issued an interim attack-blocking rule, but its implementation details are not public. Disabling an individual caching or font feature is not established as a reliable workaround because the exact vulnerable entry points and required feature configuration are unspecified. For suspected compromise, disable preloading, clear the cache, deactivate the plugin, and clean the site before reactivation with a patched version. Malicious cached content alone does not establish exploitation of this vulnerability.

Remediation

Patch, then assume compromise.

Upgrade WP Rocket to version 3.24.2 or later and verify that the installed version reflects the update. Version 3.24.2 adds path normalization, host and filename validation, directory-containment enforcement, restrictions against executable filenames, font-content verification, and stricter URL handling. Updates can be applied through WordPress or manually; unattended automatic updates are disabled, and expired licenses can prevent access to plugin updates.

Public exploits

Exploits

1 exploit validated by Mallory's analysis.

View more in app →
CVE-2026-125812The supplied repository contains a standalone exploit implementation, not a framework module. Its 17 files include two Python clients, a PHP callback handler with nginx configuration, Docker lab configuration, two Bash lifecycle scripts, documentation, and a requests dependency declaration. Six files are classified as executable or build code. Repository ref and archive size were not supplied; the empty ref and zero size represent unavailable metadata. The alleged attack chain harvests a public hexadecimal nonce, submits a rocket_beacon AJAX request containing an attacker-controlled preload_fonts URL, and revisits the page to trigger font optimization. The injected URL places //fonts.googleapis.com/css2/x.woff2 in the callback server's path, allegedly bypassing a Google-font URL check. The callback returns CSS containing a six-level traversal URL, followed by PHP source intended to be written outside the font cache into uploads/shell.php. Requesting that file with a cmd parameter would execute commands if the arbitrary write succeeds and uploads permits PHP execution. The Google domain is a matching token, not the callback destination. There is no implemented reverse shell, credential theft, or exfiltration routine. The full client supports configurable User-Agent and timeout, target metadata display, and intended target-list processing. The minimal client performs the same basic injection and verification without those conveniences. The supplied payload is a basic system() webshell, making this operational exploit code rather than detection-only tooling. Its success check is unreliable: it requests the shell without cmd and requires a nonempty response, while the default payload may produce no response body. Conversely, a pre-existing nonempty page at the shell path could produce a false positive. The documented target-list invocation also conflicts with positional argument parsing: a lone positional callback is assigned to target, leaving callback unset. The Docker lab configures WordPress 6.6/PHP 8.1, MariaDB 10.11, and allegedly vulnerable WP Rocket 3.24.1. Setup enables font optimization and installs lab-only outbound-network relaxations. Reset scripts truncate beacon tables and remove cache and shell artifacts; these scoped cleanup commands are not evidence of a fake exploit. However, the Dockerfile requires a WP Rocket ZIP absent from the inventory, so the supplied lab cannot build unchanged. docker/DOCKER.md describes a nonexistent attacker service, a different CSS injection route, and CLI options not implemented by the current client. Its network API description also conflicts with server documentation. The README's two-request claim understates the complete chain, which includes nonce harvesting, AJAX submission, a trigger visit, callback fetches, and verification. Static inspection supports the intended arbitrary-file-write-to-RCE mechanism, but the vulnerable plugin source and execution evidence are absent. The CVE assignment, affected version boundary, severity, and claimed vendor vulnerability were not independently verified. The lab's relaxed network checks further limit conclusions about behavior on an unmodified production installation.joshuavanderpoll · Disclosed Nov 25, 2026 · python · bash · webOperational
FAQ

Frequently asked questions

Is CVE-2026-125812 exploited in the wild?
As of Nov 28, 2026, Mallory has no reports of CVE-2026-125812 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-125812?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-125812, the earliest disclosed Nov 25, 2026.
Is there a patch for CVE-2026-125812?
Upgrade WP Rocket to version 3.24.2 or later and verify that the installed version reflects the update. Version 3.24.2 adds path normalization, host and filename validation, directory-containment enforcement, restrictions against executable filenames, font-content verification, and stricter URL handling.
How severe is CVE-2026-125812?
CVE-2026-125812 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 1.0% (62nd percentile) as of Nov 28, 2026.
Activity feed

Recent activity

16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity13Community discussion across Reddit, Mastodon, and other social sources.