Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-32271— Craft Commerce: SQL Injection can lead to Remote Code Execution via TotalRevenue Widget

EPSS 0.07% · P21
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-32271

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Craft Commerce: SQL Injection can lead to Remote Code Execution via TotalRevenue Widget
Source: NVD (National Vulnerability Database)
Vulnerability Description
Craft Commerce is an ecommerce platform for Craft CMS. In versions 4.0.0 through 4.10.2 and 5.0.0 through 5.5.4, there is an SQL injection vulnerability in the Commerce TotalRevenue widget which allows any authenticated control panel user to achieve remote code execution through a four-step exploitation chain. The attack exploits unsanitized widget settings interpolated into SQL expressions, combined with PDO's default multi-statement query support, to inject a maliciously serialized PHP object into the queue table. When the queue consumer processes the injected job, the unrestricted unserialize() call in yii2-queue instantiates a GuzzleHttp FileCookieJar gadget chain whose __destruct() method writes a PHP webshell to the server's webroot. The complete chain requires only three HTTP requests, no administrative privileges, and results in arbitrary command execution as the PHP process user, with queue processing triggered via an unauthenticated endpoint. This issue has been fixed in versions 4.10.3 and 5.5.5.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: NVD (National Vulnerability Database)
Vulnerability Title
Craft Commerce SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Craft Commerce是Craft CMS开源的一个电子商务平台。 Craft Commerce 4.10.2及之前版本和5.5.4及之前版本存在SQL注入漏洞,该漏洞源于Commerce TotalRevenue widget存在SQL注入,可能导致远程代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
craftcmscommerce >= 4.0.0, < 4.10.3 -

II. Public POCs for CVE-2026-32271

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-32271

登录查看更多情报信息。

Same Patch Batch · craftcms · 2026-04-13 · 3 CVEs total

CVE-2026-32270Craft Commerce: Unauthenticated information disclosure in `commerce/payments/pay` can leak
CVE-2026-32272Craft Commerce: Blind SQL Injection via hasVariant/hasProduct

IV. Related Vulnerabilities

V. Comments for CVE-2026-32271

No comments yet


Leave a comment