Incorrect comparison in magento-lts - #VU158662

 

Incorrect comparison in magento-lts - #VU158662

Published: November 2, 2026


Vulnerability identifier: #VU158662
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-697
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to download other customers' uploaded custom-option files and disclose sensitive information.

The vulnerability exists due to incorrect PHP loose comparison of secret keys in the custom-option file download endpoints and a missing ownership check in the wishlist download endpoint when handling file download requests. A remote attacker can enumerate option identifiers and submit key=0 to download other customers' files whose stored secret keys consist of 0e followed entirely by digits, which PHP compares numerically as zero.


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