CVE-2026-25524: CWE-502: Deserialization of Untrusted Data in OpenMage magento-lts
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.
AI Analysis
Technical Summary
Magento Long Term Support (LTS) before version 20.17.0 uses PHP functions such as getimagesize(), file_exists(), and is_readable() on potentially attacker-controlled file paths that use the phar:// stream wrapper. These functions can trigger deserialization of untrusted data, allowing an attacker who can upload a crafted phar archive to execute arbitrary code. The vulnerability is addressed in version 20.17.0 by patching the handling of these file paths to prevent unsafe deserialization.
Potential Impact
Successful exploitation allows unauthenticated attackers to achieve arbitrary code execution on affected systems, leading to full compromise of the application and potentially the underlying server. The CVSS 3.1 base score is 8.1 (High), reflecting network attack vector, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade OpenMage magento-lts to version 20.17.0 or later, which contains the official fix for this vulnerability. There is no vendor advisory explicitly provided here, but the version 20.17.0 patch is confirmed to remediate the issue. Until upgrading, restrict or monitor file upload functionality to prevent uploading of malicious phar files if possible.
CVE-2026-25524: CWE-502: Deserialization of Untrusted Data in OpenMage magento-lts
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Magento Long Term Support (LTS) before version 20.17.0 uses PHP functions such as getimagesize(), file_exists(), and is_readable() on potentially attacker-controlled file paths that use the phar:// stream wrapper. These functions can trigger deserialization of untrusted data, allowing an attacker who can upload a crafted phar archive to execute arbitrary code. The vulnerability is addressed in version 20.17.0 by patching the handling of these file paths to prevent unsafe deserialization.
Potential Impact
Successful exploitation allows unauthenticated attackers to achieve arbitrary code execution on affected systems, leading to full compromise of the application and potentially the underlying server. The CVSS 3.1 base score is 8.1 (High), reflecting network attack vector, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade OpenMage magento-lts to version 20.17.0 or later, which contains the official fix for this vulnerability. There is no vendor advisory explicitly provided here, but the version 20.17.0 patch is confirmed to remediate the issue. Until upgrading, restrict or monitor file upload functionality to prevent uploading of malicious phar files if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-02-02T19:59:47.372Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e6585319fe3cd2cd13fc21
Added to database: 4/20/2026, 4:46:11 PM
Last enriched: 4/20/2026, 5:01:33 PM
Last updated: 4/21/2026, 7:04:57 AM
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.