Authorization bypass through user-controlled key in magento-lts - CVE-2026-40098
Published: April 20, 2026
magento-lts
Detailed vulnerability description
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to improper access control in the shared wishlist add-to-cart endpoint when handling requests with a public sharing code and a global wishlist item ID from another wishlist. A remote attacker can send a specially crafted request to disclose sensitive information.
The imported victim item reuses the stored buyRequest, which can copy private custom-option data into the attacker's cart.