CVE-2026-25524 Details
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.
A vulnerability in OpenMage Magento Long Term Support (LTS) versions prior to 20.17.0 allows for arbitrary code execution through phar deserialization. This issue arises during image validation and media handling, where PHP functions like 'getimagesize()', 'file_exists()', and 'is_readable()' can be manipulated to process 'phar://' stream wrapper paths. An attacker could upload a malicious phar file disguised as an image, triggering one of these functions and executing arbitrary code.
Users can upgrade to OpenMage Magento LTS version 20.17.0, which removes support for ICO files (a vector for this attack) and disables the 'phar://' stream wrapper. If an immediate upgrade is not possible, 'phar://' can be disabled in the php.ini file or through code, and additional upload validations can be implemented.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/OpenMage/magento-lts/releases/tag/v20.17.0 | [email protected] | Release Notes |
| https://github.com/OpenMage/magento-lts/security/advisories/GHSA-fg79-cr9c-7369 | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| openmage magento | < 20.17.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 23, 2026 | Initial Analysis | [email protected] |
| Apr 20, 2026 | New CVE Received | [email protected] |