Skip to content
NewA calmer, faster ZeroHour
Exploit / PoCcriticalExploited in the wild

WP Rocket path traversal exploited for unauthenticated RCE (CVE-2026-125812)

Original title: CVE-2026-125812

Horizon3.aiby Horizon3 ()3 min read2
Part of a story covered by 7 sourcesAttackers exploit critical WP Rocket flaw to plant PHP on WordPress sitesMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

Versions 3.15 through 3.24.1 are affected only if LazyLoad or Host Fonts Locally is enabled; 3.24.2 fixes it.

Horizon3 says CVE-2026-125812 lets an unauthenticated attacker make WP Rocket fetch an attacker-controlled URL and write it to a traversed path, planting PHP in the webroot. Patchstack rates it 9.8 and confirmed exploitation from November 25, 2026, with automated campaigns the next day. WP Media fixed it in 3.24.2 on November 19; 3.24.3 is the current release. A public proof-of-concept is on GitHub.

Key facts
  • The plugin is installed on more than 5.5 million sites.
  • Exploitation needs LazyLoad for CSS background images or Host Fonts Locally.
  • The weakness is CWE-22 and requires no authentication or user interaction.
  • Disable both options if you cannot upgrade, and check for a webshell.
  • Patchstack also published a virtual patch rule as a workaround.
Security assessment · AI, from the articleExploited in the wild

Impact: remote code execution as the web-server user

ProductAffectedFixed in
WP Media WP Rocket3.15 through 3.24.13.24.2
What to do
  1. 1.Upgrade WP Rocket to 3.24.2 or later.
  2. 2.If you cannot upgrade, disable LazyLoad for CSS background images and Host Fonts Locally.
  3. 3.Check already exploited sites for a planted webshell.
Analyze CVE-2026-125812 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-125812
Path traversal in WP Rocket before 3.24.2
9.87%PoC ×3

From the original article

3 min read at horizon3.ai

CVE-2026-125812 is a critical unauthenticated path traversal in the WP Rocket WordPress plugin leading to RCE. See affected versions, fixes, and mitigations.

Horizon3.ai

By Horizon3 · horizon3.ai

Read the full article at Horizon3.ai

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.