Deserialization of Untrusted Data in magento-lts - #VU158663

 

Deserialization of Untrusted Data in magento-lts - #VU158663

Published: November 2, 2026


Vulnerability identifier: #VU158663
CSH Severity: Low
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-502
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

magento-lts

Remediation

Install security update from vendor's website.

magento-lts - addressed in versions 20.18.2, 20.19.0

External References

Related Security Bulletins