OpenMage magento-lts 20.17.0 before 20.18.2 Unrestricted File Upload RCE via Custom Options
- CVE-2026-128046
- GHSA-r74m-vw7m-pr6g
- EUVD-2026-125062
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.
Text from the CVE.org record.
Recommendation
OpenMage magento-lts
- If you run 21.0.xupdate to 21.0.0-beta3 or laterPatch update: breaking changes are unlikely
- If you run a version from 20.17.0 to before 20.18.2update to 20.18.2 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
OpenMage magento-lts
Affected versions Fixed in from 21.0.0-beta1 to before 21.0.0-beta3 21.0.0-beta3 from 20.17.0 to before 20.18.2 20.18.2
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.