Path traversal in magento-lts - #VU158654

 

Path traversal in magento-lts - #VU158654

Published: November 2, 2026


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

Vulnerability details

The vulnerability allows a remote privileged user to view thumbnail-sized copies of images outside the media storage root and determine whether arbitrary paths exist.

The vulnerability exists due to path traversal in the WYSIWYG media browser's thumbnail endpoint when processing the base64-encoded file parameter without restricting the decoded path to the media storage root. A remote privileged user can submit a file parameter encoding ../ sequences through the CMS Media Gallery to retrieve thumbnails of images outside media/wysiwyg and infer path existence from differences in responses.

Image disclosure is limited to files that GD can decode and the web server user can open. Text files cannot be read.


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