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

State
Published
Severity
9.2 Critical
Published
Nov 13, 2026
Updated
Nov 13, 2026
Reserved
Nov 12, 2026

Read the record on cve.org

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.

ProductVersions
magento-lts OpenMage20.17.0 to before 20.18.2 Affected20.18.2 Not Affected
magento-lts OpenMage21.0.0-beta1 to before 21.0.0-beta3 Affected21.0.0-beta3 Not Affected

Weaknesses

  • CWE-184 Incomplete List of Disallowed Inputs

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.