CVE-2026-44377

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 and Documents). The application unsafely evaluates user-supplied input directly through the Smarty template engine. By leveraging this, an authenticated attacker with administrative privileges can bypass current restrictions and call native PHP functions within the templates, such as readgzfile() to read sensitive configuration files, or error_log() to write a malicious PHP web shell, ultimately achieving Information Disclosure and full Remote Code Execution (RCE). This vulnerability is fixed in 6.7.0.

Analysis

AI-generated

Technical impact

CubeCart modules such as Email Templates allow authenticated administrators to inject arbitrary text that is interpreted by the Smarty engine. The engine executes the supplied template, enabling the attacker to invoke native PHP functions like readgzfile or error_log. This leads to unauthorized information disclosure and full remote code execution, compromising the entire storefront.

Affected Systems

CubeCart version 6 prior to 6.7.0 is affected, especially modules dealing with email notifications and document generation. The issue is present in all repository commits before the 6.7.0 release, as referenced by the GitHub commit and advisory.

Risk and Exploitability

The CVSS score of 9.1 places the issue in the Critical range, and no EPSS data is available. The vulnerability requires administrative authentication, so it is considered a high exploitation effort internally. There is no record of exploitation in CISA KEV. Attackers would need to log in as an admin and supply crafted template content to trigger code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade CubeCart to version 6.7.0 or later, where the SSTI flaw has been fixed.
  • If an immediate upgrade is not possible, disable or remove template processing for user‑supplied content in the affected email and document modules, or prevent administrators from editing those templates directly.
  • Enforce least privilege for admin accounts and audit template‑editing activity to detect malicious payloads.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Cubecart
Cubecart cubecart
Vendors & Products Cubecart
Cubecart cubecart
Type Values Removed Values Added
Metrics ssvc

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

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 and Documents). The application unsafely evaluates user-supplied input directly through the Smarty template engine. By leveraging this, an authenticated attacker with administrative privileges can bypass current restrictions and call native PHP functions within the templates, such as readgzfile() to read sensitive configuration files, or error_log() to write a malicious PHP web shell, ultimately achieving Information Disclosure and full Remote Code Execution (RCE). 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, 1:55 PM
Reserved
May 5, 2026, 8:15 PM
Status
Deferred
Published
May 13, 2026, 9:16 PM
Modified
Jun 17, 2026, 10:50 AM