CVE-2026-47741
MEDIUM 5.9CVSS 3.1shopper/framework: Race condition on Discount.usage_limit allows silent over-redemption
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.
- Published
- 29 May 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-362
- Also known as
- GHSA-9rh9-hf3w-9fgg
- Sources
- NVDJSONOSV GHSA-9rh9-hf3w-9fggJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | shopper/cart | < 2.8.0 | 2.8.0 |
References
- https://github.com/shopperlabs/shopper/issues/510 · WEB
- https://github.com/shopperlabs/shopper/pull/511 · WEB
- https://github.com/shopperlabs/shopper/security/advisories/GHSA-9rh9-hf3w-9fgg · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-47741 · ADVISORY
- https://github.com/shopperlabs/shopper/commit/fcd0c5920588702df5b874f432b1042abd77a50b · WEB
- https://github.com/shopperlabs/shopper · PACKAGE
- https://github.com/shopperlabs/shopper/releases/tag/v2.8.0 · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 29 May 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 18 May 2026)