---
id: "CVE-2026-112285"
kind: "vulnerability"
aliases: ["CVE-2026-112285"]
title: "Thelia: coupon usage limits bypassed through pay-later and cancelled orders"
severity: "medium"
cvss: 5.3
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["e-commerce", "php", "runtime", "self-hosted", "thelia"]
not_affected_if: ["no-usage-limited-coupons", "patched-version"]
published_at: "2026-10-19T14:17:06+00:00"
first_seen_at: "2026-10-23T21:57:18+00:00"
updated_at: "2026-10-25T04:25:09+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-112285", "first_seen_at": "2026-10-23T21:57:18+00:00"}]
---

# Thelia: coupon usage limits bypassed through pay-later and cancelled orders

Thelia, an open-source e-commerce platform, counts coupon usage only when orders are paid, so a logged-in customer can place several pay-later orders while one use remains. Cancelling paid orders also raises the coupon's max_usage, letting the customer keep getting unlimited discounts.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed Thelia version in the project's composer.json or the admin footer; versions below `3.1.5` or `3.2.x` below `3.2.4` are affected.
- Review coupons with a usage limit for unusual order counts from single customers.

## Fix

- Upgrade Thelia to `3.1.5` or later on the 3.1 line, or to `3.2.4` or later on the 3.2 line.

## Timeline

- 2026-10-23T21:57:18+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-112285

## From the sources

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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
