CVE-2026-55795 PUBLISHED

Craft Commerce: Coupon Code Brute-Force via Rate Limit Bypass

Assigner: GitHub_M
Reserved: 17.06.2026 Published: 14.09.2026 Updated: 14.09.2026

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.

Metrics

CVSS 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
CVSS Score: 6.9

Product Status

Vendor craftcms
Product commerce
Versions
  • Version >= 4.0.0, < 4.11.2 is affected
  • Version >= 5.0.0, < 5.6.5 is affected

References

Problem Types

  • CWE-307: Improper Restriction of Excessive Authentication Attempts CWE