Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconRegister customer account
-
DeliveryNavigate to product with file upload option
-
ExploitUpload webshell as .phtml file
-
InstallBypass extension blocklist
-
C2File stored in media/custom_options/quote/
-
ExecuteRequest uploaded file URL
-
ImpactServer executes PHP code
-
Step 8Remote code execution achieved
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authenticated customer account (PR:L - low privileges) on the target OpenMage LTS installation, achievable through free registration on most e-commerce stores. Exploitation depends on specific web server configuration: vulnerable when Apache/nginx is configured to execute PHP code from alternative extensions ( |
| Impact | Real-world risk is ELEVATED for production OpenMage LTS installations. CVSS 8.7 (High) accurately reflects network-exploitable RCE with low attack complexity and no user interaction required, though PR:L (low privileges required) provides meaningful mitigation since attackers need authenticated customer accounts. The attack vector depends on server configuration: environments with default Apache configurations treating |
| Exploit ScenarioDerived | An attacker creates a customer account on the vulnerable OpenMage store (low privilege requirement). They navigate to a product with customizable file upload options, craft a PHP webshell with a |
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 before 20.17.0 allows authenticated attackers to upload executable PHP files through product custom options by bypassing an incomplete file extension blocklist. The vulnerability exists because the upload filter only blocks .php and .exe extensions, permitting alternative PHP-executable extensions like .phtml, .phar, .php3-.php7, and .pht. Uploaded files land in the publicly accessible media/custom_options/quote/ directory, enabling code execution on servers without explicit script execution restrictions. No active exploitation confirmed (not in CISA KEV), but public disclosure via GitHub Security Advisory increases exploitation likelihood. EPSS data not provided.
RemediationAI
Upgrade to OpenMage Magento LTS version 20.17.0 or later, which replaces the incomplete extension blocklist with comprehensive file upload validation per the vendor advisory at https://github.com/OpenMage/magento-lts/security/advisories/GHSA-3j5q-7q7h-2hhv. If immediate patching is impossible, implement compensating controls: (1) Configure web server to deny script execution in media/custom_options/quote/ directory by adding .htaccess rules for Apache (php_flag engine off) or nginx location block (location ~* ^/media/custom_options/quote/ { deny all; }), which prevents execution but breaks legitimate file downloads for customers; (2) Restrict product custom option file upload functionality to trusted admin users only, disabling customer-facing file uploads entirely, which eliminates the feature's business value; (3) Implement Web Application Firewall rules blocking requests to media/custom_options/quote/*.(phtml|phar|php3|php4|php5|php7|pht), though sophisticated attackers may bypass with double extensions or null-byte injection. All workarounds have significant operational trade-offs compared to patching.
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 1.x Community Edition, continuing support after Adobe's end-of-life. The vulnerability stems from CWE-434 (Unrestricted Upload of File with Dangerous Type) in the product custom options module. This module allows merchants to configure customizable product options, including file uploads from customers. The implementation uses a hardcoded blocklist approach (forbidden_extensions = php,exe) rather than a secure allowlist. PHP web servers commonly recognize multiple file extensions as executable beyond .php, including legacy extensions (.php3, .php4, .php5, .php7), template extensions (.phtml), archive extensions (.phar), and alternative extensions (.pht). When Apache or nginx is configured with handlers for these extensions, uploaded files execute server-side. The affected CPE (cpe:2.3:a:openmage:magento-lts) confirms this targets the OpenMage fork specifically, not Adobe's current Magento 2.x platform despite the 'Adobe' tag.
Know when Openmage 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
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, the product custom option file upload in OpenMage LTS uses an incomplete blocklist (forbidden_extensions = php,exe) to prevent dangerous file uploads. This blocklist can be trivially bypassed by using alternative PHP-executable extensions such as .phtml, .phar, .php3, .php4, .php5, .php7, and .pht. Files are stored in the publicly accessible media/custom_options/quote/ directory, which lacks server-side execution restrictions for some configurations, enabling Remote Code Execution if this directory is not explicitly denied script execution. Version 20.17.0 patches the issue.
Executive ViewAI
OpenMage Magento LTS versions prior to 20.17.0 contain a remote code execution vulnerability that allows authenticated users to upload malicious PHP files by exploiting an incomplete file extension blocklist, directly enabling unauthorized command execution on affected servers. This poses immediate risk to e-commerce operations, customer data, and payment systems for any organization running vulnerable versions with authenticated user access.
Apply vendor patch. If immediate patching is not possible, implement: (1) disable product custom options feature if not business-critical; (2) restrict execute permissions on media/custom_options/quote/ directory at OS/web server level to prevent PHP execution; (3) limit authenticated user accounts with product upload capability to essential personnel only; (4) deploy WAF rules blocking requests to .phtml, .phar, .php3-.php7, .pht files in upload directories.
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
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Magento LTS is the official OpenMage LTS codebase. Rated high severity (CVSS 7.5), this vulnerability is remotely exploi
Magento-lts is a long-term support alternative to Magento Community Edition (CE). Rated critical severity (CVSS 9.8), th
Cross-site request forgery in OpenMage LTS's OAuth authorization flow allows anyone holding valid OAuth consumer credent
Unauthenticated file upload in OpenMage LTS (magento-lts) before 20.18.2 and in the 21.0.0 beta line before 21.0.0-beta3
Account takeover affects OpenMage LTS releases before 20.18.2 and 21.0.0-beta pre-releases before 21.0.0-beta3 because c
Stored cross-site scripting in OpenMage LTS (the Magento 1 community fork) lets an unauthenticated guest plant script in
OAuth 1.0a callback allowlist bypass in OpenMage LTS (magento-lts) allows someone holding a leaked consumer key and secr
Stored cross-site scripting in OpenMage LTS (composer package openmage/magento-lts) before 20.18.2 and in the 21.0.0 bet
Remote code execution in OpenMage Magento LTS versions prior to 20.17.0 allows unauthenticated attackers to execute arbi
OpenMage LTS before versions 19.4.6 and 20.0.2 allows attackers to circumvent the `fromkey protection` in the Admin Inte
OpenMage LTS is an e-commerce platform. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
OpenMage LTS fails to end already-open API sessions when an administrator revokes access, so SOAP v1/v2, WS-I, XML-RPC,
EUVD-2026-23904
GHSA-3j5q-7q7h-2hhv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB