Deserialization of Untrusted Data in magento-lts - #VU158663
Published: November 2, 2026
Vulnerability details
The vulnerability allows a remote privileged user to execute arbitrary code on the server as the PHP process user.
The vulnerability exists due to deserialization of untrusted data in Mage_Csp_Helper_Data::getStoreConfigPolicy() when reading stored CSP configuration values without restricting which classes may be instantiated. A remote privileged user can save a crafted serialized object graph through the System Configuration CSP section, using gadget classes from the bundled Monolog dependency to execute operating-system commands when the configuration is subsequently read.
The CSP field renderer in System Configuration also reaches the vulnerable helper when CSP is disabled.