{"answers":{"affected":"4 open source packages ship an affected version, including spree_api.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-94462 exists.","fix":"Upgrade spree_api to a fixed version for your release line: 5.4.4 or 5.5.4.","what":"CVE-2026-94462 is a high-severity missing authorization vulnerability in spree, published on 22 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-94462 and fix it if it is affected.\n\nWhat it is: CVE-2026-94462 is a high-severity missing authorization vulnerability in spree, published on 22 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-94462 exists.\n\nAffected packages and fixed versions:\n- spree_api (RubyGems): affected from 5.4.0; fixed in 5.4.4\n- spree_api (RubyGems): affected from 5.4.0; fixed in 5.4.4\n- spree_api (RubyGems): affected from 5.5.0; fixed in 5.5.4\n- spree_api (RubyGems): affected from 5.5.0; fixed in 5.5.4\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-94462/ (Markdown: https://insights.sbomify.com/CVE-2026-94462/index.md)","id":"CVE-2026-94462","markdown":"https://insights.sbomify.com/CVE-2026-94462/index.md","name":"CVE-2026-94462","record":{"aliases":["GHSA-4825-p4xm-pcf2"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Spree e-commerce platform","requires_auth":"low_privilege","summary":"Authenticated users can hijack guest carts and steal address data due to missing authorization checks in the cart association API.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"description":"Spree is an open source e-commerce solution built with Ruby on Rails. From 5.4.0 until 5.4.4 and 5.5.4, PATCH /api/v3/store/carts/:id/associate in Spree::Api::V3::Store::CartsController#associate uses find_cart_for_association to locate a cart by prefixed_id but does not require a cart token or otherwise verify possession of the selected guest cart. An authenticated customer can derive reversible prefixed cart IDs, associate an eligible guest cart with the attacker's account, and receive billing and shipping address data from the cart. Exploitation requires a guest cart with address data on a store that does not require login for checkout, and reassignment can also disrupt the guest's in-progress cart. This issue is fixed in versions 5.4.4 and 5.5.4.","ecosystems":["RubyGems"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)","id":"CVE-2026-94462","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":4,"n_references":6,"next":{"headline":"Next.js: Denial of Service in App Router using Server Actions","id":"CVE-2026-94482"},"packages":[{"ecosystem":"RubyGems","fixed":["5.4.4"],"introduced":["5.4.0"],"last_affected":[],"package":"spree_api","purl":null,"source":"GHSA-4825-p4xm-pcf2"},{"ecosystem":"RubyGems","fixed":["5.4.4"],"introduced":["5.4.0"],"last_affected":[],"package":"spree_api","purl":"pkg:gem/spree_api","source":"GHSA-4825-p4xm-pcf2"},{"ecosystem":"RubyGems","fixed":["5.5.4"],"introduced":["5.5.0"],"last_affected":[],"package":"spree_api","purl":null,"source":"GHSA-4825-p4xm-pcf2"},{"ecosystem":"RubyGems","fixed":["5.5.4"],"introduced":["5.5.0"],"last_affected":[],"package":"spree_api","purl":"pkg:gem/spree_api","source":"GHSA-4825-p4xm-pcf2"}],"prev":{"headline":"WordPress Ditty plugin \u003c= 3.1.69 - Cross Site Scripting (XSS) vulnerability","id":"CVE-2026-94461"},"products":["spree"],"published":"2026-09-22","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-09-22","vendors":["spree"]},"summary":"Authenticated users can hijack guest carts and steal address data due to missing authorization checks in the cart association API.","url":"https://insights.sbomify.com/CVE-2026-94462/"}