Skip to main content
← All vulnerabilities
CVE-2026-25524GHSA-FG79-CR9C-7369

OpenMage LTS's Phar Deserialization leads to Remote Code Execution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 20.17.0
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • OpenMage magento-lts

    fixed in 20.17.0

  • openmage/magento-ltsPackagist

    fixed in 20.17.0

References 3

GitHub · OpenMage/magento-lts

GitHub · Emily-0309/unit-01-severity-vs-risk-reflection