External Control of File Name or Path in magento-lts - #VU173493
Published: December 4, 2026
Vulnerability details
The vulnerability allows a remote privileged user to expose nonpublic server images readable by PHP.
The vulnerability exists due to external control of a source file path in the legacy product media and REST product image APIs when Varien_Io_File::write() interprets decoded upload content as a file path rather than image data. A remote privileged user can submit upload content that references a protected image to make it publicly downloadable from the product gallery.