The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-45053

CVE-2026-45053: CubeCart Authenticated RCE Vulnerability

CVE-2026-45053 is an authenticated remote code execution flaw in CubeCart's REST API File Manager that allows attackers to upload malicious PHP files. This article covers technical details, affected versions, and patches.

Published: May 14, 2026

CVE-2026-45053 Overview

CVE-2026-45053 is an authenticated arbitrary file upload vulnerability in the CubeCart ecommerce platform. The flaw resides in the REST API File Manager endpoint POST /api/v1/files in versions prior to 6.7.0. Any API key holder with files:rw permission can upload PHP source files into the web-accessible images/source/ directory, where the web server executes them. The endpoint also contains a path-traversal flaw in its filepath parameter. A single API request can write a webshell anywhere the web server process has write access, including the document root. The vulnerability is classified under CWE-434 and is fixed in CubeCart 6.7.0.

Critical Impact

A single authenticated API request yields full Remote Code Execution by writing a PHP webshell into the web root.

Affected Products

  • CubeCart versions prior to 6.7.0
  • CubeCart REST API File Manager endpoint (POST /api/v1/files)
  • Deployments issuing API keys with files:rw permission

Discovery Timeline

  • 2026-05-13 - CVE-2026-45053 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-45053

Vulnerability Analysis

The vulnerability resides in the REST API File Manager endpoint exposed at POST /api/v1/files. The endpoint accepts uploaded file content and a filepath parameter that determines the destination on disk. CubeCart does not enforce an allowlist on file extensions or MIME types, so PHP source files pass validation. The default upload directory images/source/ is web-accessible and served by the PHP interpreter, which means uploaded .php files execute when requested. The endpoint additionally fails to canonicalize the filepath parameter, allowing ../ sequences to escape the intended directory. An attacker holding an API key with files:rw permission combines both flaws to drop a webshell into the document root and invoke it over HTTP, achieving Remote Code Execution under the web server account.

Root Cause

The root cause is unrestricted upload of files with dangerous types ([CWE-434]) compounded by missing path normalization on a user-controlled file destination parameter. Authentication is required, but the trust boundary for files:rw API keys is too broad and does not constrain output paths or executable file types.

Attack Vector

The attack is remote and authenticated. An adversary submits an HTTP POST request to /api/v1/files containing a valid API key with files:rw permission, a filepath value using path traversal to target the document root, and a body containing PHP code. After the upload completes, the attacker requests the dropped script through the web server to execute commands. See the CubeCart GitHub Security Advisory GHSA-652f-8c88-25cx for vendor technical details.

Detection Methods for CVE-2026-45053

Indicators of Compromise

  • Unexpected .php, .phtml, or .phar files in images/source/ or other writable directories within the CubeCart document root.
  • HTTP POST requests to /api/v1/files containing .. sequences or absolute paths in the filepath parameter.
  • New files owned by the web server account with modification times correlating to API File Manager requests.
  • Outbound connections or system, exec, or passthru activity originating from PHP processes serving CubeCart.

Detection Strategies

  • Review web server access logs for POST /api/v1/files requests and correlate with the API key identifier and source IP.
  • Hash and inventory all PHP files under the CubeCart webroot, then alert on any file not present in the upstream 6.7.0 distribution.
  • Inspect API audit logs for keys carrying files:rw permission and validate that each key has a legitimate operational owner.

Monitoring Recommendations

  • Enable file integrity monitoring on images/source/ and the CubeCart document root.
  • Forward web server, PHP-FPM, and application logs to a centralized log platform and alert on PHP execution from upload directories.
  • Monitor process telemetry for child processes spawned by the PHP worker, such as /bin/sh, bash, or curl.

How to Mitigate CVE-2026-45053

Immediate Actions Required

  • Upgrade CubeCart to version 6.7.0 or later, which contains the official fix.
  • Rotate every API key issued before the upgrade and revoke any key with files:rw permission that is not strictly required.
  • Audit the webroot for unexpected PHP files and remove any artifacts that cannot be traced to a known deployment action.

Patch Information

The vendor fixed CVE-2026-45053 in CubeCart 6.7.0. Upgrade details and the security advisory are published in the CubeCart GitHub Security Advisory GHSA-652f-8c88-25cx.

Workarounds

  • Block execution of PHP files inside images/source/ and any other upload directory at the web server level using a location or <Directory> rule.
  • Restrict access to /api/v1/files through a web application firewall rule that denies requests with traversal sequences in the filepath parameter.
  • Remove the files:rw permission from API keys until the upgrade is complete.
bash
# Nginx example: disable PHP execution inside CubeCart upload directories
location ~* ^/images/source/.*\.(php|phtml|phar)$ {
    deny all;
    return 403;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechCubecart

  • SeverityCRITICAL

  • CVSS Score9.1

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-434
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-45714: CubeCart Server-Side Template Injection RCE

  • CVE-2026-45708: CubeCart Invoice Editor RCE Vulnerability

  • CVE-2026-44377: CubeCart SSTI RCE Vulnerability

  • CVE-2026-21719: CubeCart RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English