Path traversal in magento-lts - #VU158654
Published: November 2, 2026
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.