Skip to content
Heist/ feed
Back to feed
Medium

Thelia before 3.1.5 and 3.2.4 Coupon Usage Limit Bypass via Pay-Later Orders

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-112285
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 22:43 UTC · Revision 1

Source evidence

Thelia before 3.1.5 and 3.2.4 Coupon Usage Limit Bypass via Pay-Later Orders

core-osv · Original source

Published 19 Oct 2026, 13:55 UTC

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.

osv:CVE-2026-112285
Complete source record
{
  "id": "ea732a39fcbf59d231499985d57efc186d8bc5e9fe6a9bc7aa3e856135531e7e",
  "url": "https://osv.dev/vulnerability/CVE-2026-112285",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Thelia before 3.1.5 and 3.2.4 Coupon Usage Limit Bypass via Pay-Later Orders",
    "summary": "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.",
    "evidence": "osv:CVE-2026-112285",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-112285",
      "aliases": [
        "CVE-2026-112285",
        "GHSA-pq5m-7g9w-ppg8"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/thelia/thelia",
              "type": "GIT",
              "events": [
                {
                  "introduced": "7c61d1800e032317a9c25e209049cd3e13e57935"
                },
                {
                  "fixed": "018202cf6fa37734420dc0f48cc032646fbf9df5"
                },
                {
                  "introduced": "cdff8e3d89985d880a3605ebd6bc585780583d92"
                },
                {
                  "fixed": "1b1a5af9e65dbf9922d3c0761638e739b8c5303c"
                },
                {
                  "fixed": "1c3ed9c7ad57fec8ea959aa2d2f506f9892777ea"
                },
                {
                  "fixed": "edb7078bfce5ea31b40868d340b0b49dcc6cf00c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "2.6.2"
                      },
                      {
                        "fixed": "3.1.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "3.2.0"
                      },
                      {
                        "fixed": "3.2.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "1c3ed9c7ad57fec8ea959aa2d2f506f9892777ea"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "edb7078bfce5ea31b40868d340b0b49dcc6cf00c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "018202cf6fa37734420dc0f48cc032646fbf9df5"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "3.1.5"
                  },
                  {
                    "range": [
                      {
                        "fixed": "1b1a5af9e65dbf9922d3c0761638e739b8c5303c"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "3.2.4"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.2.3",
            "3.2.2",
            "3.2.1",
            "3.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-112285.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.974582067Z",
      "provider": "osv",
      "references": [
        "https://packagist.org",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112285.json",
        "https://github.com/thelia/thelia/releases/tag/3.1.5",
        "https://github.com/thelia/thelia/releases/tag/3.2.4",
        "https://github.com/thelia/thelia/security/advisories/GHSA-pq5m-7g9w-ppg8",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-112285",
        "https://www.vulncheck.com/advisories/thelia-before-3.1.5-and-3.2.4-coupon-usage-limit-bypass-via-pay-later-orders",
        "https://github.com/thelia/thelia/commit/1c3ed9c7ad57fec8ea959aa2d2f506f9892777ea",
        "https://github.com/thelia/thelia/commit/edb7078bfce5ea31b40868d340b0b49dcc6cf00c",
        "https://github.com/thelia/thelia",
        "https://github.com/thelia/thelia/blob/3.2.3/core/lib/Thelia/Action/Coupon.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/Domain/Promotion/Coupon/Service/OrderCouponUsageManager.php"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-837"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112285.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-112285",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499175,
  "published_at": "2026-10-19T13:55:29.184+00:00"
}