{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-121628",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-11-03T16:57:45.219Z",
        "datePublished": "2026-11-03T17:13:54.596Z",
        "dateUpdated": "2026-11-03T17:13:54.596Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-11-03T17:13:54.596Z"
            },
            "datePublic": "2026-03-18T00:00:00.000Z",
            "title": "Bagisto before 2.3.16 and 2.4.x before 2.4.1 Race Condition in Coupon Usage Accounting",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')",
                            "cweId": "CWE-362",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "bagisto",
                    "product": "bagisto",
                    "defaultStatus": "unaffected",
                    "packageURL": "pkg:composer/bagisto/bagisto",
                    "versions": [
                        {
                            "version": "0",
                            "status": "affected",
                            "versionType": "semver",
                            "lessThan": "2.3.16"
                        },
                        {
                            "version": "2.4.0",
                            "status": "affected",
                            "versionType": "semver",
                            "lessThan": "2.4.1"
                        },
                        {
                            "version": "2.3.16",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "2.4.1",
                            "status": "unaffected",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:webkul:bagisto:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "2.3.16"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:webkul:bagisto:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.4.0",
                                    "versionEndExcluding": "2.4.1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "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",
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "LOW",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 6.3,
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "LOW",
                        "availabilityImpact": "NONE",
                        "baseScore": 3.7,
                        "baseSeverity": "LOW"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/bagisto/bagisto/commit/81cb2a2a35b355492f704fd216d679f2145a5650",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/bagisto/bagisto/commit/1f57c10eb9cb61b37de4706ffa439fd26aa7c405",
                    "tags": [
                        "patch"
                    ],
                    "name": "Patch Commit"
                },
                {
                    "url": "https://github.com/bagisto/bagisto/releases/tag/v2.3.16",
                    "tags": [
                        "release-notes"
                    ],
                    "name": "bagisto v2.3.16 Release Notes"
                },
                {
                    "url": "https://github.com/bagisto/bagisto/releases/tag/v2.4.1",
                    "tags": [
                        "release-notes"
                    ],
                    "name": "bagisto v2.4.1 Release Notes"
                },
                {
                    "url": "https://gist.github.com/Ayxpp/5358d9fff045e94e0ddb51677ed5d195",
                    "tags": [
                        "exploit"
                    ]
                },
                {
                    "url": "https://github.com/bagisto/bagisto/blob/v2.4.0/packages/Webkul/CartRule/src/Listeners/Order.php#L30-L95",
                    "tags": [
                        "technical-description"
                    ]
                },
                {
                    "url": "https://github.com/bagisto/bagisto",
                    "tags": [
                        "product"
                    ]
                },
                {
                    "name": "VulnCheck Advisory: Bagisto before 2.3.16 and 2.4.x before 2.4.1 Race Condition in Coupon Usage Accounting",
                    "tags": [
                        "third-party-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"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Muhammad Shariff",
                    "type": "finder"
                },
                {
                    "lang": "en",
                    "value": "devansh-webkul",
                    "type": "remediation developer"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        }
    }
}