Skip to main content

Thelia EUVDEUVD-2026-104288

| CVE-2026-112285 MEDIUM
Improper Enforcement of a Single, Unique Action (CWE-837)
2026-10-19 disclosure@vulncheck.com GHSA-j67m-qx25-v22p
5.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as store customer
  2. Delivery
    Apply usage-limited coupon at checkout
  3. Exploit
    Place pay-later orders or cancel paid orders before counting
  4. Execution
    Repeat to inflate remaining usage
  5. Impact
    Redeem discount beyond its limit

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Improper enforcement of single unique action
Exploitation Conditions

Requires a valid authenticated customer account (PR:L) on a Thelia store running a vulnerable version (before 3.1.5, or 3.2.x before 3.2.4) that has an active coupon configured with a finite usage limit (global max_usage or per-customer usage count). The flaw is reachable only because usage is counted at the paid-order transition, so exploitation specifically depends on the store offering a deferred/'pay-later' payment flow (allowing orders to sit unpaid while usage remains) or permitting order cancellation of paid orders to give usage back. Limiting factors: attacker must hold a store account, a usage-capped coupon must exist, and the store must support pay-later or cancellation workflows; there is no confidentiality or availability impact, and impact is confined to discount/order-accounting integrity.

Impact

This is a business logic / improper enforcement flaw (CWE-837) carrying a moderate CVSS 4.0 base score of 5.3. The provided 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N) shows a remotely reachable, low-complexity issue requiring low privileges (an authenticated customer account), with no confidentiality or availability impact and only LOW integrity impact - matching the nature of the bug (manipulating coupon usage accounting, not system compromise). No EPSS probability, CISA KEV listing, or public POC was provided in the input, so there is no public exploit identified at time of analysis and no evidence of active exploitation; the only exploitation enabler supplied is the fix commit diff, which reveals the root cause but is not weaponized exploit code. The realistic risk is financial/fraud-oriented and merchant-specific (abuse of discount limits), not a server-takeover priority: it ranks below network RCE despite being trivially performed by any registered user. Note a data-quality signal: the input Tag 'Authentication Bypass' conflicts with the description and CWE - this is a limit-bypass by an ALREADY-authenticated customer, not a bypass of authentication - so that tag should not drive triage. The fix diff also exposes a secondary race-condition angle ('two orders paid at the same time never share the last usage'), which raises the practical exploitability slightly beyond the pure pay-later/cancel logic path.

Exploit ScenarioDerived

An attacker registers or uses an existing customer account on a Thelia store and applies a coupon that has a limited number of uses. Because usage is only decremented when an order becomes paid, the attacker either places several 'pay-later' (deferred payment) orders while a usage still shows as available, or cancels already-paid orders to restore/inflate max_usage, redeeming the capped discount far beyond its intended limit. No public exploit code was identified; exploitation requires only a valid customer login and is low-complexity.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 19, 2026

Authenticated customers on Thelia e-commerce stores can bypass coupon usage limits by exploiting order-payment timing, allowing them to obtain discounts beyond a coupon's configured cap. The flaw affects Thelia before 3.1.5 and 3.2.x before 3.2.4, requires a valid customer account plus a usage-limited coupon and a pay-later or cancellation workflow, and carries a moderate CVSS 4.0 score of 5.3 with integrity-only impact; no public exploit identified at time of analysis.

RemediationAI

Vendor-released patches are available: upgrade to Thelia 3.1.5 or 3.2.4 (https://github.com/thelia/thelia/releases/tag/3.1.5 and https://github.com/thelia/thelia/releases/tag/3.2.4), per GitHub security advisory GHSA-pq5m-7g9w-ppg8 (https://github.com/thelia/thelia/security/advisories/GHSA-pq5m-7g9w-ppg8) and the VulnCheck advisory. The relevant upstream commits are 1c3ed9c7ad57fec8ea959aa2d2f506f9892777ea and edb7078bfce5ea31b40868d340b0b49dcc6cf00c. If immediate upgrade is not possible, restrict coupons to immediate-payment methods so orders cannot remain unpaid while usage is still available, and disable or manually review cancellation-triggered usage restoration for coupons; these controls reduce exposure but remove pay-later flexibility and add operational overhead. Monitor for multiple unpaid orders from the same customer using the same limited coupon.

Affected VersionsENISA

Thelia 2.6.2 <3.1.5
Thelia 3.2.0 <3.2.4

Affected Packages

euvd thelia fix: 3.1.5, 3.2.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Thelia is a PHP-based open-source e-commerce platform. The vulnerability is an improper enforcement of a single, unique action (CWE-837) in the coupon subsystem: coupon usage is decremented only when an order becomes paid, rather than when the coupon is applied or the order is placed. The affected components include CouponManager and OrderCouponUsageManager, where the original decrementQuantity() and incrementQuantity() logic performed non-atomic read-modify-write operations on max_usage and per-customer counts. An authenticated customer could place multiple pay-later orders while a usage appeared available, or cancel paid orders to trigger incrementQuantity() and inflate remaining max_usage, repeatedly applying the same coupon. The vendor fix replaces these operations with atomic takeOneUsage() and giveBackOneUsage() statements and ensures only counted coupon lines can return usage on cancellation. No CPE strings were supplied in the input data; version ranges come from the vendor advisory and release tags.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.3 MEDIUM

Exploitable over the web by any authenticated customer (AV:N, PR:L, AC:L, UI:N); impact is limited to manipulating coupon/order accounting, so I:L with C:N and A:N.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Oct 19, 2026 - 15:02 EUVD

DescriptionCVE.org

Thelia before 3.1.5 and 3.2.x before 3.2.4 contains a business logic vulnerability that allows authenticated customers to bypass coupon usage limits because usage is counted only when orders become paid. Attackers can place multiple pay-later orders while a usage remains, or cancel paid orders to inflate max_usage, gaining unlimited discounts.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
niche open-source French e-commerce platform, limited enterprise deployment footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy