Arbitrary File Upload Affecting openmage/magento-lts package, versions <20.17.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.69% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-OPENMAGEMAGENTOLTS-16318362
  • published28 Apr 2026
  • disclosed20 Apr 2026
  • creditUnknown

Introduced: 20 Apr 2026

CVE-2026-40488  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

Upgrade openmage/magento-lts to version 20.17.0 or higher.

Overview

openmage/magento-lts is a This repository is the home of an unofficial community-driven project.

Affected versions of this package are vulnerable to Arbitrary File Upload due to an incomplete blocklist in the file upload process. An attacker can execute arbitrary code on the server by uploading files with alternative PHP-executable extensions to the publicly accessible media/custom_options/quote/ directory. This is only exploitable if the directory is not explicitly denied script execution.

CVSS Base Scores

version 4.0
version 3.1