External Control of File Name or Path in magento-lts - #VU173493

 

External Control of File Name or Path in magento-lts - #VU173493

Published: December 4, 2026


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

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.


Affected software

magento-lts

Remediation

Install security update from vendor's website.

magento-lts - addressed in versions 20.18.6, 20.19.4, 21.0.0 beta7

External References

Related Security Bulletins