Authorization bypass through user-controlled key in magento-lts - CVE-2026-40098

 

Authorization bypass through user-controlled key in magento-lts - CVE-2026-40098

Published: April 20, 2026


Vulnerability identifier: #VU126485
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-40098
CWE-ID: CWE-639
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

magento-lts

How to mitigate CVE-2026-40098

Install security update from vendor's website.

magento-lts - update to 20.17.0

External References

Related Security Bulletins