Incomplete List of Disallowed Inputs in magento-lts - CVE-2026-128046

 

Incomplete List of Disallowed Inputs in magento-lts - CVE-2026-128046

Published: November 2, 2026 / Updated: November 13, 2026


Vulnerability identifier: #VU158657
CSH Severity: High
CVSS v4: 9.2 [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]
CVE-ID: CVE-2026-128046
CWE-ID: CWE-184
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary PHP code on the application server.

The vulnerability exists due to an incomplete list of disallowed file extensions in the general/file/protected_extensions upload blocklist when validating uploaded files. A remote attacker can upload a malicious .phar file through a product File custom option with an empty allowed-extension list and request the uploaded file directly to execute arbitrary PHP code, because the blocklist omits phar, php8 and phps.


Affected software

magento-lts

How to mitigate CVE-2026-128046

Install security update from vendor's website.

magento-lts - addressed in versions 20.18.2, 20.19.0, 21.0.0 beta3

External References

Related Security Bulletins