Paper/Archive/CVE-2026-128046

CVE-2026-128046

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

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
magento-lts20.17.0 – < 20.18.220.18.2CNA
magento-lts21.0.0-beta1 – < 21.0.0-beta321.0.0-beta3CNA

Scores by source

VulnCheck (CNA)9.2CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck (CNA)8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References

advisorygithub.com/OpenMage/magento-lts/security/advisories/GHSA-4fxg-469f-r6fcpatchgithub.com/OpenMage/magento-lts/commit/ba76b2346fe1e380f39c23e68ccb818d7324d24fpatchgithub.com/OpenMage/magento-lts/commit/5b6f985785245a964aa3dc78609f6af44d9d5e27patchgithub.com/OpenMage/magento-lts/commit/dd692b825ba50f196bcc20ae67fbed48dd95da56writeupvulncheck.com/advisories/openmage-magento-lts-20.17.0-before-20.18.2-unrestricted-file-upload-rce-via-custom-options