Path traversal in magento-lts - #VU171850

 

Path traversal in magento-lts - #VU171850

Published: December 2, 2026


Vulnerability identifier: #VU171850
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/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 publicly expose server images readable and decodable by PHP and write image copies outside the intended cache directory without overwriting existing files.

The vulnerability exists due to improper restriction of file paths in product image rendering and import when resolving image filenames. A remote privileged user can supply image paths that resolve outside the permitted directories through product editing or import to expose otherwise private images.


Affected software

magento-lts

Remediation

Install security update from vendor's website.

magento-lts - addressed in versions 20.18.5, 20.19.3, 21.0.0 beta6

External References

Related Security Bulletins