Skip to main content

Commerce CVE-2026-32271

| EUVDEUVD-2026-22075 HIGH
SQL Injection (CWE-89)
2026-04-13 GitHub_M GHSA-875v-7m49-8x88
7.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Recon
    Authenticate to control panel
  2. Delivery
    Create malicious TotalRevenue widget with SQL injection payload
  3. Exploit
    Inject serialized FileCookieJar object into queue table
  4. Install
    Trigger queue processing via unauthenticated endpoint
  5. C2
    Deserialize malicious object
  6. Execute
    Execute __destruct() gadget chain
  7. Impact
    Write PHP webshell to webroot
  8. Step 8
    Execute arbitrary commands via HTTP

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 Craft CMS control panel with permissions to create or modify dashboard widgets (default for most non-guest user roles including editors, marketers, and shop managers). Craft Commerce plugin must be installed and active (versions 4.0.0-4.10.2 or 5.0.0-5.5.4). Server must be running PHP with PDO database driver configured to allow multi-statement queries (default configuration for most PHP installations). The yii2-queue library must be present (standard dependency in Craft Commerce installations) and GuzzleHttp library must be available in the vendor directory (included by default in Craft Commerce). Queue processing must be enabled via either cron job execution or the publicly accessible queue controller endpoint.

Impact

Real-world risk is moderate despite high CVSS 7.7 score. Attack complexity is rated High (AC:H) due to the multi-stage exploitation chain requiring precise knowledge of gadget chains and queue processing behavior. Exploitation requires authenticated control panel access (PR:L), significantly reducing the attack surface compared to unauthenticated vulnerabilities. EPSS score of 0.20% (42nd percentile) suggests security researchers predict low near-term exploitation probability, likely because the attack requires e-commerce platform-specific conditions and authenticated access to Craft CMS admin panels. However, CVSS metrics show complete confidentiality, integrity, and availability impact (VC:H/VI:H/VA:H) once exploited. SSVC framework considerations: exploitation status is POC (gadget chain methodology is publicly documented in research), automatable is no (requires authenticated session and precise multi-step interaction), technical impact is total (arbitrary code execution). Primary risk exists in environments where untrusted users have Craft CMS control panel accounts, such as multi-tenant commerce platforms or agencies with external contractors. Not present in CISA KEV, indicating no confirmed mass exploitation campaigns.

Exploit ScenarioDerived

An attacker with low-privileged Craft CMS control panel credentials (such as a content editor or customer service role) creates a malicious TotalRevenue dashboard widget with specially crafted settings containing SQL injection payloads. The injected SQL writes a serialized GuzzleHttp FileCookieJar object into the queue database table with properties configured to write a PHP webshell when deserialized. The attacker triggers queue processing via an unauthenticated endpoint (/queue/run or automatic cron execution), causing yii2-queue to unserialize the malicious object and execute the FileCookieJar destructor, which writes shell.php to the web-accessible public directory. Attacker then accesses the webshell via HTTP to execute arbitrary system commands with PHP process privileges, enabling data exfiltration, lateral movement, or ransomware deployment.

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

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

Alert me

AnalysisAIv1 – Apr 15, 2026

Remote code execution via SQL injection in Craft Commerce 4.x (4.0.0-4.10.2) and 5.x (5.0.0-5.5.4) allows authenticated control panel users to write PHP webshells through a four-step exploitation chain. Attack exploits unsanitized TotalRevenue widget settings interpolated into SQL, PDO multi-statement support, and unsafe PHP deserialization in yii2-queue to instantiate a GuzzleHttp FileCookieJar gadget chain. Complete exploitation requires only three HTTP requests and low-privileged authenticati

Earlier versions of this analysis (1)
v1 Apr 15, 2026 - 12:35 CVSS 7.7

Remote code execution via SQL injection in Craft Commerce 4.x (4.0.0-4.10.2) and 5.x (5.0.0-5.5.4) allows authenticated control panel users to write PHP webshells through a four-step exploitation chain. Attack exploits unsanitized TotalRevenue widget settings interpolated into SQL, PDO multi-statement support, and unsafe PHP deserialization in yii2-queue to instantiate a GuzzleHttp FileCookieJar gadget chain. Complete exploitation requires only three HTTP requests and low-privileged authentication, resulting in arbitrary command execution as the PHP process user. EPSS score of 0.20% (42nd percentile) indicates low predicted exploitation likelihood despite high technical impact. No public exploit or active exploitation confirmed at time of analysis.

RemediationAI

Upgrade immediately to Craft Commerce 4.10.3 or 5.5.5 depending on major version branch. Vendor-released patch available via Composer package manager or direct download from craftcms.com. Patch commit 6d2d24b3a2b0c06593856d05446f82bd8af92d72 addresses the issue by sanitizing widget settings and implementing parameterized queries for SQL execution. No workarounds exist that fully mitigate the vulnerability; temporary risk reduction possible by restricting control panel access to only fully trusted administrators and auditing existing dashboard widgets for suspicious configurations. Review webserver directories for unauthorized PHP files created between initial Commerce installation and patch deployment. Consult official security advisory at https://github.com/craftcms/commerce/security/advisories/GHSA-875v-7m49-8x88 for additional context.

Affected VersionsENISA

Commerce 4.0.0, < 4.10.3
Commerce 5.0.0, < 5.5.5

Affected Packages

composer craftcms/commerce fix: 4.10.3, 5.5.5
euvd commerce_4_0_0 fix: 4.10.3
euvd commerce_5_0_0 fix: 5.5.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 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 a first-party ecommerce extension for Craft CMS, built on the Yii2 PHP framework. The vulnerability chains together three distinct weaknesses: CWE-89 SQL injection in widget configuration handling, PHP object injection via PDO's multi-query execution, and unsafe deserialization in the yii2-queue library. The TotalRevenue widget accepts user-controlled settings that are directly interpolated into SQL expressions without proper sanitization. By exploiting PDO's default allowance of multiple SQL statements per query, an attacker injects a serialized PHP object into the queue table. When Craft's background job processor consumes this queue entry, yii2-queue's unserialize() call instantiates the payload. The attacker leverages a property-oriented programming gadget chain in GuzzleHttp's FileCookieJar class whose __destruct() magic method writes arbitrary file content during object destruction, enabling webshell deployment to the webroot.

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

Vendor (GitHub_M) PRIMARY 7.7 HIGH
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

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
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:19 nvd
HIGH 7.7

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Craft Commerce versions 4.0.0-4.10.2 and 5.0.0-5.5.4 contain a critical remote code execution vulnerability affecting authenticated control panel users who can modify widget settings. An attacker with low-privilege access can execute arbitrary commands on the server through a SQL injection and PHP deserialization chain, potentially leading to complete system compromise. Organizations running affected Craft Commerce instances should prioritize patching to eliminate the risk of insider threats or lateral movement by compromised accounts.

Business Impact: High
Compensating Controls

Apply vendor patch. Pending patch deployment: restrict control panel access to trusted administrators only, disable the TotalRevenue widget if unused, implement network-based access controls limiting control panel exposure, and monitor PHP process logs for suspicious command execution.

Threat Intelligence Overview

EPSS Score
0.2%
Top 58% exploitable
Threat Intel
1
1 source
Data Quality
7 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.2%
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

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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.

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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