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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-184"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128046.json"
}{
"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"
},
{
"range": [
{
"fixed": "5b6f985785245a964aa3dc78609f6af44d9d5e27"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "dd692b825ba50f196bcc20ae67fbed48dd95da56"
}
],
"source": "REFERENCES_COMMIT"
}
]
}