Description
Craft Commerce is an ecommerce platform for Craft CMS. From 4.0.0 until 4.11.2 and 5.6.5, CartController in src/controllers/CartController.php activates its RateLimiter only when the number POST or GET parameter is supplied. An unauthenticated attacker can submit couponCode values to actionUpdateCart for the session-based cart while omitting number, preventing creation of the IP rate-limit identity and allowing unlimited automated coupon-code guessing and enumeration. This issue is fixed in versions 4.11.2 and 5.6.5.
Published: 2026-09-14
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized Coupon Code Enumeration
Action: Immediate Patch
AI Analysis

Impact

Craft Commerce's CartController applies its rate limiter only when the 'number' parameter is present in POST or GET requests. An unauthenticated attacker who omits this parameter can repeatedly submit couponCode values to the actionUpdateCart endpoint for the session-based cart, preventing the creation of the IP rate-limit identity and allowing unlimited automated coupon-code guessing and enumeration. This vulnerability, indicative of CWE‑307, is fixed in versions 4.11.2 and 5.6.5.

Affected Systems

The flaw affects Craft Commerce versions 4.0.0 through 4.11.2 and 5.6.5. The issue was fixed in releases 4.11.2 and 5.6.5. All installations using the older versions of these branches are vulnerable.

Risk and Exploitability

The CVSS score of 6.9 reflects a moderate severity and the fact that the EPSS score of < 1% indicates a very low exploitation probability, and the vulnerability is not yet listed in CISA KEV. The attack vector is remote via the web interface; authentication is not required, and the exploitation is straightforward: send successive couponCode POST requests to the cart update action. Once the limiter is bypassed, an attacker can enumerate valid coupon codes at near-zero cost.

Generated by OpenCVE AI on September 21, 2026 at 00:51 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Craft Commerce to version 4.11.2 or later (5.6.5 or newer).
  • If an immediate upgrade cannot be performed, block unauthenticated access to the cart update endpoint or enforce a CAPTCHA to thwart automated requests.
  • Configure a web application firewall or server‑level rate limiting to cap coupon code validation attempts per IP address.

Generated by OpenCVE AI on September 21, 2026 at 00:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-h5gm-x9wr-vhcm Craft Commerce: Coupon Code Brute-Force via Rate Limit Bypass
History

Tue, 15 Sep 2026 00:45:00 +0000

Type Values Removed Values Added
First Time appeared Craftcms
Craftcms commerce
Vendors & Products Craftcms
Craftcms commerce

Mon, 14 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 14 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
Description Craft Commerce is an ecommerce platform for Craft CMS. From 4.0.0 until 4.11.2 and 5.6.5, CartController in src/controllers/CartController.php activates its RateLimiter only when the number POST or GET parameter is supplied. An unauthenticated attacker can submit couponCode values to actionUpdateCart for the session-based cart while omitting number, preventing creation of the IP rate-limit identity and allowing unlimited automated coupon-code guessing and enumeration. This issue is fixed in versions 4.11.2 and 5.6.5.
Title Craft Commerce: Coupon Code Brute-Force via Rate Limit Bypass
Weaknesses CWE-307
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Craftcms Commerce
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-14T20:06:54.939Z

Reserved: 2026-06-17T14:40:28.380Z

Link: CVE-2026-55795

cve-icon Vulnrichment

Updated: 2026-09-14T19:22:17.728Z

cve-icon NVD

Status : Deferred

Published: 2026-09-14T16:17:12.810

Modified: 2026-09-30T17:51:56.193

Link: CVE-2026-55795

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-21T01:00:08Z

Weaknesses
  • CWE-307

    Improper Restriction of Excessive Authentication Attempts