Time-of-check Time-of-use (TOCTOU) Race Condition in Sylius - CVE-2026-31824
Published: April 27, 2026
Sylius
Detailed vulnerability description
The vulnerability allows a remote attacker to bypass promotion and coupon usage limits.
The vulnerability exists due to a time-of-check time-of-use race condition in promotion usage limit enforcement when completing orders through concurrent API requests. A remote attacker can send simultaneous PATCH requests to redeem a limited-use promotion or coupon multiple times.
The same race condition affects the global promotion usage counter, the global coupon usage counter, and the per-customer coupon redemption count.