CVE-2026-25524
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.
INFO
Published Date :
April 20, 2026, 5:16 p.m.
Last Modified :
April 23, 2026, 5:47 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update OpenMage LTS to version 20.17.0 or later.
- Validate image processing and media handling configurations.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-25524.
| URL | Resource |
|---|---|
| https://github.com/OpenMage/magento-lts/releases/tag/v20.17.0 | Release Notes |
| https://github.com/OpenMage/magento-lts/security/advisories/GHSA-fg79-cr9c-7369 | Exploit Vendor Advisory Mitigation |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-25524 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-25524
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-25524 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-25524 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Apr. 23, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:openmage:magento:*:*:*:*:lts:*:*:* versions up to (excluding) 20.17.0 Added Reference Type GitHub, Inc.: https://github.com/OpenMage/magento-lts/releases/tag/v20.17.0 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/OpenMage/magento-lts/security/advisories/GHSA-fg79-cr9c-7369 Types: Exploit, Mitigation, Vendor Advisory -
New CVE Received by [email protected]
Apr. 20, 2026
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-502 Added Reference https://github.com/OpenMage/magento-lts/releases/tag/v20.17.0 Added Reference https://github.com/OpenMage/magento-lts/security/advisories/GHSA-fg79-cr9c-7369