---
id: "CVE-2026-121628"
kind: "vulnerability"
aliases: ["CVE-2026-121628"]
title: "Bagisto: race condition lets shoppers reuse single-use coupons repeatedly"
severity: "medium"
cvss: 6.3
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["bagisto", "e-commerce", "laravel", "package", "self-hosted"]
not_affected_if: ["no-single-use-coupons"]
published_at: "2026-11-03T18:17:58+00:00"
first_seen_at: "2026-11-03T18:22:10+00:00"
updated_at: "2026-11-03T18:22:37+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-121628", "first_seen_at": "2026-11-03T18:22:10+00:00"}]
---

# Bagisto: race condition lets shoppers reuse single-use coupons repeatedly

Bagisto, an open-source Laravel e-commerce platform, has a race condition in its cart rule handling where concurrent checkout requests bypass the times_used check. An attacker can apply a single-use coupon multiple times and get repeated discounts.

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

## How to check

- Check the installed Bagisto version in composer.lock or the project's composer.json for `bagisto/bagisto`
- Compare the version against `2.3.16` for the 2.3.x line and `2.4.1` for the 2.4.x line

## Fix

- Bagisto 2.3.x: move to `2.3.16` or later
- Bagisto 2.4.x: move to `2.4.1` or later

## Timeline

- 2026-11-03T18:22:10+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-121628

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/bagisto-before-2.3.16-and-2.4-x-before-2.4.1-race-condition-in-coupon-usage-accounting
- [fix] Patch: github.com https://github.com/bagisto/bagisto/commit/1f57c10eb9cb61b37de4706ffa439fd26aa7c405
- [fix] Patch: github.com https://github.com/bagisto/bagisto/commit/81cb2a2a35b355492f704fd216d679f2145a5650
- [fix] Release notes: github.com https://github.com/bagisto/bagisto/releases/tag/v2.3.16
- [fix] Release notes: github.com https://github.com/bagisto/bagisto/releases/tag/v2.4.1

## From the sources

Bagisto before 2.3.16 and 2.4.x before 2.4.1 contains a race condition vulnerability in manageCartRule() that allows attackers to redeem single-use coupons multiple times. Attackers can submit concurrent order requests to the onepage orders checkout endpoint, bypassing unlocked times_used checks to apply discounts repeatedly.

---

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