6.9Medium

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

craftcms commerce Published: (1 month ago)

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.

Weakness (CWE): CWE-307

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
craftcms commerce >= 4.0.0, < 4.11.2, >= 5.0.0, < 5.6.5

References and patches