Skip to main content

CubeCart CVE-2026-45714

| EUVDEUVD-2026-30176 CRITICAL
Code Injection (CWE-94)
2026-05-13 GitHub_M
9.1
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain admin credentials
  2. Delivery
    Authenticate to CubeCart admin panel
  3. Exploit
    Inject Smarty payload into template module
  4. Execution
    Trigger template rendering
  5. Persist
    Execute OS commands as web user
  6. Impact
    Establish persistence or exfiltrate data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated session with CubeCart administrative privileges (CVSS PR:H), network reach to the CubeCart admin panel, and the ability to save and render content in one of the Smarty-backed modules (Email Templates, Invoices, Documents, or Contact Forms) on a CubeCart v6 instance older than 6.7.0 where Smarty Security Policies are not enabled - the default configuration. No user interaction by another party is required (UI:N), and no special non-default feature toggle is needed because the unsafe template evaluation is the shipped behavior of every vulnerable module. The hard limiting factor is the admin credential requirement: attackers without prior admin access cannot reach the vulnerable functionality directly through this CVE.

Impact

The CVSS 9.1 score is driven by network attack vector, low complexity, no user interaction, changed scope, and total CIA impact, but PR:H tempers real-world risk because exploitation requires existing administrative credentials on the CubeCart instance. Signals are consistent across sources: EPSS is very low (0.04%, 13th percentile) and SSVC reports Exploitation=poc, Automatable=no, Technical Impact=total, indicating high damage potential but a constrained, manual exploitation path that depends on already-trusted access. No KEV listing and no public exploit identified at time of analysis support treating this as a credentialed post-auth escalation issue rather than a mass-exploitation threat - meaningful where admin accounts are shared, weakly protected, or reachable from untrusted networks, and less urgent where admin access is tightly controlled. The SSVC 'poc' status suggests proof-of-concept knowledge exists within research circles even though no public exploit was located in references, so admin credential exposure should be the primary prioritization signal.

Exploit ScenarioDerived

An attacker who has obtained CubeCart administrator credentials - via phishing, credential reuse, or a separate compromise - logs into the admin panel and edits an Email Template, Invoice template, Document, or Contact Form, embedding Smarty syntax that invokes PHP system functions. When the template is rendered (for example by triggering an order confirmation email or previewing the document), the server executes the attacker's OS commands under the web server account, enabling webshell deployment, database exfiltration, or pivoting. SSVC reports a proof-of-concept exists, though no public exploit was identified at time of analysis.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 08, 2026

Authenticated server-side template injection in CubeCart v6 prior to 6.7.0 allows administrative users to achieve remote code execution by injecting Smarty template syntax into multiple admin-facing modules including Email Templates, Invoices, Documents, and Contact Forms. The flaw stems from evaluating user-supplied content through the Smarty engine without enabling Smarty Security Policies, granting OS-level command execution on the underlying server. Currently no public exploit identified at time of analysis, EPSS is very low at 0.04%, and the issue is not on CISA KEV.

RemediationAI

Apply the vendor-released patch by upgrading CubeCart v6 to version 6.7.0 or later, which is the fix identified in advisory GHSA-pcfr-xgc9-xfv6 (https://github.com/cubecart/v6/security/advisories/GHSA-pcfr-xgc9-xfv6). For deployments that cannot upgrade immediately, restrict administrative panel access by IP allowlist or VPN to limit who can reach the vulnerable template editors, enforce strong unique credentials and multi-factor authentication on all admin accounts, and audit the admin user list to remove unused or over-privileged accounts - these reduce the credentialed attack surface but do not remove the underlying SSTI. As a code-level workaround, an operator with PHP skills can enable Smarty's Security Policy on the affected template handlers to block {php} tags and unsafe modifiers, though this may break custom templates that rely on those features and should be tested against existing email and invoice content before rollout.

Affected VersionsENISA

v6 < 6.7.0

Affected Packages

euvd v6 fix: 6.7.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CubeCart is a PHP-based open-source ecommerce platform that uses the Smarty templating engine to render storefront and backoffice content such as transactional emails, PDF invoices, downloadable documents, and customer-facing forms. Smarty supports a Security Policy mode that restricts which PHP functions, modifiers, and tags templates may invoke; when this policy is not enabled, template syntax like {php}, {if}, or modifiers can be abused to reach native PHP and execute system commands. The CWE-94 (Improper Control of Generation of Code / Code Injection) root cause here is that admin-supplied template bodies are passed directly into Smarty's parse-and-execute pipeline without sandboxing, turning template editors into code editors. The affected component is identified by CPE cpe:2.3:a:cubecart:v6:*:*:*:*:*:*:*:* covering the v6 branch.

Know when Cubecart gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
May 13, 2026 - 22:03 EUVD
CVE Published
May 13, 2026 - 20:43 nvd
CRITICAL 9.1

DescriptionGitHub Advisory

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.

Executive ViewAI

Why It Matters

CubeCart v6 prior to version 6.7.0 contains a critical remote code execution vulnerability in its administrative interface that allows administrators to execute arbitrary code through template injection in email templates, invoices, documents, and contact forms. Organizations running vulnerable versions face data breach and operational disruption risks, particularly if administrative credentials are compromised or insider threats materialize. All affected systems must be patched to v6.7.0 immediately.

Business Impact: High
Compensating Controls

Apply vendor patch. Until complete patching across all instances, restrict administrative access to CubeCart to essential users only, disable template editing capabilities if operationally feasible, and implement enhanced logging and alerting on all administrative template module activities.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Social Media
3
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2013-1465 CRITICAL POC
9.8 Feb 08

The Cubecart::_basket method in classes/cubecart.class.php in CubeCart 5.0.0 through 5.2.0 allows remote attackers to un

CVE-2024-34832 CRITICAL POC
9.8 Jun 06

Directory Traversal vulnerability in CubeCart v.6.5.5 and before allows an attacker to execute arbitrary code via a craf

CVE-2012-0865 MEDIUM POC
5.8 Feb 21

Multiple open redirect vulnerabilities in CubeCart 3.0.20 and earlier allow remote attackers to redirect users to arbitr

CVE-2024-33438 HIGH POC
8.0 Apr 29

File Upload vulnerability in CubeCart before 6.5.5 allows an authenticated user to execute arbitrary code via a crafted

CVE-2014-2341 MEDIUM POC
6.8 Apr 22

Session fixation vulnerability in CubeCart before 5.2.9 allows remote attackers to hijack web sessions via the PHPSESSID

CVE-2026-54647 HIGH POC
7.2 Sep 17

Authenticated SQL injection in CubeCart before 6.7.5 allows an administrator with access to the admin settings page to m

CVE-2015-6928 MEDIUM POC
6.8 Sep 28

classes/admin.class.php in CubeCart 5.2.12 through 5.2.16 and 6.x before 6.0.7 does not properly validate that a passwor

CVE-2025-59413 MEDIUM POC
6.5 Sep 22

CubeCart is an ecommerce software solution. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable

CVE-2026-54644 MEDIUM POC
6.1 Sep 17

Reflected cross-site scripting in CubeCart versions prior to 6.7.5 allows unauthenticated remote attackers to execute Ja

CVE-2026-44376 MEDIUM POC
6.1 May 13

Reflected XSS in CubeCart v6 (prior to 6.7.0) enables unauthenticated remote attackers to execute arbitrary JavaScript i

CVE-2025-59411 MEDIUM POC
5.4 Sep 22

CubeCart is an ecommerce software solution. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable

CVE-2025-59412 MEDIUM POC
5.4 Sep 22

CubeCart is an ecommerce software solution. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy