Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconUpload malicious phar disguised as image
-
DeliveryStore file on server filesystem
-
ExploitManipulate path parameter with phar:// wrapper
-
InstallTrigger vulnerable PHP function processing path
-
C2Deserialize embedded malicious objects
-
ExecuteExecute arbitrary code as web server user
-
ImpactEstablish persistent backdoor access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the OpenMage instance exposes file upload functionality (product images, customer avatars, CMS media uploads, or import/export features) where phar archives can be stored on the server filesystem with attacker-controlled or predictable paths. The application must subsequently process uploaded file paths through vulnerable PHP functions (getimagesize, file_exists, is_readable) in media validation, thumbnail generation, or file existence checks. Critically, the attacker must be able to influence the file path passed to these functions to inject the phar:// stream wrapper prefix, either through direct parameter manipulation, path traversal, or exploiting another vulnerability that reflects user input into filesystem operations. High attack complexity indicates that default configurations may not be directly exploitable - likely requires specific media handling workflows, administrative features exposed to unauthenticated users, or chained with another vulnerability for path control. The vulnerability is NOT exploitable if: phar extension is disabled in PHP configuration, file uploads are restricted to authenticated administrators only, or application validates and strips phar:// wrappers before filesystem operations. Applies specifically to PHP-based deployments of OpenMage Magento LTS - unaffected if running alternative platforms. |
| Impact | Despite the critical CVSS score of 8.1, real-world exploitation risk depends heavily on deployment specifics. The high attack complexity (AC:H) indicates significant prerequisites: attackers must (1) successfully upload a phar file past content validation, (2) determine or control the file path used in subsequent operations, and (3) trigger one of the vulnerable functions with a crafted phar:// URL. No authentication required (PR:N) and network vector (AV:N) expand the attack surface, but the AC:H rating suggests exploitation is non-trivial. EPSS data unavailable for risk prioritization. No CISA KEV listing indicates no confirmed widespread exploitation. Absence of public POC reference in provided data suggests limited weaponization, though phar deserialization techniques are well-documented in security research. The SSVC decision tree would prioritize based on: exploitation status (no evidence of active exploitation), automatable (possibly, given network vector, but AC:H suggests manual steps required), technical impact (total control per CVSS C:H/I:H/A:H). Organizations running public-facing OpenMage instances with file upload capabilities should prioritize patching. Those with restricted upload access or Web Application Firewall rules blocking phar:// wrappers face reduced immediate risk. CRITICAL CAVEAT: The AC:H rating may reflect detection difficulty rather than true exploitation barriers - once prerequisites are met, exploitation is deterministic. |
| Exploit ScenarioDerived | An attacker identifies an OpenMage storefront allowing product image uploads or customer profile pictures without authentication. They craft a malicious phar archive containing serialized PHP objects with gadget chains targeting known classes in OpenMage or installed plugins. The phar file is disguised with a .jpg extension and valid JPEG header bytes to pass content-type validation. After uploading via the media management endpoint, the attacker probes for reflected file paths in error messages or uses directory traversal techniques to determine the uploaded file's storage location. They then submit a request to an image processing endpoint (such as thumbnail generation or format conversion) with a manipulated path parameter like 'phar:///var/www/html/media/upload/malicious.jpg'. The application passes this path to getimagesize() for validation, triggering automatic deserialization of the phar metadata and executing the embedded object chain, granting the attacker remote code execution as the web server user. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 20, 2026
Remote code execution in OpenMage Magento LTS versions prior to 20.17.0 allows unauthenticated attackers to execute arbitrary code by uploading malicious phar archives disguised as images and triggering PHP deserialization via phar:// stream wrappers. The attack requires high complexity (AC:H) to exploit successfully. EPSS data not available, but exploitation requires specific conditions around file upload and path manipulation. Vendor patch available in version 20.17.0, confirmed by GitHub security advisory GHSA-fg79-cr9c-7369.
RemediationAI
Upgrade immediately to OpenMage Magento LTS version 20.17.0 or later, available at https://github.com/OpenMage/magento-lts/releases/tag/v20.17.0. The vendor-confirmed patch (GHSA-fg79-cr9c-7369) addresses phar deserialization by implementing stream wrapper filtering before passing paths to vulnerable PHP functions. If immediate patching is not feasible, implement these compensating controls: (1) Configure PHP to disable the phar extension via php.ini setting 'phar.readonly=1' and restart PHP-FPM/Apache - this prevents phar:// execution but breaks legitimate phar-dependent functionality if present. (2) Deploy Web Application Firewall rules to block HTTP requests containing 'phar://' strings in file path parameters, headers, or upload fields - bypass risk exists if attackers URL-encode or use alternate representations. (3) Restrict file upload functionality to authenticated administrative users only and implement strict file type validation using magic byte verification (not just extension checks) to reject phar archives - determined attackers may craft polyglot files passing validation. (4) Apply filesystem-level access controls preventing web server processes from reading uploaded files outside designated media directories. Note that workarounds significantly degrade defense-in-depth; patching remains the only complete remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenMage Magento LTS is a community-maintained fork of Magento Community Edition for e-commerce platforms. This vulnerability exploits a well-known PHP deserialization attack vector through phar:// stream wrappers. PHP's phar (PHP Archive) extension automatically deserializes metadata when filesystem functions like getimagesize(), file_exists(), or is_readable() are called on phar:// URLs. OpenMage's image validation and media handling routines use these functions with paths that may be attacker-influenced. When a phar file is uploaded (disguised with image extensions like .jpg or .png), and a vulnerable function processes it via a phar:// wrapper, PHP deserializes embedded objects without validation. This triggers CWE-502 (Deserialization of Untrusted Data), allowing attackers to instantiate arbitrary classes and execute magic methods (__destruct, __wakeup), leading to code execution if gadget chains exist in the application. The attack surface exists wherever user-supplied file paths reach these PHP functions without proper stream wrapper filtering.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
OpenMage Magento LTS versions before 20.17.0 contain a remote code execution vulnerability allowing unauthenticated attackers to execute arbitrary code through malicious file uploads. This affects any organization running vulnerable Magento instances and exposes customer data, payment systems, and operational infrastructure to direct compromise without requiring user credentials.
Apply vendor patch to version 20.17.0 or later. If patching is delayed: (1) Block .phar file uploads at the application and WAF level; (2) Restrict execute permissions on upload directories via file system ACLs; (3) Disable PHP stream wrappers (phar://, compress://) via php.ini allow_url_fopen and allow_url_include settings; (4) Implement strict file type validation beyond extension checking; (5) Monitor upload directories for suspicious activity.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-23889
GHSA-fg79-cr9c-7369
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB