Path traversal in magento-lts - #VU173492

 

Path traversal in magento-lts - #VU173492

Published: December 4, 2026


Vulnerability identifier: #VU173492
CSH Severity: Low
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:L/AT:P/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 overwrite product images with arbitrary content and, if a stored gallery path escapes the media directory and points to a writable location that executes PHP, execute arbitrary code.

The vulnerability exists due to path traversal and missing image content validation in the legacy product media API when updating an existing gallery file. A remote privileged user can submit non-image content through the media update API to write arbitrary bytes to the stored gallery destination.


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