CVE-2026-25524
HIGH 8.1CVSS 3.1OpenMage LTS: 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.
- Published
- 20 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-502
- Also known as
- GHSA-fg79-cr9c-7369
- Sources
- NVDJSONOSV GHSA-fg79-cr9c-7369JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openmage | magentocpe:2.3:a:openmage:magento:*:*:*:*:lts:*:*:* |
< 20.17.0 | 20.17.0 |
| OSV | Packagist | openmage/magento-lts | < 20.17.0 | 20.17.0 |
References
- https://github.com/OpenMage/magento-lts/releases/tag/v20.17.0 · Release Notes, WEB
- https://github.com/OpenMage/magento-lts/security/advisories/GHSA-fg79-cr9c-7369 · Exploit, Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-25524 · ADVISORY
- https://github.com/OpenMage/magento-lts · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 20 Apr 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 21 Apr 2026)