CVE-2026-128046
Description
OpenMage magento-lts 20.17.0 before 20.18.2 and 21.0.0-beta1 before 21.0.0-beta3 contains an unrestricted file upload vulnerability because the general/file/protected_extensions blocklist omits phar, php8, and phps. Unauthenticated attackers can upload a .phar file through a product File custom option to a predictable media/custom_options path and request it directly to execute code on servers that map .phar to PHP and serve that directory.
How to fix
- OpenMage magento-lts20.18.2, 21.0.0-beta3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| OpenMage magento-lts | 20.17.0 ≤ v < 20.18.2, 21.0.0-beta1 ≤ v < 21.0.0-beta3 | 20.18.2, 21.0.0-beta3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.