SCA: security update for craftcms/commerce (GHSA-pmgj-gmm4-jh6j)

high Tenable Self-Hosted Container Security Plugin ID 438566

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. Prior to 5.5.3, Craft Commerce is vulnerable to SQL
Injection in the inventory levels table data endpoint. The sort[0][direction] and sort[0][sortField]
parameters are concatenated directly into an addOrderBy() clause without any validation or sanitization.
An authenticated attacker with access to the Commerce Inventory section can inject arbitrary SQL queries,
potentially leading to a full database compromise. This vulnerability is fixed in 5.5.3. (CVE-2026-29174)

Solution

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

See Also

https://github.com/advisories/GHSA-pmgj-gmm4-jh6j

Plugin Details

Severity: High

ID: 438566

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 3/10/2026

Updated: 7/2/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: High

Base Score: 9

Temporal Score: 7

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

CVSS Score Source: CVE-2026-29174

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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:P/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 7.4

Threat Vector: CVSS:4.0/E:P

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 Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/10/2026

Vulnerability Publication Date: 3/10/2026

Reference Information

CVE: CVE-2026-29174

cwe: CWE-89