Path traversal in magento-lts - #VU158660

 

Path traversal in magento-lts - #VU158660

Published: November 2, 2026


Vulnerability identifier: #VU158660
CSH Severity: Low
CVSS v4: 6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/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 user to read arbitrary files accessible to the web server user, potentially disclosing database credentials and the encryption key.

The vulnerability exists due to path traversal in the custom-option file download functionality when resolving stored quote_path and order_path values without confining them to media/custom_options/. A remote user can submit crafted option paths in a recurring product's stored buy request and invoke the recurring-profile download action to read files outside the intended directory, including app/etc/local.xml.

Exploitation requires a payment method that supports recurring profiles.


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