Shopper: Race condition on Discount.usage_limit allows silent over-redemption
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| shopperlabs | shopper | before 2.8.0 | 2.8.0 | Patch available | CNA |
| — | shopper/cart (Packagist) | before 2.8.0 | 2.8.0 | Patch available | GHSA-9rh9-hf3w-9fgg |
- shopper Vendorshopperlabs Affected before 2.8.0 Fixed in 2.8.0 Patch available CNA
- shopper/cart (Packagist) Vendor— Affected before 2.8.0 Fixed in 2.8.0 Patch available GHSA-9rh9-hf3w-9fgg
Remediation
- Fix · CNA shopper (shopperlabs) Fixed in 2.8.0
- Fix · GHSA-9rh9-hf3w-9fgg shopper/cart (Packagist) Fixed in 2.8.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-47741
- 2026-10-03 Alias added: GHSA-9rh9-hf3w-9fgg
References
Other 6
- https://github.com/shopperlabs/shopper/security/advisories/GHSA-9rh9-hf3w-9fgg
- https://github.com/shopperlabs/shopper/issues/510
- https://github.com/shopperlabs/shopper/pull/511
- https://github.com/shopperlabs/shopper/commit/fcd0c5920588702df5b874f432b1042abd77a50b
- https://github.com/shopperlabs/shopper
- https://github.com/shopperlabs/shopper/releases/tag/v2.8.0
More shopperlabs vulnerabilities
- TI-2026-83413 Stored XSS via SVG and HTML uploads in Shopper admin panel CVSS 3.1HIGH 8.7
- TI-2026-40978 Missing authorization in shopperlabs shopper CVSS 3.1HIGH 8.1
- TI-2026-83412 Missing authorization in Shopper lets staff delete product variants CVSS 3.1HIGH 8.1
- TI-2026-40979 Shopper: Unauthorized inventory stock manipulation via unlocked variant property in VariantStock component CVSS 3.1HIGH 8.1
- TI-2026-40977 Shopper: Missing authorization on product removal actions in CollectionProducts component CVSS 3.1HIGH 8.1
- TI-2026-40981 Shopper: Negative discount values accepted and propagated through order calculation pipeline CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-47741 · CVE Program
- CVE-2026-47741 · NVD
- FIRST EPSS
- GHSA-9rh9-hf3w-9fgg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences