Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 94%

CVE-2026-40098: CWE-862: Missing Authorization in OpenMage magento-lts

0
Medium
VulnerabilityCVE-2026-40098cvecve-2026-40098cwe-862
Published: Mon Apr 20 2026 (04/20/2026, 16:19:55 UTC)
Source: CVE Database V5
Vendor/Project: OpenMage
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/20/2026, 17:02:09 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses