CVE-2026-31824

Sylius has a Promotion Usage Limit Bypass via Race Condition

MEDIUM
5.9
CVSS Score
Published: March 10, 2026 at 09:32 PM UTC
Updated: June 17, 2026 at 10:34 AM UTC
1 product affected across 1 vendorSylius

Using Sylius by Sylius?

Get instant alerts when new vulnerabilities affect Sylius - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.9
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

95%
v < 1.10.16v < 1.11.17v < 1.12.23v < 1.13.15v < 1.14.18v < 1.9.12v < 2.0.16v < 2.1.12v < 2.2.31.10.0 ≤ v < 1.10.161.11.0 ≤ v < 1.11.171.12.0 ≤ v < 1.12.231.13.0 ≤ v < 1.13.151.14.0 ≤ v < 1.14.182.0.0 ≤ v < 2.0.162.1.0 ≤ v < 2.1.122.2.0 ≤ v < 2.2.3
Affected range stops below 1.10.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.11.17, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.12.23, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.13.15, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.14.18, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.9.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.0.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.1.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.2.3, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

x_refsource_CONFIRMMitigationVendor Advisory
Source: cverecord
https://github.com/Sylius/Sylius/security/advisories/GHSA-7mp4-25j8-hp5q

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-362CWE-367

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card