CVE-2026-45053: CWE-434: Unrestricted Upload of File with Dangerous Type in cubecart v6
CubeCart versions prior to 6. 7. 0 contain a critical vulnerability in the REST API File Manager endpoint that allows authenticated users with files:rw permission to upload PHP files to a web-accessible directory. This can be exploited to execute arbitrary code on the server. Additionally, a path traversal flaw in the same endpoint enables writing files anywhere the webserver can write, including the document root, resulting in full remote code execution. The vulnerability is fixed in version 6. 7. 0.
AI Analysis
Technical Summary
CVE-2026-45053 is an authenticated arbitrary file upload vulnerability in CubeCart v6 prior to 6.7.0. The REST API File Manager endpoint (POST /api/v1/files) permits users with files:rw API key permission to upload PHP source files into the images/source/ directory, which is web-accessible and allows execution by the web server. A path traversal flaw in the filepath parameter further allows an attacker to write files anywhere writable by the webserver, including the document root. This combination enables full remote code execution. The vulnerability is addressed in CubeCart version 6.7.0.
Potential Impact
Successful exploitation allows an authenticated attacker with appropriate API permissions to execute arbitrary PHP code on the server, leading to full remote code execution. This compromises confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Upgrade CubeCart to version 6.7.0 or later, where this vulnerability is fixed. Until then, restrict API key permissions to trusted users only and monitor API usage closely. Patch status is not explicitly stated beyond the fix in 6.7.0; therefore, applying this official fix is the recommended remediation.
CVE-2026-45053: CWE-434: Unrestricted Upload of File with Dangerous Type in cubecart v6
Description
CubeCart versions prior to 6. 7. 0 contain a critical vulnerability in the REST API File Manager endpoint that allows authenticated users with files:rw permission to upload PHP files to a web-accessible directory. This can be exploited to execute arbitrary code on the server. Additionally, a path traversal flaw in the same endpoint enables writing files anywhere the webserver can write, including the document root, resulting in full remote code execution. The vulnerability is fixed in version 6. 7. 0.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-45053 is an authenticated arbitrary file upload vulnerability in CubeCart v6 prior to 6.7.0. The REST API File Manager endpoint (POST /api/v1/files) permits users with files:rw API key permission to upload PHP source files into the images/source/ directory, which is web-accessible and allows execution by the web server. A path traversal flaw in the filepath parameter further allows an attacker to write files anywhere writable by the webserver, including the document root. This combination enables full remote code execution. The vulnerability is addressed in CubeCart version 6.7.0.
Potential Impact
Successful exploitation allows an authenticated attacker with appropriate API permissions to execute arbitrary PHP code on the server, leading to full remote code execution. This compromises confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Upgrade CubeCart to version 6.7.0 or later, where this vulnerability is fixed. Until then, restrict API key permissions to trusted users only and monitor API usage closely. Patch status is not explicitly stated beyond the fix in 6.7.0; therefore, applying this official fix is the recommended remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-08T18:07:27.342Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a04e7d1cbff5d86100a8513
Added to database: 5/13/2026, 9:06:25 PM
Last enriched: 5/13/2026, 9:21:43 PM
Last updated: 5/13/2026, 10:10:58 PM
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.