Skip to main content

OpenMage LTS EUVDEUVD-2026-125062

| CVE-2026-128046 CRITICAL
Incomplete List of Disallowed Inputs (CWE-184)
2026-11-13 VulnCheck GHSA-r74m-vw7m-pr6g
9.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Add product with File custom option to cart
  2. Delivery
    Upload crafted .phar via empty extension filter
  3. Exploit
    Predict media/custom_options storage path
  4. Execution
    Request uploaded .phar directly
  5. Impact
    Execute 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

magento-lts 21.0.0-beta1 <21.0.0-beta3
magento-lts 20.17.0 <20.18.2

Affected Packages

euvd magento_lts fix: 20.18.2, 21.0.0-beta3

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

Vendor (VulnCheck) PRIMARY 9.2 CRITICAL
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
vuln.today AI 8.1 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 46% exploitable
Prevalence
Low
community fork of end-of-life Magento 1, niche merchant base
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

CVE-2023-41879 HIGH POC
7.5 Sep 11

Magento LTS is the official OpenMage LTS codebase. Rated high severity (CVSS 7.5), this vulnerability is remotely exploi

CVE-2021-21426 CRITICAL
9.8 Apr 21

Magento-lts is a long-term support alternative to Magento Community Edition (CE). Rated critical severity (CVSS 9.8), th

CVE-2026-128049 CRITICAL
9.4 Nov 13

Cross-site request forgery in OpenMage LTS's OAuth authorization flow allows anyone holding valid OAuth consumer credent

CVE-2026-128047 CRITICAL
9.2 Nov 13

Account takeover affects OpenMage LTS releases before 20.18.2 and 21.0.0-beta pre-releases before 21.0.0-beta3 because c

CVE-2026-128041 HIGH
8.8 Nov 13

Stored cross-site scripting in OpenMage LTS (the Magento 1 community fork) lets an unauthenticated guest plant script in

CVE-2026-128044 HIGH
8.7 Nov 13

OAuth 1.0a callback allowlist bypass in OpenMage LTS (magento-lts) allows someone holding a leaked consumer key and secr

CVE-2026-40488 HIGH
8.7 Apr 20

Remote code execution in OpenMage Magento LTS versions before 20.17.0 allows authenticated attackers to upload executabl

CVE-2026-128040 HIGH
8.4 Nov 13

Stored cross-site scripting in OpenMage LTS (composer package openmage/magento-lts) before 20.18.2 and in the 21.0.0 bet

CVE-2026-25524 HIGH
8.1 Apr 20

Remote code execution in OpenMage Magento LTS versions prior to 20.17.0 allows unauthenticated attackers to execute arbi

CVE-2020-15151 HIGH
8.0 Aug 20

OpenMage LTS before versions 19.4.6 and 20.0.2 allows attackers to circumvent the `fromkey protection` in the Admin Inte

CVE-2023-23617 HIGH
7.5 Jan 28

OpenMage LTS is an e-commerce platform. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-128030 HIGH
7.4 Nov 13

OpenMage LTS fails to end already-open API sessions when an administrator revokes access, so SOAP v1/v2, WS-I, XML-RPC,

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy