{"answers":{"affected":"2 open source packages ship an affected version, including shopper/cart.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47741 exists.","fix":"Upgrade shopper/cart to 2.8.0 or later.","what":"CVE-2026-47741 is a medium-severity vulnerability in shopperlabs shopper, published on 29 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-47741 and fix it if it is affected.\n\nWhat it is: CVE-2026-47741 is a medium-severity vulnerability in shopperlabs shopper, published on 29 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47741 exists.\n\nAffected packages and fixed versions:\n- shopper/cart (Packagist): affected all versions; fixed in 2.8.0\n- shopper/cart (Packagist): affected all versions; fixed in 2.8.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-47741/ (Markdown: https://insights.sbomify.com/CVE-2026-47741/index.md)","id":"CVE-2026-47741","markdown":"https://insights.sbomify.com/CVE-2026-47741/index.md","name":"CVE-2026-47741","record":{"aliases":["GHSA-9rh9-hf3w-9fgg"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Headless e-commerce panel","requires_auth":"none","summary":"Attackers can exploit a race condition to exceed discount usage limits, causing financial loss for merchants via over-redemption of coupons.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"description":"Shopper is a Headless e-commerce Admin Panel. Prior to 2.8.0, CreateOrderFromCartAction::execute previously created the Order row before checking and incrementing the discount's total_use counter. Under concurrent checkout pressure (Black Friday, flash sale, viral coupon), the global usage_limit was silently exceeded: orders were committed with the discount fully applied to price_amount while the counter blocked at usage_limit. The merchant had no signal that an over-redemption had occurred. This vulnerability is fixed in 2.8.0.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Shopper: Race condition on Discount.usage_limit allows silent over-redemption","id":"CVE-2026-47741","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"race_condition","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Shopper: Missing authorization on Product admin Livewire sub-form components","id":"CVE-2026-47742"},"packages":[{"ecosystem":"Packagist","fixed":["2.8.0"],"introduced":["0"],"last_affected":[],"package":"shopper/cart","purl":null,"source":"GHSA-9rh9-hf3w-9fgg"},{"ecosystem":"Packagist","fixed":["2.8.0"],"introduced":["0"],"last_affected":[],"package":"shopper/cart","purl":"pkg:composer/shopper/cart","source":"GHSA-9rh9-hf3w-9fgg"}],"prev":{"headline":"Shopper: Authorization bypass in multiple Livewire admin components","id":"CVE-2026-47740"},"products":["shopper"],"published":"2026-05-29","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-29","vendors":["shopperlabs"]},"summary":"Attackers can exploit a race condition to exceed discount usage limits, causing financial loss for merchants via over-redemption of coupons.","url":"https://insights.sbomify.com/CVE-2026-47741/"}