{"id":"CVE-2026-25524","state":"PUBLISHED","title":"OpenMage LTS's Phar Deserialization leads to Remote Code Execution","description":"Magento Long Term Support (LTS) is an unofficial, community-driven project provides an alternative to the Magento Community Edition e-commerce platform with a high level of backward compatibility. Prior to version 20.17.0, PHP functions such as `getimagesize()`, `file_exists()`, and `is_readable()` can trigger deserialization when processing `phar://` stream wrapper paths. OpenMage LTS uses these functions with potentially controllable file paths during image validation and media handling. An attacker who can upload a malicious phar file (disguised as an image) and trigger one of these functions with a `phar://` path can achieve arbitrary code execution. Version 20.17.0 patches the issue.","publishedAt":"2026-04-20T16:11:16.922Z","updatedAt":"2026-04-20T16:54:43.603Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["OpenMage magento-lts"],"affected":[{"vendor":"OpenMage","product":"magento-lts","versions":[{"version":"< 20.17.0","status":"affected"}]}],"references":["https://github.com/OpenMage/magento-lts/security/advisories/GHSA-fg79-cr9c-7369","https://github.com/OpenMage/magento-lts/releases/tag/v20.17.0"],"weaknesses":["CWE-502"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/25xxx/CVE-2026-25524.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-25524","state":"PUBLISHED","datePublished":"2026-04-20T16:11:16.922Z","dateUpdated":"2026-04-20T16:54:43.603Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-02T19:59:47.372Z"},"containers":{"cna":{"title":"OpenMage LTS's Phar Deserialization leads to Remote Code Execution","descriptions":[{"lang":"en","value":"Magento Long Term Support (LTS) is an unofficial, community-driven project provides an alternative to the Magento Community Edition e-commerce platform with a high level of backward compatibility. Prior to version 20.17.0, PHP functions such as `getimagesize()`, `file_exists()`, and `is_readable()` can trigger deserialization when processing `phar://` stream wrapper paths. OpenMage LTS uses these functions with potentially controllable file paths during image validation and media handling. An attacker who can upload a malicious phar file (disguised as an image) and trigger one of these functions with a `phar://` path can achieve arbitrary code execution. Version 20.17.0 patches the issue."}],"affected":[{"vendor":"OpenMage","product":"magento-lts","versions":[{"version":"< 20.17.0","status":"affected"}]}],"references":[{"url":"https://github.com/OpenMage/magento-lts/security/advisories/GHSA-fg79-cr9c-7369","name":"https://github.com/OpenMage/magento-lts/security/advisories/GHSA-fg79-cr9c-7369","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenMage/magento-lts/releases/tag/v20.17.0","name":"https://github.com/OpenMage/magento-lts/releases/tag/v20.17.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-502","lang":"en","description":"CWE-502: Deserialization of Untrusted Data","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-20T16:11:16.922Z"},"source":{"advisory":"GHSA-fg79-cr9c-7369","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-20T16:44:41.509455Z","id":"CVE-2026-25524","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-20T16:54:43.603Z"}}]}}}