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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
craftcms commerce
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Craft Commerce是Craft CMS开源的一个电子商务平台。 Craft Commerce 4.10.2及之前版本和5.5.4及之前版本存在SQL注入漏洞,该漏洞源于Commerce TotalRevenue widget存在SQL注入,可能导致远程代码执行。

AI Predicted 9.8 Difficulty: Moderate EPSS 0.60% · P46
Get alerts for future matching vulnerabilities Log 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: CVE Program / CVE List V5
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: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
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

Vendor Product Affected Versions CPE Subscribe
craftcms commerce >= 4.0.0, < 4.10.3 -

II. Public POCs for CVE-2026-32271

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-32271

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-32271 (1)

Vendor Advisories for CVE-2026-32271 (1)

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

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-32271

No comments yet


Leave a comment