CVE-2026-55795
MEDIUM 6.9CVSS 4.0Craft Commerce: Coupon Code Brute-Force via Rate Limit Bypass
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.
- Published
- 14 Sep 2026
- Last modified
- 30 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-307
- Also known as
- GHSA-h5gm-x9wr-vhcm
- Sources
- NVDJSONOSV GHSA-h5gm-x9wr-vhcmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | craftcms/commerce | >= 5.0.0, < 5.6.5 | 5.6.5 |
| OSV | Packagist | craftcms/commerce | >= 4.0.0, < 4.11.2 | 4.11.2 |
References
- https://github.com/craftcms/commerce/commit/a7d365cc33dc4c60c543defb3458bcdb5749bc13
- https://github.com/craftcms/commerce/commit/df22c4f9c4ea7fb7857d833f755e49ea6f9f5bb5 · WEB
- https://github.com/craftcms/commerce/releases/tag/4.11.2
- https://github.com/craftcms/commerce/releases/tag/5.6.5
- https://github.com/craftcms/commerce/security/advisories/GHSA-h5gm-x9wr-vhcm · WEB
- https://github.com/craftcms/commerce · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 14 Sep 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 19 Jun 2026)