CVE-2026-25524

High

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.

SeverityHigh
CVSS8.1
Exploit probability51. percentile0.6%
ProductOpenmage Magento
PublishedApr 20, 2026
First seenApr 20, 2026

How to fix

Update
  • openmage magento20.17.0 or later
  • openmage/magento-lts20.17.0 or later

Affected products

ProductAffected versionsFixed in
openmage magentov < 20.17.020.17.0
openmage/magento-ltsPackagistv < 20.17.020.17.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.