Skip to main content
← All vulnerabilities
CVE-2026-55795GHSA-H5GM-X9WR-VHCM

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.11.2, 5.6.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • craftcms commerce

    From 4.0.0 · fixed in 4.11.2; From 5.0.0 · fixed in 5.6.5

  • craftcms/commercePackagist

    From 5.0.0 · fixed in 5.6.5

  • craftcms/commercePackagist

    From 4.0.0 · fixed in 4.11.2

References 5

GitHub · craftcms/commerce