Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-55795 EUVD-2026-77587GHSA-h5gm-x9wr-vhcm

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

Published Sep 14, 2026 · Updated Sep 14, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
craftcms commerce >= 4.0.0, < 4.11.2, >= 5.0.0, < 5.6.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist craftcms/commerce >= 5.0.0, < 5.6.5 5.6.5 GHSA-h5gm-x9wr-vhcm
Packagist craftcms/commerce >= 4.0.0, < 4.11.2 4.11.2 GHSA-h5gm-x9wr-vhcm

References