Skip to main content

CVE-2026-55795: CWE-307: Improper Restriction of Excessive Authentication Attempts in craftcms commerce

0
Medium
VulnerabilityCVE-2026-55795cvecve-2026-55795cwe-307
Published: 09/14/2026 (09/14/2026, 15:55:14 UTC)
Source: CVE Database V5
Vendor/Project: craftcms
Product: commerce

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.

CVSS v4.0

Score 6.9medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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 software

craftcms

commerce

Affected versions
>=4.0.0 <4.11.2>=5.0.0 <5.6.5
GitHub Actionsmore threats →ai
craftcms/commerce
pkg:github/craftcms/commerce
Affected versions
>=4.0.0 <4.11.2>=5.0.0 <5.6.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/14/2026, 16:16:56 UTC

Technical Analysis

Craft Commerce's CartController activates its RateLimiter only when the POST or GET parameter 'number' is supplied. An unauthenticated attacker can submit couponCode values to the actionUpdateCart endpoint without including the 'number' parameter. This omission prevents the creation of the IP rate-limit identity, effectively bypassing rate limiting controls. As a result, attackers can perform unlimited automated coupon-code guessing and enumeration against the session-based cart. The vulnerability is identified as CWE-307 (Improper Restriction of Excessive Authentication Attempts) and is fixed in versions 4.11.2 and 5.6.5.

Potential Impact

An unauthenticated attacker can bypass rate limiting controls on coupon code submissions, enabling unlimited automated attempts to guess or enumerate coupon codes. This could lead to unauthorized discount application or other business logic abuse within the ecommerce platform. There is no indication of direct system compromise or data breach from this vulnerability alone.

Mitigation Recommendations

Upgrade Craft Commerce to version 4.11.2 or later in the 4.x series, or to version 5.6.5 or later in the 5.x series, where the issue is fixed. No other mitigations are indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-17T14:40:28.380Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6aa81a7c55bf5e2cf54846c8

Added to database: 09/14/2026, 16:02:04 UTC

Last enriched: 09/14/2026, 16:16:56 UTC

Last updated: 09/15/2026, 03:35:00 UTC

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses