HighGHSA-7mp4-25j8-hp5q

Sylius has a Promotion Usage Limit Bypass via Race Condition

Affected versionsbefore 1.9.12, 1.10.0 to before 1.10.16, 1.11.0 to before 1.11.17, 1.12.0 to before 1.12.23, 1.13.0 to before 1.13.15, 1.14.0 to before 1.14.18, 2.0.0 to before 2.0.16, 2.1.0 to before 2.1.12, 2.2.0 to before 2.2.3 - fixed in 1.9.12

Details

### Impact A Time-of-Check To Time-of-Use (TOCTOU) race condition was discovered in the promotion usage limit enforcement. The same class of vulnerability affects three independent limits: 1. **Promotion usage limit** - the global `used` counter on `Promotion` entities 2. **Coupon usage limit** - the global `used` counter on `PromotionCoupon` entities 3. **Coupon per-customer usage limit** - the per-customer redemption count on `PromotionCoupon` entities In all three cases, the eligibility check reads the `used` counter (or order count) from an in-memory Doctrine entity during validation, wh

Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected

Inside rootscan

Illustrative rootscan dashboard

Illustrative product preview with sample data. Explore an interactive sample finding

Connect your Shopify store

Connect once. Keep watch.

Enter your store address to prepare your connection.

Website preview: this prepares a connection summary. No app is installed and no scan runs.

Check this website

No account needed for the free scan.

The free public scan needs no account and does not log in to the site. If you later buy a pentest, you will create an account, prove you control the target, and tick a permission checkbox before any active test starts.

Run the free scan Already have an account? Sign in

No active test starts until you authorize it in the app.