Skip to content

CVE-2026-128046 OpenMage magento-lts 20.17.0 before 20.18.2 Unrestricted File Upload RCE via Custom Options

CriticalCVSS 9.2 EPSS 0.80%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
PHP

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
openmage/magento-lts >= 20.17.0, < 20.18.2; >= 21.0.0-beta1, < 21.0.0-beta3 20.18.2, 21.0.0-beta3 Fixed

Affected products

ProductAffected versionsFixed in
openmage/magento-lts >= 20.17.0, < 20.18.2 20.18.2
openmage/magento-lts >= 21.0.0-beta1, < 21.0.0-beta3 21.0.0-beta3

References