SCA: security update for craftcms/commerce (GHSA-r54v-qq87-px5r)

high Tenable Self-Hosted Container Security Plugin ID 440323

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Craft Commerce is an ecommerce platform for Craft CMS. In versions 5.0.0 through 5.5.4, an SQL injection
vulnerability exists where the ProductQuery::hasVariant and VariantQuery::hasProduct properties bypass the
input sanitization blocklist added to ElementIndexesController in a prior security fix
(GHSA-2453-mppf-46cj). The blocklist only strips top-level Yii2 Query properties such as where and
orderBy, but hasVariant and hasProduct pass through untouched and internally call Craft::configure() on a
subquery without sanitization, re-introducing SQL injection. Any authenticated control panel user can
exploit this via boolean-based blind SQL injection to extract arbitrary database contents, including
security keys that enable forging admin sessions for privilege escalation. This issue has been fixed in
version 5.6.0. (CVE-2026-32272)

Solution

Update the craftcms/commerce library and its related packages to version 5.6.0 or later.

See Also

https://github.com/advisories/GHSA-r54v-qq87-px5r

Plugin Details

Severity: High

ID: 440323

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 4/14/2026

Updated: 6/24/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.88

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 4.8

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS Score Source: CVE-2026-32272

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 6.3

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/14/2026

Vulnerability Publication Date: 4/13/2026

Reference Information

CVE: CVE-2026-32272

cwe: CWE-89