{"id":"CVE-2026-128046","summary":"OpenMage magento-lts 20.17.0 before 20.18.2 Unrestricted File Upload RCE via Custom Options","details":"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.","aliases":["GHSA-4fxg-469f-r6fc"],"modified":"2026-11-15T02:46:29.671642028Z","published":"2026-11-13T09:33:54.254Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128046.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-184"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128046.json"},{"type":"ADVISORY","url":"https://github.com/OpenMage/magento-lts/security/advisories/GHSA-4fxg-469f-r6fc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128046"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/openmage-magento-lts-20.17.0-before-20.18.2-unrestricted-file-upload-rce-via-custom-options"},{"type":"FIX","url":"https://github.com/OpenMage/magento-lts/commit/5b6f985785245a964aa3dc78609f6af44d9d5e27"},{"type":"FIX","url":"https://github.com/OpenMage/magento-lts/commit/ba76b2346fe1e380f39c23e68ccb818d7324d24f"},{"type":"FIX","url":"https://github.com/OpenMage/magento-lts/commit/dd692b825ba50f196bcc20ae67fbed48dd95da56"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openmage/magento-lts","events":[{"introduced":"f4dd542b878613b9f40f39e9d7e862dec085defd"},{"fixed":"76674d1e556911dfe1e9a035e2a0df75b1f88155"},{"introduced":"9ffc7c13bbea61e2436394d86a0ce59c47e05eb6"},{"fixed":"6228de25be9e36e7f0e4c3ae5ea27c5be4348bfb"},{"fixed":"ba76b2346fe1e380f39c23e68ccb818d7324d24f"},{"fixed":"5b6f985785245a964aa3dc78609f6af44d9d5e27"},{"fixed":"dd692b825ba50f196bcc20ae67fbed48dd95da56"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"20.17.0"},{"fixed":"20.18.2"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"introduced":"21.0.0-beta1"},{"fixed":"21.0.0-beta3"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"ba76b2346fe1e380f39c23e68ccb818d7324d24f"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"5b6f985785245a964aa3dc78609f6af44d9d5e27"}]},{"range":[{"fixed":"dd692b825ba50f196bcc20ae67fbed48dd95da56"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v20.18.0","v20.17.0","v21.0.0-beta1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-128046.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}