Staging Environment: Content and features may be unstable or change without notice.
Search for vulnerabilities
Vulnerability details: VCID-nd31-ykw5-rqbt
Vulnerability ID VCID-nd31-ykw5-rqbt
Aliases CVE-2026-32272
GHSA-r54v-qq87-px5r
Summary 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.
Status Published
Exploitability 0.5
Weighted Severity 8.0
Risk 4.0
Affected and Fixed Packages Package Details
Weaknesses (3)
System Score Found at
epss 0.00039 https://api.first.org/data/v1/epss?cve=CVE-2026-32272
epss 0.00039 https://api.first.org/data/v1/epss?cve=CVE-2026-32272
epss 0.00039 https://api.first.org/data/v1/epss?cve=CVE-2026-32272
epss 0.00039 https://api.first.org/data/v1/epss?cve=CVE-2026-32272
cvssv4 8.7 https://github.com/advisories/GHSA-2453-mppf-46cj
generic_textual HIGH https://github.com/advisories/GHSA-2453-mppf-46cj
ssvc Track https://github.com/advisories/GHSA-2453-mppf-46cj
cvssv3.1_qr HIGH https://github.com/advisories/GHSA-r54v-qq87-px5r
cvssv4 8.7 https://github.com/craftcms/commerce
generic_textual HIGH https://github.com/craftcms/commerce
cvssv4 8.7 https://github.com/craftcms/commerce/pull/4232
generic_textual HIGH https://github.com/craftcms/commerce/pull/4232
ssvc Track https://github.com/craftcms/commerce/pull/4232
cvssv4 8.7 https://github.com/craftcms/commerce/releases/tag/5.6.0
generic_textual HIGH https://github.com/craftcms/commerce/releases/tag/5.6.0
ssvc Track https://github.com/craftcms/commerce/releases/tag/5.6.0
cvssv3.1_qr HIGH https://github.com/craftcms/commerce/security/advisories/GHSA-r54v-qq87-px5r
cvssv4 8.7 https://github.com/craftcms/commerce/security/advisories/GHSA-r54v-qq87-px5r
generic_textual HIGH https://github.com/craftcms/commerce/security/advisories/GHSA-r54v-qq87-px5r
ssvc Track https://github.com/craftcms/commerce/security/advisories/GHSA-r54v-qq87-px5r
cvssv4 8.7 https://nvd.nist.gov/vuln/detail/CVE-2026-32272
generic_textual HIGH https://nvd.nist.gov/vuln/detail/CVE-2026-32272
No exploits are available.
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 Found at https://github.com/advisories/GHSA-2453-mppf-46cj
Attack Vector (AV) Attack Complexity (AC) Attack Requirements (AT) Privileges Required (PR) User Interaction (UI) Vulnerable System Impact Confidentiality (VC) Vulnerable System Impact Integrity (VI) Vulnerable System Impact Availability (VA) Subsequent System Impact Confidentiality (SC) Subsequent System Impact Integrity (SI) Subsequent System Impact Availability (SA)

network

adjacent

local

physical

low

high

none

present

none

low

high

none

passive

active

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-04-14T15:28:46Z/ Found at https://github.com/advisories/GHSA-2453-mppf-46cj
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 Found at https://github.com/craftcms/commerce
Attack Vector (AV) Attack Complexity (AC) Attack Requirements (AT) Privileges Required (PR) User Interaction (UI) Vulnerable System Impact Confidentiality (VC) Vulnerable System Impact Integrity (VI) Vulnerable System Impact Availability (VA) Subsequent System Impact Confidentiality (SC) Subsequent System Impact Integrity (SI) Subsequent System Impact Availability (SA)

network

adjacent

local

physical

low

high

none

present

none

low

high

none

passive

active

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none

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 Found at https://github.com/craftcms/commerce/pull/4232
Attack Vector (AV) Attack Complexity (AC) Attack Requirements (AT) Privileges Required (PR) User Interaction (UI) Vulnerable System Impact Confidentiality (VC) Vulnerable System Impact Integrity (VI) Vulnerable System Impact Availability (VA) Subsequent System Impact Confidentiality (SC) Subsequent System Impact Integrity (SI) Subsequent System Impact Availability (SA)

network

adjacent

local

physical

low

high

none

present

none

low

high

none

passive

active

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-04-14T15:28:46Z/ Found at https://github.com/craftcms/commerce/pull/4232
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 Found at https://github.com/craftcms/commerce/releases/tag/5.6.0
Attack Vector (AV) Attack Complexity (AC) Attack Requirements (AT) Privileges Required (PR) User Interaction (UI) Vulnerable System Impact Confidentiality (VC) Vulnerable System Impact Integrity (VI) Vulnerable System Impact Availability (VA) Subsequent System Impact Confidentiality (SC) Subsequent System Impact Integrity (SI) Subsequent System Impact Availability (SA)

network

adjacent

local

physical

low

high

none

present

none

low

high

none

passive

active

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-04-14T15:28:46Z/ Found at https://github.com/craftcms/commerce/releases/tag/5.6.0
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 Found at https://github.com/craftcms/commerce/security/advisories/GHSA-r54v-qq87-px5r
Attack Vector (AV) Attack Complexity (AC) Attack Requirements (AT) Privileges Required (PR) User Interaction (UI) Vulnerable System Impact Confidentiality (VC) Vulnerable System Impact Integrity (VI) Vulnerable System Impact Availability (VA) Subsequent System Impact Confidentiality (SC) Subsequent System Impact Integrity (SI) Subsequent System Impact Availability (SA)

network

adjacent

local

physical

low

high

none

present

none

low

high

none

passive

active

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-04-14T15:28:46Z/ Found at https://github.com/craftcms/commerce/security/advisories/GHSA-r54v-qq87-px5r
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 Found at https://nvd.nist.gov/vuln/detail/CVE-2026-32272
Attack Vector (AV) Attack Complexity (AC) Attack Requirements (AT) Privileges Required (PR) User Interaction (UI) Vulnerable System Impact Confidentiality (VC) Vulnerable System Impact Integrity (VI) Vulnerable System Impact Availability (VA) Subsequent System Impact Confidentiality (SC) Subsequent System Impact Integrity (SI) Subsequent System Impact Availability (SA)

network

adjacent

local

physical

low

high

none

present

none

low

high

none

passive

active

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.11967
EPSS Score 0.00039
Published At June 11, 2026, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2026-06-11T16:49:04.253451+00:00 Vulnrichment Import https://github.com/cisagov/vulnrichment/blob/develop/2026/32xxx/CVE-2026-32272.json 38.6.0