{"id":"CVE-2026-121628","summary":"Bagisto before 2.3.16 and 2.4.x before 2.4.1 Race Condition in Coupon Usage Accounting","details":"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.","modified":"2026-11-14T02:30:59.301479029Z","published":"2026-11-03T17:13:54.596Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-362"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121628.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121628.json"},{"type":"ADVISORY","url":"https://github.com/bagisto/bagisto/releases/tag/v2.3.16"},{"type":"ADVISORY","url":"https://github.com/bagisto/bagisto/releases/tag/v2.4.1"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121628"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/bagisto-before-2.3.16-and-2.4-x-before-2.4.1-race-condition-in-coupon-usage-accounting"},{"type":"FIX","url":"https://github.com/bagisto/bagisto/commit/1f57c10eb9cb61b37de4706ffa439fd26aa7c405"},{"type":"FIX","url":"https://github.com/bagisto/bagisto/commit/81cb2a2a35b355492f704fd216d679f2145a5650"},{"type":"PACKAGE","url":"https://github.com/bagisto/bagisto"},{"type":"ARTICLE","url":"https://github.com/bagisto/bagisto/blob/v2.4.0/packages/Webkul/CartRule/src/Listeners/Order.php#L30-L95"},{"type":"EVIDENCE","url":"https://gist.github.com/Ayxpp/5358d9fff045e94e0ddb51677ed5d195"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bagisto/bagisto","events":[{"introduced":"0"},{"fixed":"84d4f3537a91ef99bebf05e48b2e9d1ac55e4bd4"},{"introduced":"487533a8f8552b94c937722cc3109ae41afc7604"},{"fixed":"fae5ab924a47cbfe3fef45b5a97860841aa5a26b"},{"fixed":"81cb2a2a35b355492f704fd216d679f2145a5650"},{"fixed":"1f57c10eb9cb61b37de4706ffa439fd26aa7c405"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"2.3.16"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"strategy":"StandardRange","range":[{"introduced":"2.4.0"},{"fixed":"2.4.1"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"81cb2a2a35b355492f704fd216d679f2145a5650"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"1f57c10eb9cb61b37de4706ffa439fd26aa7c405"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"84d4f3537a91ef99bebf05e48b2e9d1ac55e4bd4"}],"source":"REFERENCES_TAG","original_tag":"v2.3.16"},{"original_tag":"v2.4.1","range":[{"fixed":"fae5ab924a47cbfe3fef45b5a97860841aa5a26b"}],"source":"REFERENCES_TAG"}]}}],"versions":["v2.4.0","v2.3.15","v2.3.14","v2.3.13","v2.3.12","v2.3.11","v2.3.10","v2.3.9","v2.3.8","v2.3.7","v2.3.6","v2.3.5","v2.3.4","v2.3.3","v2.3.2","v2.3.1","v2.3.0","v2.2.1","v2.2.0","v2.1.2","v2.1.1","v2.1.0","v2.0.0","v2.0.0-BETA-1","v1.4.5","v1.5.0","v1.4.4","v1.4.3","v1.4.2","v1.4.1","v1.4.0","1.4.0","v1.3.3","v1.3.2","v1.3.1","v1.3.0","v1.2.0","v1.2.0-BETA1","v1.1.2","v1.1.1","v1.1.0","v1.0.0","v1.0.0-BETA1","v0.1.8","v0.1.7","v0.1.6-ALPHA1","v0.1.5","v0.1.4","v0.1.4-BETA4","v0.1.4-BETA3","v0.1.4-BETA2","v0.1.4-BETA1","v0.1.3","v0.1.2","v0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-121628.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}]}