CVE-2026-45714

CubeCart: Server-Side Template Injection (SSTI) in Smarty Templates leading to RCE

Published May 13, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
CubeCart is an ecommerce software solution. Prior to 6.7.0, an Authenticated Server-Side Template Injection (SSTI) vulnerability exists in multiple modules of CubeCart (including Email Templates, Invoices, Documents, and Contact Forms). The application unsafely evaluates user-supplied input using the Smarty template engine without enabling Smarty Security Policies. This allows any authenticated user with administrative privileges to execute arbitrary operating system commands (RCE) on the server. This vulnerability is fixed in 6.7.0.

Analysis

AI-generated

Technical impact

CubeCart versions prior to 6.7.0 contain an authenticated server‑side template injection flaw in several modules such as Email Templates, Invoices, Documents, and Contact Forms. The application evaluates user‑supplied data through the Smarty template engine without enabling its security policies, allowing an authenticated administrator to embed and execute arbitrary operating‑system commands on the hosting server. This results in full compromise of confidentiality, integrity, and availability of the affected system. The weakness is categorized as code injection (CWE‑94) and server‑side template injection (CWE‑1336).

Affected Systems

Any installation of CubeCart v6 dated before the 6.7.0 release, where the affected modules are enabled for administrative modification, is vulnerable. Products explicitly listed by the CNA include CubeCart v6 in its entirety; no specific sub‑version restrictions were provided other than the requirement to be older than 6.7.0.

Risk and Exploitability

The CVSS score of 9.1 indicates extreme severity. At the time of this analysis the EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires authenticated access and administrative privileges; once these credentials are obtained, an attacker can freely inject template code to execute system commands. Due to the high severity and the straightforward exploitation path once authenticated, the risk to vulnerable installations is very high.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade CubeCart to version 6.7.0 or later, which removes the unsafe template handling.
  • If an upgrade is delayed, remove or disable administrative access to the affected modules (Email Templates, Invoices, Documents, Contact Forms) that allow custom template editing.
  • Configure Smarty’s security policies or disable dynamic template evaluation for user‑supplied content to prevent injection when legacy code must remain in place.

Generated by OpenCVE AI on May 13, 2026 at 22:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Cubecart
Cubecart cubecart
Vendors & Products Cubecart
Cubecart cubecart
Type Values Removed Values Added
Description CubeCart is an ecommerce software solution. Prior to 6.7.0, an Authenticated Server-Side Template Injection (SSTI) vulnerability exists in multiple modules of CubeCart (including Email Templates, Invoices, Documents, and Contact Forms). The application unsafely evaluates user-supplied input using the Smarty template engine without enabling Smarty Security Policies. This allows any authenticated user with administrative privileges to execute arbitrary operating system commands (RCE) on the server. This vulnerability is fixed in 6.7.0.
Title CubeCart: Server-Side Template Injection (SSTI) in Smarty Templates leading to RCE
Weaknesses CWE-1336
CWE-94
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 14, 2026, 3:51 PM
Reserved
May 13, 2026, 5:51 AM
Status
Deferred
Published
May 13, 2026, 9:16 PM
Modified
Jun 17, 2026, 10:52 AM