Skip to main content

CubeCart EUVDEUVD-2026-30170

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

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain API key with files:rw scope
  2. Delivery
    Craft POST to /api/v1/files with PHP payload
  3. Exploit
    Inject path traversal in filepath parameter
  4. Execution
    Write webshell to document root
  5. Persist
    Request webshell URL
  6. Impact
    Execute commands as webserver user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK

2 techniques across 2 tactics: Command and Control, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Attacker must possess a valid CubeCart REST API key with the files:rw permission scope; the vulnerable POST /api/v1/files endpoint must be reachable from the attacker's network position; the deployment must run a version of CubeCart v6 below 6.7.0 with the REST API enabled; and the webserver process must have write access to a PHP-executable directory (default installations satisfy this for images/source/ and typically the document root). Limiting factors: PR:H means no anonymous exploitation is possible, so installations that do not issue files:rw API keys, restrict the REST API to internal networks, or run the webserver as a low-privilege user with a read-only document root materially reduce exposure. No user interaction is required (UI:N).

Impact

CVSS 9.1 reflects network attack vector, low complexity, no user interaction, and total CIA impact, but PR:H (high privileges required) means the attacker must already hold an API key with files:rw scope - a meaningful gate that downgrades real-world risk versus pre-auth RCE bugs of similar score. EPSS of 0.19% (40th percentile) is low and aligns with SSVC's 'Automatable: no' and POC-only exploitation status, suggesting this is not currently a mass-exploitation target. Not listed in CISA KEV, so no confirmed active exploitation. Scope:Changed plus Technical Impact:Total indicate that once exploited, blast radius extends beyond the application (full webserver compromise), making this a high priority specifically for CubeCart operators who issue API keys to third parties, integrators, or staff with broad permissions.

Exploit ScenarioDerived

An attacker who has obtained a valid API key with files:rw permission - through a leaked integration credential, a compromised staff account, or a careless third-party integration - sends a single authenticated POST to /api/v1/files with a PHP payload and a filepath value containing '../' sequences pointing at the document root. The server writes the file (e.g., shell.php) into a web-served directory, and the attacker fetches it to gain code execution as the webserver user. A POC is referenced in SSVC data, increasing the likelihood that working exploit code circulates within researcher channels.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 08, 2026

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).

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.

Affected VersionsENISA

v6 < 6.7.0

Affected Packages

euvd v6 fix: 6.7.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Cubecart gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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

2
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.

Executive ViewAI

Why It Matters

CubeCart v6 installations prior to version 6.7.0 face critical remote code execution risk through a path-traversal vulnerability in the REST API file upload endpoint. Attackers with valid API keys and file write permissions can upload malicious PHP files to execute arbitrary code and gain full server control. Organizations running e-commerce operations on affected versions should prioritize immediate patching to prevent complete platform compromise.

Business Impact: High
Compensating Controls

Vendor-released patch: CubeCart v6.7.0. While patching is deployed: restrict API key issuance and files:rw permission assignments to essential service accounts only; implement WAF rules to block POST requests to /api/v1/files endpoint; enable detailed logging and monitoring of API authentication events.

Threat Intelligence Overview

EPSS Score
0.2%
Top 60% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2013-1465 CRITICAL POC
9.8 Feb 08

The Cubecart::_basket method in classes/cubecart.class.php in CubeCart 5.0.0 through 5.2.0 allows remote attackers to un

CVE-2024-34832 CRITICAL POC
9.8 Jun 06

Directory Traversal vulnerability in CubeCart v.6.5.5 and before allows an attacker to execute arbitrary code via a craf

CVE-2012-0865 MEDIUM POC
5.8 Feb 21

Multiple open redirect vulnerabilities in CubeCart 3.0.20 and earlier allow remote attackers to redirect users to arbitr

CVE-2024-33438 HIGH POC
8.0 Apr 29

File Upload vulnerability in CubeCart before 6.5.5 allows an authenticated user to execute arbitrary code via a crafted

CVE-2014-2341 MEDIUM POC
6.8 Apr 22

Session fixation vulnerability in CubeCart before 5.2.9 allows remote attackers to hijack web sessions via the PHPSESSID

CVE-2026-54647 HIGH POC
7.2 Sep 17

Authenticated SQL injection in CubeCart before 6.7.5 allows an administrator with access to the admin settings page to m

CVE-2015-6928 MEDIUM POC
6.8 Sep 28

classes/admin.class.php in CubeCart 5.2.12 through 5.2.16 and 6.x before 6.0.7 does not properly validate that a passwor

CVE-2025-59413 MEDIUM POC
6.5 Sep 22

CubeCart is an ecommerce software solution. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable

CVE-2026-54644 MEDIUM POC
6.1 Sep 17

Reflected cross-site scripting in CubeCart versions prior to 6.7.5 allows unauthenticated remote attackers to execute Ja

CVE-2026-44376 MEDIUM POC
6.1 May 13

Reflected XSS in CubeCart v6 (prior to 6.7.0) enables unauthenticated remote attackers to execute arbitrary JavaScript i

CVE-2025-59411 MEDIUM POC
5.4 Sep 22

CubeCart is an ecommerce software solution. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable

CVE-2025-59412 MEDIUM POC
5.4 Sep 22

CubeCart is an ecommerce software solution. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable

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