Incorrect comparison in magento-lts - #VU158662
Published: November 2, 2026
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.