CVE-2026-121628Bagisto before 2.3.16 and 2.4.x before 2.4.1 Race Condition in Coupon Usage Accounting
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- bagisto: affected: before 2.3.16, 2.4.0 to before 2.4.1, 2.3.16 not affected, 2.4.1 not affected; fixed in
2.3.16,2.4.1
Vendor advisories:
- https://github.com/bagisto/bagisto/commit/81cb2a2a35b355492f704fd216d679f2145a5650 (patch)
- https://github.com/bagisto/bagisto/commit/1f57c10eb9cb61b37de4706ffa439fd26aa7c405 (patch)
- https://github.com/bagisto/bagisto/releases/tag/v2.3.16 (release-notes)
- https://github.com/bagisto/bagisto/releases/tag/v2.4.1 (release-notes)
References
- https://github.com/bagisto/bagisto/commit/81cb2a2a35b355492f704fd216d679f2145a5650
- https://github.com/bagisto/bagisto/commit/1f57c10eb9cb61b37de4706ffa439fd26aa7c405
- https://github.com/bagisto/bagisto/releases/tag/v2.3.16
- https://github.com/bagisto/bagisto/releases/tag/v2.4.1
- https://gist.github.com/Ayxpp/5358d9fff045e94e0ddb51677ed5d195
- https://github.com/bagisto/bagisto/blob/v2.4.0/packages/Webkul/CartRule/src/Listeners/Order.php#L30-L95
- https://github.com/bagisto/bagisto
- https://www.vulncheck.com/advisories/bagisto-before-2.3.16-and-2.4-x-before-2.4.1-race-condition-in-coupon-usage-accounting
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.