Vulnerability in Openmage Magento-Lts
CVE-2026-128046
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.006, 51.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- googlesky/CVE-2026-128046 (last pushed 2026-11-14): CVE-2026-128046 PoC: OpenMage LTS protected_extensions omits phar/php8/phps - an unauthenticated guest uploads a .phar through a product File custom option and executes it by fetching its predictable…
References
- github.com/OpenMage/magento-lts/security/advisories/GHSA-4fxg-469f-r6fc (vendor-advisory)
- github.com/OpenMage/magento-lts/commit/ba76b2346fe1e380f39c23e68ccb818d7324d24f (patch)
- github.com/OpenMage/magento-lts/commit/5b6f985785245a964aa3dc78609f6af44d9d5e27 (patch)
- github.com/OpenMage/magento-lts/commit/dd692b825ba50f196bcc20ae67fbed48dd95da56 (patch)
- www.vulncheck.com/advisories/openmage-magento-lts-20.17.0-before-20.18.2-unrest… (third-party-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.