SB2026042017 - Multiple vulnerabilities in magento-lts



SB2026042017 - Multiple vulnerabilities in magento-lts

Published: April 20, 2026

Security Bulletin ID SB2026042017
CSH Severity
High
Patch available
YES
Number of vulnerabilities 4
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 50% Medium 25% Low 25%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 4 vulnerabilities.


1) Input validation error (CVE-ID: CVE-2026-40488)

CWE-ID: CWE-20 - Improper input validation

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber


The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to improper input validation in the product custom option file upload handler when processing uploaded files. A remote attacker can upload a specially crafted file with an alternative executable extension to execute arbitrary code.

Exploitation is possible when uploaded files are stored in a publicly accessible directory and the server configuration permits execution of uploaded script files in that location.


2) Authorization bypass through user-controlled key (CVE-ID: CVE-2026-40098)

CWE-ID: CWE-639 - Authorization Bypass Through User-Controlled Key

CVSSv4: 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/E:U/U:Green


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.


3) Deserialization of Untrusted Data (CVE-ID: CVE-2026-25524)

CWE-ID: CWE-502 - Deserialization of Untrusted Data

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber


The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to deserialization of untrusted data in image validation and media handling functions when processing phar:// stream wrapper paths. A remote attacker can upload a malicious phar file disguised as an image and trigger phar:// access to execute arbitrary code.

A crafted polyglot file can be both a valid image and a valid phar archive, causing PHP functions such as getimagesize(), file_exists(), or is_readable() to deserialize phar metadata automatically.


4) Path traversal (CVE-ID: CVE-2026-25525)

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear


The vulnerability allows a remote user to disclose sensitive information.

The vulnerability exists due to path traversal in the Dataflow module file import handling when processing the files parameter. A remote privileged user can supply a crafted path traversal sequence to disclose sensitive information.

The issue can be exploited through the admin panel when running or modifying a Dataflow import profile.


Remediation

Install update from vendor's website.