Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-47741 EUVD-2026-33409GHSA-9rh9-hf3w-9fgg

Shopper: Race condition on Discount.usage_limit allows silent over-redemption

Published May 29, 2026 · Updated May 29, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
shopperlabs shopper < 2.8.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist shopper/cart < 2.8.0 2.8.0 GHSA-9rh9-hf3w-9fgg

References