Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAdd product with File custom option to cart
-
DeliveryUpload crafted .phar via empty extension filter
-
ExploitPredict media/custom_options storage path
-
ExecutionRequest uploaded .phar directly
-
ImpactExecute PHP code, full server compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
|
| Exploitation Conditions | Exploitation requires a chain of specific conditions, all documented by the vendor advisory: (1) the store exposes a product with a File-type custom option whose 'Allowed File Extensions' list is left empty (the default for that field), which lets any guest upload; (2) the web server maps .phar (or .php8/.phps) to the PHP handler - the advisory notes Debian/Ubuntu libapache2-mod-php does this by default; and (3) the web server actually serves media/custom_options/, which happens on nginx (never reads .htaccess) or on Apache where AllowOverride does not apply the media/custom_options/.htaccess. These same server-configuration requirements are why both scorers chose AC:H / AT:P. Limiting factors that reduce real-world risk: stores that set an explicit allowed-extension list, stores whose server denies media/custom_options/ or does not map .phar to PHP, and Apache deployments where AllowOverride lets the shipped .htaccess take effect are not exploitable. Authentication is not required (PR:N) for the guest custom-option route. |
| Impact | This is a genuine high-priority issue conditioned on server configuration, not a pure paper-high CVSS. The input CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) scores 9.2 and the vendor's own CVSS 3.1 rating is 8.1 High (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H); both agree on network vector, no authentication (PR:N), and full confidentiality/integrity/availability impact, while AC:H and AT:P explicitly encode that specific server conditions must hold. The vuln.today decision label is act_now and the vendor ships a patch, but there is no EPSS score, no CISA KEV listing, and no PoC marked as confirmed working exploit code in the input, so active exploitation is not confirmed. The GHSA notes @4n86rakam1 independently demonstrated code execution on a distribution-default Apache stack, which raises practical plausibility, but that demonstration is not published as a verified public exploit. Net: treat as urgent for exposed OpenMage stores matching the trigger conditions, while recognizing the AC:H/AT:P server-config dependency genuinely narrows the exploitable population versus the 9.2 headline. One conflict to note: the input 4.0 score (9.2) and the vendor 3.1 score (8.1) describe the same flaw at different severities because of the different scoring models - not a data error, but defenders should anchor on the shared metrics rather than the single number. |
| Exploit ScenarioDerived | An unauthenticated visitor finds a store product that has a File-type custom option with an empty 'Allowed File Extensions' list (the default), adds it to the cart, and uploads a malicious .phar payload, which is stored at a predictable media/custom_options/quote/<x>/<y>/<md5>.phar path. On a web server that maps .phar to the PHP handler and serves media/custom_options/ (nginx, or Apache without AllowOverride applying the bundled .htaccess), the attacker requests the file directly and the PHP code runs, yielding full application-server compromise. No confirmed public exploit code is listed, though a researcher demonstrated code execution on a distribution-default Apache stack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
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 lets a guest upload a .phar, .php8 or .phps file through a product File custom option and reach it at a predictable media/custom_options path, which executes as PHP on servers that map those extensions to the PHP handler and serve that directory. Exploitation is conditional rather than automatic: the storefront must expose a File custom option with an empty 'Allowed File Extensions' list, the web server must hand .phar (or .php8/.phps) to PHP, and it must serve media/custom_options/ - nginx always does since it ignores .htaccess, and Apache does when AllowOverride does not apply the shipped .htaccess. Because of that configuration dependency both the vendor (CVSS 3.1 AV:N/AC:H/PR:N/UI:N) and this assessment rate it High rather than Critical, even though the CVE record carries a 9.2 CVSS 4.0 base score; no public exploit code is referenced in the available intelligence, although the advisory credits a reporter who demonstrated code execution on a distribution-default Apache stack, and the vendor labels the fix as an act-now priority.
RemediationAI
Upgrade to a fixed release: 20.18.2 or 20.19.0 on the 20.x line, or 21.0.0-beta3 if you run the 21.x pre-release; the fixes add php8, phar and phps to general/file/protected_extensions, make a minimum protected list (php, php3-php8, phtml, pht, phar, phps, pl, py, cgi, sh, asp, aspx, jsp, htaccess, shtml) non-removable even when a store has saved its own value, ship media/custom_options/.htaccess with the release, and deny /media/custom_options/ in the bundled nginx samples (commits ba76b2346f, 5b6f985785, dd692b825b; releases https://github.com/OpenMage/magento-lts/releases/tag/v20.18.2 and /v20.19.0). If you cannot patch immediately, the vendor's workarounds are: deny web access to media/custom_options/ - on nginx add 'location /media/custom_options/ { deny all; }', on Apache ensure AllowOverride lets the directory's .htaccess take effect or add an equivalent <Directory> deny - with the trade-off that custom-option upload links then stop resolving for customers; stop mapping .phar, .php8 and .phps to the PHP handler for anything under media/; set an explicit 'Allowed File Extensions' list on every File custom option, which removes the guest upload route but restricts what customers may attach; and, on unpatched versions where a value for general/file/protected_extensions has been saved in core_config_data, add php8, phar and phps to that stored value yourself, since a saved value overrides the default list. Note that patched releases change behaviour: merchants can extend but no longer shrink the protected-extension minimum, and nginx operators must add the deny rule to their own server configuration because only the sample config was updated.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Since 20.17.0, Magento/OpenMage storefront uploads are filtered by a blocklist held in app/code/core/Mage/Core/etc/config.xml under general/file/protected_extensions, evaluated in Mage_Catalog_Model_Product_Option_Type_File::_validateUploadedFile() together with catalog/custom_options/forbidden_extensions. The same list guards EAV file attributes (Mage_Eav_Model_Attribute_Data_File), Mage_Core_Model_File_Uploader and the ImportExport uploader. The list covered php through php7, pht, phtml and a handful of server-side extensions but omitted phar, php8 and phps - a textbook CWE-184 incomplete list of disallowed inputs that yields CWE-434 unrestricted upload of a dangerous file type. When a File custom option leaves its allowed-extension field empty (the default), any visitor who adds the product to the cart can upload, and the file lands in media/custom_options/quote/<x>/<y>/<md5-of-content>.<ext>, a path the uploader can compute, so retrieval does not require guessing. The directory is intended to be private, but that depends entirely on the web tier: Apache honours media/custom_options/.htaccess only when AllowOverride permits it, nginx never reads .htaccess, and Debian/Ubuntu libapache2-mod-php maps .phar to the PHP handler by default. The trigger for code execution is therefore a direct GET of the uploaded archive on a stack meeting those conditions; where the server denies the directory or does not map the extension, the upload succeeds but does not execute. Pre-20.17.0 releases are also affected through the older php,exe-only forbidden_extensions list addressed by GHSA-3j5q-7q7h-2hhv.
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:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Remote unauthenticated guest upload (AV:N/PR:N/UI:N), but AC:H because exploitation depends on specific server config (.phar mapped to PHP and media/custom_options/ served); successful RCE gives full C/I/A impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
OpenMage magento-lts 20.17.0 before 20.18.2 and 21.0.0-beta1 before 21.0.0-beta3 contains an unrestricted file upload vulnerability because the general/file/protected_extensions blocklist omits phar, php8, and phps. Unauthenticated attackers can upload a .phar file through a product File custom option to a predictable media/custom_options path and request it directly to execute code on servers that map .phar to PHP and serve that directory.
Technical POC Analysis
CWE-184 incomplete blocklist in MageCatalogModelProductOptionTypeFile::validateUploadedFile().
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
OpenMage LTS (magento-lts) contains a critical unauthenticated file upload vulnerability that, under specific server configurations, enables remote code execution. This flaw directly threatens any e-commerce platform running the affected versions, potentially allowing attackers to compromise customer data, payment information, and overall system integrity. Leadership should prioritize immediate remediation, especially if using nginx or non-standard Apache configurations.
Apply vendor patch.
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.
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
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
Remote code execution in OpenMage Magento LTS versions before 20.17.0 allows authenticated attackers to upload executabl
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-125062
GHSA-r74m-vw7m-pr6g
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB