Skip to main content

CubeCart EUVDEUVD-2026-30165

| CVE-2026-44377 CRITICAL
Code Injection (CWE-94)
2026-05-13 GitHub_M
9.1
CVSS 3.1 · GitHub Advisory
Share

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

4
Source Code Evidence Fetched
Jun 08, 2026 - 08:25 vuln.today
Analysis Generated
Jun 08, 2026 - 08:25 vuln.today
Patch available
May 13, 2026 - 22:03 EUVD
CVE Published
May 13, 2026 - 20:36 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 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.

AnalysisAI

Authenticated server-side template injection in CubeCart v6 before 6.7.0 lets administrators escape the Smarty template sandbox and invoke native PHP functions through modules such as Email Templates and Documents. Attackers can call readgzfile() to exfiltrate configuration secrets and error_log() with message_type=3 to drop a PHP webshell, yielding full remote code execution. No public exploit identified at time of analysis, but a SSVC 'poc' status and an upstream commit hardening the Smarty allowlist indicate the technique is documented.

Technical ContextAI

CubeCart is a PHP ecommerce platform that renders administrative UI through the Smarty template engine wrapped by a CubeCart_Smarty_Security class. The root cause is CWE-94 (Code Injection): the security policy's disabled-function list did not block PHP primitives that can read or write arbitrary paths through Smarty's {php}-style or modifier syntax. The fix commit (76d783c) extends the blocklist to include error_log, readgzfile, gzfile, gzopen, simplexml_load_file (which honors php:// and file:// stream wrappers), glob/scandir/opendir, fileowner/filegroup/fileperms, dns_get_record, and pcntl_/posix_ process-control calls - confirming the abuse surface was native PHP exposed through Smarty rather than a parser bug.

RemediationAI

Vendor-released patch: upgrade to CubeCart 6.7.0, which extends the CubeCart_Smarty_Security disabled-function list to cover error_log, readgzfile, gzopen, simplexml_load_file, glob/scandir, and process-control functions as shown in commit 76d783c8c4d87a8a90dbfef1344a2733e7c6434c. Until the upgrade is applied, restrict the /admin path to known administrator IPs via web server ACLs (trade-off: blocks legitimate remote admin sessions), enforce MFA on all administrator accounts since exploitation requires PR:H, and audit Email Templates, Documents, and other Smarty-driven content for unexpected {php}, error_log, or readgzfile usage. Refer to https://github.com/cubecart/v6/security/advisories/GHSA-wpjx-g695-qc5j for the full advisory.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Share

EUVD-2026-30165 vulnerability details – vuln.today

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