Skip to main content

Commerce EUVDEUVD-2026-22077

| CVE-2026-32272 HIGH
SQL Injection (CWE-89)
2026-04-13 GitHub_M GHSA-r54v-qq87-px5r
8.7
CVSS 4.0 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to control panel
  2. Delivery
    Submit crafted ProductQuery with SQLi payload in hasVariant parameter
  3. Exploit
    Execute boolean-based blind injection queries
  4. Execution
    Extract security keys from database
  5. Persist
    Forge admin session token
  6. Impact
    Escalate to full administrative privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires authenticated access to the Craft Commerce control panel with permissions to execute ProductQuery or VariantQuery operations through the ElementIndexesController. Specifically affects installations running Craft Commerce versions 5.0.0 through 5.5.4 where authenticated users can interact with product or variant listing interfaces that process hasVariant or hasProduct query parameters.

Impact

Real-world risk assessment requires balancing multiple signals. The CVSS 4.0 score of 8.7 reflects high severity due to network attack vector (AV:N), low complexity (AC:L), and high confidentiality/integrity/availability impact (VC:H/VI:H/VA:H). However, exploitation requires authenticated control panel access (PR:L), significantly reducing the attack surface compared to unauthenticated vulnerabilities. The EPSS score of 0.03% (8th percentile) indicates very low probability of exploitation in the wild based on current threat intelligence. No CISA KEV listing and no public exploit identified at time of analysis further suggest this is not being actively targeted. The SSVC framework assessment: exploitation status is 'none public', automatable is 'no' (requires authenticated session and iterative blind SQLi), technical impact is 'total' (privilege escalation to admin). This positions the vulnerability as a real architectural flaw requiring remediation, but not an imminent mass-exploitation threat. Priority should be medium-high for organizations running Craft Commerce with multiple control panel users, especially where insider threat or account compromise is a concern. The privilege escalation path from authenticated user to admin via security key theft makes this more dangerous than a simple data leak SQLi.

Exploit ScenarioDerived

An authenticated attacker with control panel access crafts malicious ProductQuery or VariantQuery requests containing SQL injection payloads in the hasVariant or hasProduct parameters. Using boolean-based blind SQL injection techniques, the attacker iteratively extracts database contents including Craft CMS security keys. With these keys, the attacker forges an administrative session token, logs in as an admin, and gains full control over the Craft Commerce installation including customer data, orders, and site configuration.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 15, 2026

SQL injection in Craft Commerce 5.0.0-5.5.4 allows authenticated control panel users to extract arbitrary database contents via ProductQuery::hasVariant and VariantQuery::hasProduct parameters that bypass prior sanitization fixes. Attackers can retrieve security keys to forge admin sessions and escalate privileges. Fixed in version 5.6.0. EPSS 0.03% (8th percentile) indicates low observed exploitation probability; no public exploit identified at time of analysis.

RemediationAI

Upgrade Craft Commerce to version 5.6.0 or later, which contains the complete fix for this SQL injection bypass. The patch is available from the official release at https://github.com/craftcms/commerce/releases/tag/5.6.0 and documented in pull request https://github.com/craftcms/commerce/pull/4232. No workarounds are documented; upgrading is the primary remediation path. Organizations should audit control panel user permissions and review database access logs for suspicious query patterns during the exposure window. Consider rotating security keys and reviewing admin session activity if unauthorized database access is suspected.

Affected VersionsENISA

Commerce 5.0.0 < 5.6.0

Affected Packages

composer craftcms/commerce fix: 5.6.0
euvd commerce fix: 5.6.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Craft Commerce is an e-commerce plugin for the Craft CMS content management system. This vulnerability (CWE-89: SQL Injection) exists in the ElementIndexesController's query handling logic. A prior security fix (GHSA-2453-mppf-46cj) implemented a blocklist to strip dangerous Yii2 Query properties like 'where' and 'orderBy' from user input. However, the ProductQuery::hasVariant and VariantQuery::hasProduct properties were not included in this blocklist. These properties internally invoke Yii2's Craft::configure() method on a subquery object without input sanitization, allowing attackers to inject arbitrary SQL through these nested query parameters. The vulnerability affects the CPE cpe:2.3:a:craftcms:commerce:*:*:*:*:*:*:*:* across versions 5.0.0 through 5.5.4. The exploit technique is boolean-based blind SQL injection, which allows iterative extraction of database contents through conditional true/false responses without direct data output.

Know when Commerce gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 8.7 HIGH
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

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Apr 14, 2026 - 02:30 nvd
Patch available
CVE Published
Apr 13, 2026 - 20:25 nvd
HIGH 8.7

DescriptionGitHub Advisory

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.

Executive ViewAI

Why It Matters

Craft Commerce versions 5.0.0 through 5.5.4 contain a SQL injection vulnerability that allows authenticated control panel users to extract sensitive database contents, including security keys used to forge administrator sessions. This affects organizations using vulnerable Craft Commerce installations and requires immediate patching to prevent privilege escalation and unauthorized administrative access.

Business Impact: High
Compensating Controls

Vendor-released patch: Craft Commerce 5.6.0. Until patching is complete, restrict control panel access to trusted IP ranges and disable control panel accounts for inactive users to minimize exposure to authenticated attack vectors.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

CVE-2026-71362 CRITICAL POC
9.1 Aug 11

Privilege escalation in Adobe Commerce and Magento Open Source (including Adobe Commerce B2B) lets a remote attacker gai

CVE-2024-34102 CRITICAL POC
9.8 Jun 13

Adobe Commerce versions 2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8 and earlier are affected by an Improper Restriction of XML E

CVE-2021-27602 CRITICAL
9.9 Apr 13

SAP Commerce, versions - 1808, 1811, 1905, 2005, 2011, Backoffice application allows certain authorized users to create

CVE-2021-21477 CRITICAL
9.9 Feb 09

SAP Commerce Cloud, versions - 1808,1811,1905,2005,2011, enables certain users with required privileges to edit drools r

CVE-2024-45115 CRITICAL
9.8 Oct 10

Adobe Commerce versions 2.4.7-p2, 2.4.6-p7, 2.4.5-p9, 2.4.4-p10 and earlier are affected by an Improper Authentication v

CVE-2024-34107 CRITICAL
9.8 Jun 13

Adobe Commerce versions 2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8 and earlier are affected by an Improper Access Control vulne

CVE-2022-34256 CRITICAL
9.8 Aug 16

Adobe Commerce versions 2.4.3-p2 (and earlier), 2.3.7-p3 (and earlier) and 2.4.4 (and earlier) are affected by an Improp

CVE-2021-42064 CRITICAL
9.8 Dec 14

If configured to use an Oracle database and if a query is created using the flexible search java api with a parameterize

CVE-2020-6265 CRITICAL
9.8 Jun 09

SAP Commerce, versions - 6.7, 1808, 1811, 1905, and SAP Commerce (Data Hub), versions - 6.7, 1808, 1811, 1905, allows an

CVE-2024-20717 MEDIUM POC
5.4 Feb 15

Adobe Commerce versions 2.4.6-p3, 2.4.5-p5, 2.4.4-p6 and earlier are affected by a stored Cross-Site Scripting (XSS) vul

CVE-2026-76201 CRITICAL
9.3 Sep 08

Stored cross-site scripting in Adobe Commerce, Magento Open Source, and Adobe Commerce B2B lets a remote attacker persis

CVE-2026-76200 CRITICAL
9.3 Sep 08

Stored cross-site scripting in Adobe Commerce, Magento Open Source, and Adobe Commerce B2B (versions through the August

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy