cve.bz

CVE-2026-31824 sylius sylius: Race Condition

5.9 mediumEPSS 0.2%Fix available

Medium (5.9) in sylius sylius. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in sylius/sylius 1.10.16, 1.11.17, 1.12.23.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 11th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-03-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-31824 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-31824?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-31824?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-31824 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sylius:syliusbefore 1.9.12
sylius:syliusfrom 1.10.0 before 1.10.16
sylius:syliusfrom 1.11.0 before 1.11.17
sylius:syliusfrom 1.12.0 before 1.12.23
sylius:syliusfrom 1.13.0 before 1.13.15
sylius:syliusfrom 1.14.0 before 1.14.18
sylius:syliusfrom 2.0.0 before 2.0.16
sylius:syliusfrom 2.1.0 before 2.1.12
sylius:syliusfrom 2.2.0 before 2.2.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7mp4-25j8-hp5qPackagistsylius/sylius<1.9.121.9.12
GHSA-7mp4-25j8-hp5qPackagistsylius/sylius>=1.10.0 <1.10.161.10.16
GHSA-7mp4-25j8-hp5qPackagistsylius/sylius>=1.11.0 <1.11.171.11.17
GHSA-7mp4-25j8-hp5qPackagistsylius/sylius>=1.12.0 <1.12.231.12.23
GHSA-7mp4-25j8-hp5qPackagistsylius/sylius>=1.13.0 <1.13.151.13.15
GHSA-7mp4-25j8-hp5qPackagistsylius/sylius>=1.14.0 <1.14.181.14.18
GHSA-7mp4-25j8-hp5qPackagistsylius/sylius>=2.0.0 <2.0.162.0.16
GHSA-7mp4-25j8-hp5qPackagistsylius/sylius>=2.1.0 <2.1.122.1.12
GHSA-7mp4-25j8-hp5qPackagistsylius/sylius>=2.2.0 <2.2.32.2.3

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High
  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON