CVE-2026-47741
MEDIUMShopper: Race condition on Discount.usage_limit allows silent over-redemption
Title source: cnaDescription
Shopper is a Headless e-commerce Admin Panel. Prior to 2.8.0, CreateOrderFromCartAction::execute previously created the Order row before checking and incrementing the discount's total_use counter. Under concurrent checkout pressure (Black Friday, flash sale, viral coupon), the global usage_limit was silently exceeded: orders were committed with the discount fully applied to price_amount while the counter blocked at usage_limit. The merchant had no signal that an over-redemption had occurred. This vulnerability is fixed in 2.8.0.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/shopperlabs/shopper/security/advisories/GHSA-9rh9-hf3w-9fgg
X_Refsource_Misc x_refsource_misc
https://github.com/shopperlabs/shopper/issues/510
X_Refsource_Misc x_refsource_misc
https://github.com/shopperlabs/shopper/pull/511
Scores
CVSS v3
5.9
EPSS
0.0024
EPSS Percentile
14.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-362
Status
published
Products (2)
shopper/cart
0 - 2.8.0Packagist
shopperlabs/shopper
< 2.8.0
Published
May 29, 2026
Tracked Since
May 30, 2026