CVE-2026-40098: CWE-862: Missing Authorization in OpenMage magento-lts
Magento Long Term Support (LTS) is an unofficial, community-driven project provides an alternative to the Magento Community Edition e-commerce platform with a high level of backward compatibility. Prior to version 20.17.0, the shared wishlist add-to-cart endpoint authorizes access with a public `sharing_code`, but loads the acted-on wishlist item by a separate global `wishlist_item_id` and never verifies that the item belongs to the shared wishlist referenced by that code. This lets an attacker use a valid shared wishlist code for wishlist A and a wishlist item ID belonging to victim wishlist B to import victim item B into the attacker's cart through the shared wishlist flow for wishlist A. Because the victim item's stored `buyRequest` is reused during cart import, the victim's private custom-option data is copied into the attacker's quote. If the product uses a file custom option, this can be elevated to cross-user file disclosure because the imported file metadata is preserved and the download endpoint is not ownership-bound. Version 20.17.0 patches the issue.
AI Analysis
Technical Summary
OpenMage magento-lts before version 20.17.0 has a CWE-862 missing authorization vulnerability in the shared wishlist add-to-cart endpoint. The endpoint authorizes access with a public sharing code but loads the wishlist item by a global wishlist_item_id without verifying ownership. This flaw enables an attacker to combine a valid shared wishlist code with a victim's wishlist item ID to import victim items into the attacker's cart. The victim's private custom-option data, including file metadata, is copied during this process. Because the download endpoint for file custom options is not ownership-bound, this can escalate to cross-user file disclosure. The vulnerability is fixed in version 20.17.0.
Potential Impact
An attacker can import items from another user's wishlist into their own cart without proper authorization, leading to unauthorized access to private custom-option data. If file custom options are involved, this can result in cross-user file disclosure. The CVSS 4.0 score is 5.3 (medium severity), indicating a moderate impact due to network attack vector, low complexity, no user interaction, and limited confidentiality and integrity impact.
Mitigation Recommendations
Upgrade OpenMage magento-lts to version 20.17.0 or later, where this vulnerability is patched. Patch status is not explicitly confirmed in the vendor advisory, but the description states version 20.17.0 addresses the issue. Until upgrading, restrict access to the shared wishlist add-to-cart endpoint if possible. No other vendor mitigation guidance is available.
CVE-2026-40098: CWE-862: Missing Authorization in OpenMage magento-lts
Description
Magento Long Term Support (LTS) is an unofficial, community-driven project provides an alternative to the Magento Community Edition e-commerce platform with a high level of backward compatibility. Prior to version 20.17.0, the shared wishlist add-to-cart endpoint authorizes access with a public `sharing_code`, but loads the acted-on wishlist item by a separate global `wishlist_item_id` and never verifies that the item belongs to the shared wishlist referenced by that code. This lets an attacker use a valid shared wishlist code for wishlist A and a wishlist item ID belonging to victim wishlist B to import victim item B into the attacker's cart through the shared wishlist flow for wishlist A. Because the victim item's stored `buyRequest` is reused during cart import, the victim's private custom-option data is copied into the attacker's quote. If the product uses a file custom option, this can be elevated to cross-user file disclosure because the imported file metadata is preserved and the download endpoint is not ownership-bound. Version 20.17.0 patches the issue.
CVSS v4.0
Score 5.3medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
OpenMage magento-lts before version 20.17.0 has a CWE-862 missing authorization vulnerability in the shared wishlist add-to-cart endpoint. The endpoint authorizes access with a public sharing code but loads the wishlist item by a global wishlist_item_id without verifying ownership. This flaw enables an attacker to combine a valid shared wishlist code with a victim's wishlist item ID to import victim items into the attacker's cart. The victim's private custom-option data, including file metadata, is copied during this process. Because the download endpoint for file custom options is not ownership-bound, this can escalate to cross-user file disclosure. The vulnerability is fixed in version 20.17.0.
Potential Impact
An attacker can import items from another user's wishlist into their own cart without proper authorization, leading to unauthorized access to private custom-option data. If file custom options are involved, this can result in cross-user file disclosure. The CVSS 4.0 score is 5.3 (medium severity), indicating a moderate impact due to network attack vector, low complexity, no user interaction, and limited confidentiality and integrity impact.
Mitigation Recommendations
Upgrade OpenMage magento-lts to version 20.17.0 or later, where this vulnerability is patched. Patch status is not explicitly confirmed in the vendor advisory, but the description states version 20.17.0 addresses the issue. Until upgrading, restrict access to the shared wishlist add-to-cart endpoint if possible. No other vendor mitigation guidance is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-09T01:41:38.536Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e6585619fe3cd2cd13fde8
Added to database: 4/20/2026, 4:46:14 PM
Last enriched: 4/20/2026, 5:02:09 PM
Last updated: 6/4/2026, 4:50:01 AM
Views: 74
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.