Missing authorization in OpenMage magento-lts
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-862.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OpenMage | magento-lts | before 20.17.0 | 20.17.0 | Patch available | CNA |
| — | openmage/magento-lts (Packagist) | before 20.17.0 | 20.17.0 | Patch available | GHSA-665x-ppc4-685w |
- magento-lts VendorOpenMage Affected before 20.17.0 Fixed in 20.17.0 Patch available CNA
- openmage/magento-lts (Packagist) Vendor— Affected before 20.17.0 Fixed in 20.17.0 Patch available GHSA-665x-ppc4-685w
Remediation
- Fix · CNA magento-lts (OpenMage) Fixed in 20.17.0
- Fix · GHSA-665x-ppc4-685w openmage/magento-lts (Packagist) Fixed in 20.17.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40098
- 2026-10-03 Alias added: GHSA-665x-ppc4-685w
References
More OpenMage Magento vulnerabilities
- TI-2026-20633 OpenMage LTS's Phar Deserialization leads to Remote Code Execution CVSS 3.1HIGH 8.1
- TI-2026-29239 OpenMage LTS has Customer File Upload Extension Blocklist Bypass that Leads to Remote Code Execution CVSS 4.0HIGH 8.7
- TI-2023-22272 Magento LTS's guest order "protect code" can be brute-forced too easily CVSS 3.1HIGH 7.5
- TI-2026-20634 OpenMage LTS has Path Traversal Filter Bypass in Dataflow Module CVSS 3.1MEDIUM 4.9
- TI-2025-39617 OpenMage is vulnerable to XSS in Admin Notifications CVSS 4.0MEDIUM 4.6
- TI-2021-04494 Magneto-lts vulnerable to Cross-Site Request Forgery CVSS 3.1MEDIUM 4.3
Sources
- CVE-2026-40098 · CVE Program
- CVE-2026-40098 · NVD
- FIRST EPSS
- GHSA-665x-ppc4-685w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences