OpenMage LTS's Phar Deserialization leads to Remote Code Execution
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-502.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OpenMage | magento-lts | before 20.17.0 | 20.17.0 | Patch available | CNA |
| — | openmage/magento-lts (Packagist) | before 20.17.0 | 20.17.0 | Patch available | GHSA-fg79-cr9c-7369 |
- magento-lts VendorOpenMage Affected before 20.17.0 Fixed in 20.17.0 Patch available CNA
- openmage/magento-lts (Packagist) Vendor— Affected before 20.17.0 Fixed in 20.17.0 Patch available GHSA-fg79-cr9c-7369
Remediation
- Fix · CNA magento-lts (OpenMage) Fixed in 20.17.0
- Fix · GHSA-fg79-cr9c-7369 openmage/magento-lts (Packagist) Fixed in 20.17.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-25524
- 2026-10-03 Alias added: GHSA-fg79-cr9c-7369
References
More OpenMage Magento vulnerabilities
- TI-2026-29239 OpenMage LTS has Customer File Upload Extension Blocklist Bypass that Leads to Remote Code Execution CVSS 4.0HIGH 8.7
- TI-2023-22272 Magento LTS's guest order "protect code" can be brute-forced too easily CVSS 3.1HIGH 7.5
- TI-2026-28925 Missing authorization in OpenMage magento-lts CVSS 4.0MEDIUM 5.3
- TI-2026-20634 OpenMage LTS has Path Traversal Filter Bypass in Dataflow Module CVSS 3.1MEDIUM 4.9
- TI-2025-39617 OpenMage is vulnerable to XSS in Admin Notifications CVSS 4.0MEDIUM 4.6
- TI-2021-04494 Magneto-lts vulnerable to Cross-Site Request Forgery CVSS 3.1MEDIUM 4.3
Sources
- CVE-2026-25524 · CVE Program
- CVE-2026-25524 · NVD
- FIRST EPSS
- GHSA-fg79-cr9c-7369 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences