OpenMage magento-lts
OpenMage LTS's Phar Deserialization leads to Remote Code Execution
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 20.17.0
Fixed in 20.17.0
Mitigation
Upgrade magento-lts to 20.17.0 or later.
References
- Vendor advisory github.com/OpenMage/magento-lts/security/advis…
- Release notes github.com/OpenMage/magento-lts/releases/tag/v…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 informational
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Emily-0309/unit-01-severity-vs-risk-reflection | 4 Sep 2026 +137 d | 0 | Informational · list
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.