Proactive Security Virtual Summit: Proving Security in the Era of AI

CVE-2026-125812 is a critical path traversal vulnerability in WP Rocket, a premium WordPress caching and performance plugin from WP Media installed on more than 5.5 million sites. An unauthenticated remote attacker can cause the plugin to fetch an attacker-controlled URL and write its contents to a traversed filesystem path, planting an executable PHP file in the webroot and achieving remote code execution as the web-server user. The vulnerability is only exploitable when one of two non-default options — LazyLoad for CSS background images or Host Fonts Locally — is enabled. Patchstack rates the vulnerability 9.8 (Critical) under CVSS v3.1 and has confirmed active exploitation in the wild. Horizon3 attack researchers reverse engineered the patch to validate the vulnerability.

Technical Details

WP Rocket’s font optimization feature detects Google Fonts referenced on a page and re-hosts them locally. When it processes an attacker-influenced URL, the plugin builds the local destination path by joining a base cache directory to the URL’s path component without canonicalizing or bounding it, so directory-traversal sequences escape the intended cache directory. Because the written content is taken from the attacker-controlled source and no file-type or content check is applied before the write, an attacker can place a PHP file in a web-reachable location and execute it. The LazyLoad-for-CSS-background-images feature reaches the same unvalidated write. Version 3.24.2 adds stricter validation of cached CSS, font, and preconnect files, clamping the write path and rejecting non-font content.

Weakness: CWE-22, Improper Limitation of a Pathname to a Restricted Directory (Path Traversal)

Attack vector: Network; the site must be reachable and running an affected, feature-enabled configuration

Authentication: None

User interaction: None

Impact: Remote code execution as the web-server user (high confidentiality, integrity, and availability impact)

CVSS v3.1: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (9.8, Critical)

Internet exposure is the common case, but any reachable WordPress site running an affected, feature-enabled version is exploitable without authentication or user interaction.

Affected Versions & Patch

Affected

  • WP Rocket 3.15 through 3.24.1, when LazyLoad for CSS background images or Host Fonts Locally is enabled

Fixed

  • WP Rocket 3.24.2 (and later; 3.24.3 is the current release)

Mitigations

If you cannot upgrade immediately, disable both “LazyLoad for CSS background images” and “Host Fonts Locally” in WP Rocket, which removes the exploitable paths. Patchstack has also published a virtual patch (vPatch) rule for the vulnerability. These are workarounds, not a fix; upgrading to 3.24.2 or later remains required, and a site that was already exploited must also be checked for a planted webshell.

Timeline

  • November 19, 2026: WP Rocket 3.24.2 released, fixing the vulnerability.
  • November 23, 2026: Patchstack published its advisory for CVE-2026-125812.
  • November 25, 2026: NVD published the CVE record; Patchstack observed the first in-the-wild exploitation.
  • November 26, 2026: Automated exploitation campaigns observed; WP Rocket 3.24.3 released.

References

Get a demo

Your attack surface and the threat landscape are constantly evolving. Scale your security across cloud, on prem, and hybrid infrastructure with NodeZero.

Get a demo

Get a demo

Your attack surface and the threat landscape are constantly evolving. Scale your security across cloud, on prem, and hybrid infrastructure with NodeZero.

Get a demo
NodeZero pentest dashboard showing running and completed tests, host counts, and trends in impacts, weaknesses, and credentials.

NodeZero® Platform

Implement a continuous find, fix, and verify loop with NodeZero

The NodeZero platform empowers your organization to reduce your security risks by autonomously finding exploitable weaknesses in your network, giving you detailed guidance around how to prioritize and fix them, and having you immediately verify that your fixes are effective.

Explore NodeZero

Related content

NodeZero Rapid Response test for newly disclosed vulnerabilities

CVE-2026-21606

December 3, 2026

CVE-2026-21606 is a path traversal vulnerability in Atlassian Jira Software Data Center that lets an unauthenticated remote attacker read files inside the web application directory, including…

Attack path graph node: an arrow points to an exploited weakness, CVE-2026-123890 vCenter VMDir SRP Auth Bypass, marked with a Proof badge and Critical Infrastructure Compromise and Host Compromise impact labels

CVE-2026-123890

December 3, 2026

CVE-2026-123890 is a critical VMware vCenter authentication bypass that lets an attacker with network access and no credentials obtain administrator access. It has been exploited in…

CVE-2026-114924 and CVE-2026-114925 Oracle E-Business Suite authorization bypass and remote code execution vulnerabilities

CVE-2026-114924 / CVE-2026-114925

December 3, 2026

CVE-2026-114924 and CVE-2026-114925 are critical Oracle E-Business Suite vulnerabilities that, chained, let a remote attacker with no credentials run operating system commands on the application tier…