patchminder
Proof of concept · CISA assessment CVE-2026-40488

Remote code executionin OpenMage magento-lts.

Published 20 Apr 2026 · Updated 20 Apr 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).

Severity
High 8.7
CVSSA severity score from 0 to 10. 9 and higher is critical. 4.0
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.7% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 20.17.0 or later
In plain words

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.

What to do now
  • Upgrade magento-lts to 20.17.0 or later.
  • Upgrade openmage/magento-lts (Packagist) to 20.17.0 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
magento-lts
before 20.17.0
20.17.0
CVE record
openmage/magento-lts (Packagist)
before 20.17.0
20.17.0
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 13 Apr 2026
    CVE ID reserved by GitHub_M.
  2. 20 Apr 2026
    Published in the CVE List.
  3. 20 Apr 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other magento-lts vulnerabilities

Same weakness: Unrestricted file upload

All CWE-434 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-40488: Remote code execution in OpenMage magento-lts. https://patchminder.com/cve/cve-2026-40488/ (accessed 5 December 2026).