Severity by source
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
Lifecycle Timeline
3DescriptionGitHub 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.
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
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-30170