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-45714

CVE-2026-45714: CubeCart Server-Side Template Injection RCE

CVE-2026-45714 is a server-side template injection vulnerability in CubeCart ecommerce software that enables authenticated admins to execute arbitrary commands. This article covers technical details, affected versions, and mitigation.

Published: May 14, 2026

CVE-2026-45714 Overview

CVE-2026-45714 is an authenticated Server-Side Template Injection (SSTI) vulnerability in CubeCart, an open-source ecommerce platform. The flaw exists in multiple administrative modules including Email Templates, Invoices, Documents, and Contact Forms. CubeCart passes user-supplied input to the Smarty template engine without enabling Smarty Security Policies. Authenticated administrators can inject template directives that the engine evaluates server-side, leading to arbitrary operating system command execution. The issue is tracked under [CWE-94] Improper Control of Generation of Code and is fixed in CubeCart 6.7.0.

Critical Impact

Authenticated administrators can achieve remote code execution on the underlying server, compromising the web host, customer data, and payment integrations.

Affected Products

  • CubeCart versions prior to 6.7.0
  • Smarty template engine integration within CubeCart admin modules
  • Self-hosted CubeCart deployments exposing the admin panel

Discovery Timeline

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

Technical Details for CVE-2026-45714

Vulnerability Analysis

The vulnerability is a Server-Side Template Injection in CubeCart's administrative interface. Several modules accept input that is later rendered by Smarty without sandbox restrictions. Smarty supports inline PHP-equivalent constructs and access to PHP functions when its security policy is disabled. An authenticated administrator can submit template syntax in fields such as email templates, invoice content, document bodies, and contact form templates. CubeCart stores and renders that content through Smarty, triggering evaluation of attacker-controlled directives. Because Smarty executes within the PHP process, attackers gain code execution at the privilege level of the web server user, typically www-data or apache.

Root Cause

The root cause is the absence of an enabled Smarty Security Policy. Smarty exposes a Smarty_Security class that restricts which PHP functions, modifiers, and tags templates may invoke. CubeCart did not instantiate or apply this policy before rendering admin-supplied content. As a result, dangerous Smarty constructs such as {php} blocks or function tags that wrap system, exec, and passthru remain reachable. The defect maps to [CWE-94] Improper Control of Generation of Code.

Attack Vector

Exploitation requires valid administrator credentials, so the prerequisite is account compromise, insider access, or weak admin authentication. The attacker logs into the CubeCart admin panel and edits an affected template module. The injected Smarty payload is saved and rendered when the template is previewed, sent, or otherwise processed. The Smarty engine evaluates the payload server-side and executes the embedded operating system command. From there, attackers can pivot to web shell deployment, customer database exfiltration, or lateral movement within the hosting environment. No code example is reproduced here; refer to the GitHub Security Advisory GHSA-pcfr-xgc9-xfv6 for vendor-published details.

Detection Methods for CVE-2026-45714

Indicators of Compromise

  • Unexpected modifications to records in the CubeCart_email_content, CubeCart_documents, or related template tables.
  • Web server processes (php-fpm, apache2) spawning shell utilities such as sh, bash, nc, curl, or wget.
  • Outbound network connections from the CubeCart host to unfamiliar IPs shortly after admin template edits.
  • New files written under the CubeCart web root, particularly PHP files in images/, cache/, or admin/ directories.

Detection Strategies

  • Inspect application logs and database audit trails for template edits containing Smarty tokens such as {php}, {function, or {eval.
  • Hunt for process trees where the PHP interpreter is the parent of operating system command binaries.
  • Correlate admin authentication events with subsequent template modifications and outbound traffic spikes.

Monitoring Recommendations

  • Enable verbose logging on the CubeCart admin panel and forward events to a centralized SIEM.
  • Alert on any creation or modification of .php files within the CubeCart installation directory outside of patch windows.
  • Track administrator session activity, especially edits to Email Templates, Invoices, Documents, and Contact Forms modules.

How to Mitigate CVE-2026-45714

Immediate Actions Required

  • Upgrade all CubeCart instances to version 6.7.0 or later without delay.
  • Audit all administrator accounts, rotate passwords, and enforce multi-factor authentication on the admin panel.
  • Review existing template content in affected modules for Smarty constructs introduced by attackers.

Patch Information

CubeCart resolved the issue in version 6.7.0 by enforcing Smarty Security Policies on user-controllable template rendering. Administrators should download the release directly from the vendor and validate file integrity before deployment. Refer to the GitHub Security Advisory GHSA-pcfr-xgc9-xfv6 for the official fix notes.

Workarounds

  • Restrict admin panel access by source IP using web server or firewall rules until the upgrade is applied.
  • Remove unused administrator accounts and limit administrative privileges to the smallest necessary set of users.
  • Deploy a web application firewall rule to flag Smarty syntax tokens in POST bodies targeting /admin.php endpoints.
bash
# Example Apache restriction limiting admin access to a trusted CIDR
<Location "/admin.php">
    Require ip 203.0.113.0/24
</Location>

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-94
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-45708: CubeCart Invoice Editor RCE Vulnerability

  • CVE-2026-45053: CubeCart Authenticated 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