Path traversal in magento-lts - #VU158655

 

Path traversal in magento-lts - #VU158655

Published: November 2, 2026


Vulnerability identifier: #VU158655
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-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

magento-lts

Remediation

Install security update from vendor's website.

magento-lts - addressed in versions 20.18.2, 20.19.0, 21.0.0 beta3

External References

Related Security Bulletins