OpenMage magento-lts 20.17.0 before 20.18.2 Unrestricted File Upload RCE via Custom Options
- State
- Published
- Severity
- 9.2 Critical
- Published
- Nov 13, 2026
- Updated
- Nov 13, 2026
- Reserved
- Nov 12, 2026
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.
| Product | Versions |
|---|---|
| magento-lts OpenMage | 20.17.0 to before 20.18.2 Affected20.18.2 Not Affected |
| magento-lts OpenMage | 21.0.0-beta1 to before 21.0.0-beta3 Affected21.0.0-beta3 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 9.2 Critical | VulnCheck | |
| 3.1 | 8.1 High | VulnCheck |
Weaknesses
- CWE-184 Incomplete List of Disallowed Inputs
References
- GitHub Security Advisory (GHSA-4fxg-469f-r6fc)Vendor Advisory
- Patch CommitPatch
- Patch CommitPatch
- Patch CommitPatch
- VulnCheck Advisory: OpenMage magento-lts 20.17.0 before 20.18.2 Unrestricted File Upload RCE via Custom OptionsThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.