Path traversal in magento-lts - #VU158655
Published: November 2, 2026
Vulnerability details
The vulnerability allows a remote privileged user to write arbitrary files in locations writable by the web server and execute arbitrary code as the PHP process user.
The vulnerability exists due to improper limitation of file paths in the REST and SOAP/XML-RPC product image APIs when processing caller-supplied image file names. A remote privileged user can supply an absolute path and attacker-chosen content to write a PHP file under app/design/, then render it through a {{block ... template="..."}} directive in content that supports directives to execute arbitrary code, regardless of the file extension.