CVE-2026-55795: CWE-307: Improper Restriction of Excessive Authentication Attempts in craftcms commerce
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.
AI Analysis
Technical Summary
Craft Commerce's CartController activates its RateLimiter only when the POST or GET parameter 'number' is supplied. An unauthenticated attacker can submit couponCode values to the actionUpdateCart endpoint without including the 'number' parameter. This omission prevents the creation of the IP rate-limit identity, effectively bypassing rate limiting controls. As a result, attackers can perform unlimited automated coupon-code guessing and enumeration against the session-based cart. The vulnerability is identified as CWE-307 (Improper Restriction of Excessive Authentication Attempts) and is fixed in versions 4.11.2 and 5.6.5.
Potential Impact
An unauthenticated attacker can bypass rate limiting controls on coupon code submissions, enabling unlimited automated attempts to guess or enumerate coupon codes. This could lead to unauthorized discount application or other business logic abuse within the ecommerce platform. There is no indication of direct system compromise or data breach from this vulnerability alone.
Mitigation Recommendations
Upgrade Craft Commerce to version 4.11.2 or later in the 4.x series, or to version 5.6.5 or later in the 5.x series, where the issue is fixed. No other mitigations are indicated by the vendor advisory.
CVE-2026-55795: CWE-307: Improper Restriction of Excessive Authentication Attempts in craftcms commerce
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.
CVSS v4.0
Score 6.9medium
Affected software
craftcms
commerce
pkg:github/craftcms/commerceRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Craft Commerce's CartController activates its RateLimiter only when the POST or GET parameter 'number' is supplied. An unauthenticated attacker can submit couponCode values to the actionUpdateCart endpoint without including the 'number' parameter. This omission prevents the creation of the IP rate-limit identity, effectively bypassing rate limiting controls. As a result, attackers can perform unlimited automated coupon-code guessing and enumeration against the session-based cart. The vulnerability is identified as CWE-307 (Improper Restriction of Excessive Authentication Attempts) and is fixed in versions 4.11.2 and 5.6.5.
Potential Impact
An unauthenticated attacker can bypass rate limiting controls on coupon code submissions, enabling unlimited automated attempts to guess or enumerate coupon codes. This could lead to unauthorized discount application or other business logic abuse within the ecommerce platform. There is no indication of direct system compromise or data breach from this vulnerability alone.
Mitigation Recommendations
Upgrade Craft Commerce to version 4.11.2 or later in the 4.x series, or to version 5.6.5 or later in the 5.x series, where the issue is fixed. No other mitigations are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-17T14:40:28.380Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aa81a7c55bf5e2cf54846c8
Added to database: 09/14/2026, 16:02:04 UTC
Last enriched: 09/14/2026, 16:16:56 UTC
Last updated: 09/15/2026, 03:35:00 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.