CVE-2026-31824
Last modified
CVE-2026-31824 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. Sylius is an Open Source eCommerce Framework on Symfony. A Time-of-Check To Time-of-Use (TOCTOU) race condition was discovered in the promotion usage limit enforcement. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
Description
Sylius is an Open Source eCommerce Framework on Symfony. 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 the promotion usage limit (the global used counter on Promotion entities), coupon usage limit (the global used counter on PromotionCoupon entities), and 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, while the actual usage increment in OrderPromotionsUsageModifier happens later during order completion — with no database-level locking or atomic operations between the two phases. Because Doctrine flushes an absolute value (SET used = 1) rather than an atomic increment (SET used = used + 1), and because the affected entities lack optimistic locking, concurrent requests all read the same stale usage counts and pass the eligibility checks simultaneously. An attacker can exploit this by preparing multiple carts with the same limited-use promotion or coupon and firing simultaneous PATCH /api/v2/shop/orders/{token}/complete requests. All requests pass the usage limit checks and complete successfully, allowing a single-use promotion or coupon to be redeemed an arbitrary number of times. The per-customer limit can be bypassed in the same way by a single customer completing multiple orders concurrently. No authentication is required to exploit this vulnerability. This may lead to direct financial loss through unlimited redemption of limited-use promotions and discount coupons. The issue is fixed in versions: 1.9.12, 1.10.16, 1.11.17, 1.12.23, 1.13.15, 1.14.18, 2.0.16, 2.1.12, 2.2.3 and above.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sylius | Sylius | < 1.9.12 |
| Sylius | Sylius | >= 1.10.0, < 1.10.16 |
| Sylius | Sylius | >= 1.11.0, < 1.11.17 |
| Sylius | Sylius | >= 1.12.0, < 1.12.23 |
| Sylius | Sylius | >= 1.13.0, < 1.13.15 |
| Sylius | Sylius | >= 1.14.0, < 1.14.18 |
| Sylius | Sylius | >= 2.0.0, < 2.0.16 |
| Sylius | Sylius | >= 2.1.0, < 2.1.12 |
| Sylius | Sylius | >= 2.2.0, < 2.2.3 |
References
- https://github.com/Sylius/Sylius/security/advisories/GHSA-7mp4-25j8-hp5qMitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-31824?
How severe is CVE-2026-31824?
How do I fix CVE-2026-31824?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-31819Sylius is an Open Source eCommerce Framework on Symfony. Cur…6.1
- CVE-2026-3182Zohocorp ManageEngine Endpoint Central versions before 11.4.…4.3
- CVE-2026-31820Sylius is an Open Source eCommerce Framework on Symfony. An …6.5
- CVE-2026-31821Sylius is an Open Source eCommerce Framework on Symfony. The…5.3
- CVE-2026-31822Sylius is an Open Source eCommerce Framework on Symfony. A c…6.1
- CVE-2026-31823Sylius is an Open Source eCommerce Framework on Symfony. An …4.8
- CVE-2026-31825Sylius is an Open Source eCommerce Framework on Symfony. Syl…5.3
- CVE-2026-31826pypdf is a free and open-source pure-python PDF library. Pri…5.5
- CVE-2026-31827Alienbin is an anonymous code and text sharing web service. …7.1
- CVE-2026-31828Parse Server is an open source backend that can be deployed …8.8
- CVE-2026-31829Flowise is a drag & drop user interface to build a customize…8.8
- CVE-2026-3183Zohocorp ManageEngine ADSelfService Plus versions before 652…7.1
Are you affected by CVE-2026-31824?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
