Read the docs

File upload in OpenMage magento-lts lets attackers run code

Priority MEDIUM 43CWE-184Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

OpenMage magento-lts from 20.17.0 before 20.18.2 and from 21.0.0-beta1 before 21.0.0-beta3 is affected. The protected extensions blocklist omits phar, php8 and phps, so these file types are not blocked on upload (CWE-184). An unauthenticated remote attacker can upload a .phar file through a product File custom option and run code on servers that map .phar to PHP and serve that directory.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00643 51st percentileScored 2026-11-16
Fix Fixed magento-lts (OpenMage): 20.18.2, 21.0.0-beta3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
OpenMagemagento-lts20.17.0 to before 20.18.220.18.2Patch availableCNA
OpenMagemagento-lts21.0.0-beta1 to before 21.0.0-beta321.0.0-beta3Patch availableCNA
  • magento-lts VendorOpenMage Affected 20.17.0 to before 20.18.2 Fixed in 20.18.2 Patch available CNA
  • magento-lts VendorOpenMage Affected 21.0.0-beta1 to before 21.0.0-beta3 Fixed in 21.0.0-beta3 Patch available CNA

Remediation

Upgrade magento-lts to 20.18.2 for the 20.x line and to 21.0.0-beta3 for the beta line.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

  • Fix · CNA magento-lts (OpenMage) Fixed in 20.18.2
  • Fix · CNA magento-lts (OpenMage) Fixed in 21.0.0-beta3

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    OpenMage magento-lts 21.0.0-beta3

    19 records Highest priority Priority MEDIUM 3 MEDIUM, 16 LOW

    Other records, highest priority first

    • TI-2026-91455 OpenMage magento-lts Account Takeover via Predictable Confirmation KeyPriority MEDIUM 42
    • TI-2026-91457 Cross-site request forgery in OpenMage Magento LTS OAuth confirmPriority MEDIUM 40
    • TI-2026-91449 Stored cross-site scripting in OpenMage magento-lts review feedPriority LOW 38
  • Release ·

    OpenMage magento-lts 20.18.2

    16 records Highest priority Priority MEDIUM 3 MEDIUM, 13 LOW

    Other records, highest priority first

    • TI-2026-91455 OpenMage magento-lts Account Takeover via Predictable Confirmation KeyPriority MEDIUM 42
    • TI-2026-91457 Cross-site request forgery in OpenMage Magento LTS OAuth confirmPriority MEDIUM 40
    • TI-2026-91449 Stored cross-site scripting in OpenMage magento-lts review feedPriority LOW 38

Timeline

  1. 2026-11-13 Threatist record created from CVE-2026-128046
  2. 2026-11-13 Alias added: GHSA-r74m-vw7m-pr6g
  3. 2026-11-13 CISA SSVC decision points changed

References

  • TI-2026-30484 Magento LTS: Weak API Session ID — Predictable MD5 of Time-Derived Inputs CVSS 4.0CRITICAL 9.3
  • TI-2026-20633 OpenMage LTS's Phar Deserialization leads to Remote Code Execution CVSS 3.1HIGH 8.1
  • TI-2026-29239 OpenMage LTS has Customer File Upload Extension Blocklist Bypass that Leads to Remote Code Execution CVSS 4.0HIGH 8.7
  • TI-2023-22272 Magento LTS's guest order "protect code" can be brute-forced too easily CVSS 3.1HIGH 7.5
  • TI-2026-30528 Magento LTS: Open Redirect via Unvalidated `uenc` Parameter in `stockAction()` - magento-lts CVSS 3.1MEDIUM 6.1
  • TI-2026-30747 Magento LTS: Reflected XSS - Import -> Data Flow (profiles) CVSS 4.0MEDIUM 5.3
See all 46 →

Sources