CVE-2026-45053

CubeCart: Authenticated Arbitrary File Upload to RCE in REST Files API

Published May 13, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

CubeCart’s REST API file upload endpoint (POST /api/v1/files) allows an attacker who holds an API key with files:rw permission to upload PHP source files into a publicly accessible directory. The upload can be combined with a path‑traversal flaw in the filepath parameter, enabling a single request to place a web-shell anywhere the server can write, including the document root, thus executing arbitrary code. The vulnerability is identified as a CWE‑434.

Affected Systems

Any CubeCart v6 installation with a version older than 6.7.0 is affected, as the issue was resolved in version 6.7.0.

Risk and Exploitability

The CVSS score of 9.1 marks the issue as critical. EPSS is not available and the vulnerability is not listed in the CISA KEV catalog. The attack requires authenticated access via a valid API key with files:rw permission; once such a key is in possession, the path‑traversal component allows the attacker to place files outside the intended directory, providing a straightforward path to remote code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade CubeCart to version 6.7.0 or later.
  • Revoke or remove any API keys that have files:rw permission and no longer require file upload privileges.
  • Deploy a web‑application firewall or equivalent filtering to block unexpected PHP file uploads to the images/source/ directory or the document root.

Generated by OpenCVE AI on May 13, 2026 at 23:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Cubecart
Cubecart cubecart
Vendors & Products Cubecart
Cubecart cubecart
Type Values Removed Values Added
Description 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.
Title CubeCart: Authenticated Arbitrary File Upload to RCE in REST Files API
Weaknesses CWE-434
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 15, 2026, 6:56 PM
Reserved
May 8, 2026, 6:07 PM
Status
Deferred
Published
May 13, 2026, 9:16 PM
Modified
Jun 17, 2026, 10:51 AM