Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-31824

published high CVSS 3.1 · 8.2

Sylius has a Promotion Usage Limit Bypass via Race Condition

Published
10 Mar 2026, 21:32:16 UTC
Updated
11 Mar 2026, 15:59:35 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Sylius — Sylius>= 2.2.0, < 2.2.3 · >= 2.1.0, < 2.1.12 · >= 2.0.0, < 2.0.16 · >= 1.14.0, < 1.14.18 · >= 1.13.0, < 1.13.15 · >= 1.12.0, < 1.12.23 · >= 1.11.0, < 1.11.17 · >= 1.10.0, < 1.10.16 · < 1.9.12 Affected Not stated GitHub_M

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.2 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Sylius Sylius >= 2.2.0, < 2.2.3 (affected)>= 2.1.0, < 2.1.12 (affected)>= 2.0.0, < 2.0.16 (affected)>= 1.14.0, < 1.14.18 (affected)>= 1.13.0, < 1.13.15 (affected)>= 1.12.0, < 1.12.23 (affected)>= 1.11.0, < 1.11.17 (affected)>= 1.10.0, < 1.10.16 (affected)< 1.9.12 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-362 CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') (GitHub_M · cna)
  • CWE-367 CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition (GitHub_M · cna)

References

1

Provider assertions

2

GitHub_M · cna

Sylius has a Promotion Usage Limit Bypass via Race Condition

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
9bbd9dd37d1f3f20dbb6c9292da6124f062e7a2d1a2a20e0e81ceb90eeeb15af
Ingested
23 Sep 2026, 09:09:43 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected