Mirasvit Full Page Cache Warmer for Magento 2 PHP Object Injection RCE (CVE-2026-45247)
Mirasvit Full Page Cache Warmer for Magento 2 before version 1.11.12 contains a PHP object injection vulnerability (CVE-2026-45247) that allows unauthenticated attackers to achieve remote code execution by supplying a crafted serialized PHP object in the CacheWarmer cookie.
CVE-2026-45247 is a critical vulnerability affecting Mirasvit Full Page Cache Warmer for Magento 2, specifically versions prior to 1.11.12. The vulnerability is a PHP object injection flaw that enables unauthenticated attackers to execute arbitrary code remotely. This is achieved by injecting a malicious, serialized PHP object into the CacheWarmer cookie. The application’s unsafe use of the unserialize() function, in conjunction with available gadget chains within Magento and its dependencies, allows attackers to execute code on the server. This poses a significant risk to e-commerce sites utilizing the affected versions of the Mirasvit cache warmer.
Attack Chain
- An unauthenticated attacker crafts a serialized PHP object containing a malicious payload.
- The attacker injects this serialized PHP object into the
CacheWarmercookie within an HTTP request to the Magento 2 server. - The Magento 2 application receives the HTTP request containing the malicious cookie.
- The Mirasvit Full Page Cache Warmer extension processes the request and extracts the
CacheWarmercookie value. - The application calls the PHP
unserialize()function on the contents of theCacheWarmercookie. - The
unserialize()function instantiates objects based on the injected serialized data, triggering a pre-existing “gadget chain” within Magento or its dependencies. - The gadget chain executes arbitrary PHP code specified within the malicious object.
- The attacker achieves remote code execution on the Magento 2 server, potentially leading to full system compromise.
Impact
Successful exploitation of CVE-2026-45247 allows an unauthenticated attacker to achieve remote code execution on the Magento 2 server. This can result in complete compromise of the e-commerce platform, including theft of sensitive customer data (e.g., credit card information, personal details), modification of website content, deployment of malicious code, and denial-of-service attacks. Given the severity of the vulnerability and ease of exploitation, all e-commerce businesses using the affected Mirasvit extension are at high risk.
Recommendation
- Upgrade Mirasvit Full Page Cache Warmer for Magento 2 to version 1.11.12 or later to patch CVE-2026-45247 (reference: Mirasvit changelog in the References section).
- Deploy the Sigma rule “Detect CVE-2026-45247 Exploitation Attempt via CacheWarmer Cookie” to detect attempts to exploit this vulnerability (reference: rule below).
- Implement input validation and sanitization for cookie values to prevent object injection attacks.
- Consider disabling the Mirasvit Full Page Cache Warmer extension temporarily if an immediate upgrade is not possible.
Detection coverage 2
Detect CVE-2026-45247 Exploitation Attempt via CacheWarmer Cookie
criticalDetects CVE-2026-45247 exploitation — An attempt to exploit the PHP object injection vulnerability in Mirasvit Full Page Cache Warmer by sending a CacheWarmer cookie with a serialized PHP object.
Detect Suspicious PHP unserialize() Calls in Web Requests
highDetects suspicious calls to the PHP unserialize() function within web requests, which can be indicative of PHP object injection attacks.
Detection queries are available on the platform. Get full rules →