CVE-2026-128046
Received Received - Intake

Unrestricted File Upload in OpenMage Magento-LTS

Vulnerability report for CVE-2026-128046, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-13

Last updated on: 2026-11-13

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-13
Last Modified
2026-11-13
Generated
2026-11-13
AI Q&A
2026-11-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
openmage magento_lts to 20.18.2 (exc)
openmage magento_lts to 21.0.0_beta3 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-184 The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-128046 is an unrestricted file upload vulnerability in OpenMage Magento-LTS versions before 20.18.2 and 21.0.0-beta3. It occurs because the default blocklist of protected file extensions omits dangerous PHP variants like .phar, .php8, and .phps. Attackers can upload a .phar file via a product custom option to a predictable media/custom_options path. If the server executes .phar files as PHP and serves this directory, the attacker can request the file directly to achieve remote code execution.

Detection Guidance

Check for unauthorized .phar, .php8, or .phps files in the media/custom_options directory. Use commands like 'find /path/to/magento/media/custom_options -type f \( -name "*.phar" -o -name "*.php8" -o -name "*.phps" \)' to detect suspicious files. Review web server access logs for requests to media/custom_options with these extensions.

Impact Analysis

Unauthenticated attackers can exploit this to upload malicious files and execute arbitrary code on your server. This could lead to full system compromise, data theft, or defacement of your e-commerce site. The impact depends on server configuration but may allow attackers to take control of the application and underlying infrastructure.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating GDPR's data protection requirements and HIPAA's security rules for protected health information. A successful exploit may result in data breaches, triggering compliance violations, legal penalties, and reputational damage for organizations handling regulated data.

Mitigation Strategies

Upgrade to OpenMage Magento-LTS versions 20.18.2, 20.19.0, or 21.0.0-beta3 or later. Block web access to the media/custom_options directory via server configuration. Ensure .htaccess files are enforced in Apache or nginx. Add .phar, .php8, and .phps to the protected extensions list if not already present.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-128046. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...