Skip to main content
VulnerabilityPublished Updated

CVE-2026-32271: craftcms commerce · SQL Injection

Affects craftcms commerceSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.7 High : upgrade to 5.5.5 or 4.10.3 soon.

Data as of 29 Oct 2026, 19:04 UTC

CVSS 4.0 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.5.5, 4.10.3
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade commerce and craftcms/commerce to 5.5.5 or 4.10.3.

Affected software

ProductAffectedFixed in
craftcmscommerceAffected
  • >=5.0.0 <5.5.5
Fixed in
  • 5.5.5
craftcmscommerceAffected
  • >=4.0.0 <4.10.3
Fixed in
  • 4.10.3
GitHubcraftcms/commercepkg:github/craftcms/commerceOther threatsAffected
  • <4.10.3
  • >=4.0.0
  • <5.5.5
  • >=5.0.0
Fixed in
  • 4.10.3
  • 5.5.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in Craft Commerce versions 4.10.3 and 5.5.5. Users should upgrade to these or later versions to remediate this vulnerability. Until upgraded, restrict control panel access to trusted users only, as the exploit requires authenticated control panel access. Patch status is confirmed fixed in the specified versions.

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.

References

Community reviews

Loading reviews…