Skip to main content

CubeCart CVE-2026-45053

| EUVDEUVD-2026-30170 CRITICAL
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-05-13 GitHub_M
9.1
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
9.1 CRITICAL
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Generated
Jun 08, 2026 - 08:22 vuln.today
Patch available
May 13, 2026 - 22:03 EUVD
CVE Published
May 13, 2026 - 20:42 nvd
CRITICAL 9.1

DescriptionGitHub Advisory

CubeCart is an ecommerce software solution. Prior to 6.7.0, an Authenticated Arbitrary File Upload vulnerability exists in the REST API File Manager endpoint (POST /api/v1/files) of CubeCart. The endpoint allows any holder of an API key with files:rw permission to upload PHP source files into the web-accessible images/source/ directory, where they are executed by the web server. Combined with a path-traversal flaw in the same endpoint's filepath parameter, a single API request writes a webshell anywhere the webserver process can write - including the document root - yielding full Remote Code Execution. This vulnerability is fixed in 6.7.0.

AnalysisAI

Remote code execution in CubeCart v6 prior to 6.7.0 allows API key holders with files:rw permission to upload PHP webshells via the POST /api/v1/files REST endpoint. A path-traversal flaw in the filepath parameter lets attackers write executable files anywhere the webserver can write, including the document root, achieving full server takeover. No public exploit identified at time of analysis, though SSVC notes a POC and EPSS sits at 0.19% (40th percentile).

Technical ContextAI

CubeCart is a PHP-based open-source ecommerce platform deployed on customer-managed LAMP/LEMP stacks (CPE: cpe:2.3:a:cubecart:v6). The vulnerability resides in the REST API File Manager endpoint (POST /api/v1/files), which fails to validate file extensions before writing user-supplied content to disk - a textbook CWE-434 (Unrestricted Upload of File with Dangerous Type). Compounding this, the filepath parameter lacks normalization, so '../' sequences traverse out of images/source/ into the document root. Because uploaded .php files land in a web-accessible location and are interpreted by the PHP runtime, file write equates directly to code execution under the webserver user.

RemediationAI

Vendor-released patch: upgrade to CubeCart 6.7.0 or later, per advisory GHSA-652f-8c88-25cx (https://github.com/cubecart/v6/security/advisories/GHSA-652f-8c88-25cx). For operators who cannot immediately upgrade, revoke or rotate any API keys carrying the files:rw permission and audit existing keys for least-privilege scoping - this directly eliminates the precondition for exploitation but will break legitimate integrations that depend on programmatic file management. As an additional layer, deny PHP execution inside images/source/ via webserver configuration (e.g., an Apache 'php_admin_flag engine off' block or nginx location rule), and block POST requests to /api/v1/files at the WAF or reverse proxy for clients that should not be invoking the file manager; note these controls do not stop the path-traversal write to other writable directories, only execution from the upload target. After patching, audit images/source/ and the document root for unexpected .php files dropped before the fix.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Share

CVE-2026-45053 vulnerability details – vuln.today

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