# CVE-2026-25524: OpenMage LTS's Phar Deserialization leads to Remote Code Execution

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-20T16:11:16.922Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-fg79-cr9c-7369
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- OpenMage magento-lts: < 20.17.0
- openmage/magento-lts (Packagist): before 20.17.0
- openmage magento: before 20.17.0

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/OpenMage/magento-lts/security/advisories/GHSA-fg79-cr9c-7369> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/OpenMage/magento-lts/releases/tag/v20.17.0> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25524> (advisory)
- <https://github.com/OpenMage/magento-lts> (package)

## Sources

- CVE List: [CVE-2026-25524](https://www.cve.org/CVERecord?id=CVE-2026-25524), CVE Terms of Use, modified 2026-04-20
- GitHub Advisory Database: [GHSA-fg79-cr9c-7369](https://github.com/advisories/GHSA-fg79-cr9c-7369), CC-BY-4.0, modified 2026-04-21
- NVD: [CVE-2026-25524](https://nvd.nist.gov/vuln/detail/CVE-2026-25524), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-25524 · Whole record: https://cve.day/CVE-2026-25524.json · Rebuilt by cve.day 2026-11-25T22:59:19.046Z
