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

Published Nov 13, 2026
·
Updated

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/protectedextensions blocklist omits phar, php8, and phps. Unauthenticated attackers can upload a .phar file through a product File custom option to a predictable media/customoptions path and request it directly to execute code on servers that map .phar to PHP and serve that directory.

Affected Software

1 affected component
composer/openmage/magento-lts>=20.17.0<20.18.2, >=21.0.0-beta1<21.0.0-beta3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OpenMage magento-lts to a version that resolves this vulnerability.

    Fixed in 20.18.2
  2. Upgrade

    Upgrade OpenMage magento-lts to a version that resolves this vulnerability.

    Fixed in 21.0.0-beta3

Event History

Nov 13, 2026
CVE Published
via MITRE·09:33 AM
Data Sourced
via MITRE·09:33 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:18 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to remote code execution?

Affected deployments are OpenMage magento-lts 20.17.0 through versions before 20.18.2, and 21.0.0-beta1 through versions before 21.0.0-beta3. Exploitation also requires the server to map .phar files to PHP and to serve the media/custom_options directory.

2

Does exploitation require an account or user interaction?

No. An unauthenticated attacker can upload a .phar file through a product File custom option and then request the uploaded file directly.

3

What configuration condition makes this exploitable?

The vulnerable protected-extension blocklist does not include phar, php8, or phps. The described RCE path specifically depends on .phar files being handled as PHP by the server.

4

What should be checked to identify current exposure?

Check whether the deployment is running a version before 20.18.2 in the 20.x line or before 21.0.0-beta3 in the 21.0.0 beta line. Also verify whether product File custom options permit uploads, whether uploaded files are reachable under media/custom_options, and whether .phar is executed as PHP.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203