{"answers":{"affected":"8 open source packages ship an affected version, including spree_api. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22588 exists.","fix":"Upgrade spree_api to a fixed version for your release line: 4.10.2, 5.0.7, 5.1.9 or 5.2.5.","what":"CVE-2026-22588 is a medium-severity missing authorization vulnerability in spree, published on 8 Jan 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-22588 and fix it if it is affected.\n\nWhat it is: CVE-2026-22588 is a medium-severity missing authorization vulnerability in spree, published on 8 Jan 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-22588 exists.\n\nAffected packages and fixed versions:\n- spree_api (RubyGems): affected from 3.7.0; fixed in 4.10.2\n- spree_api (RubyGems): affected from 3.7.0; fixed in 4.10.2\n- spree_api (RubyGems): affected from 5.0.0; fixed in 5.0.7\n- spree_api (RubyGems): affected from 5.0.0; fixed in 5.0.7\n- spree_api (RubyGems): affected from 5.1.0; fixed in 5.1.9\n- spree_api (RubyGems): affected from 5.1.0; fixed in 5.1.9\n- spree_api (RubyGems): affected from 5.2.0; fixed in 5.2.5\n- spree_api (RubyGems): affected from 5.2.0; fixed in 5.2.5\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-22588/ (Markdown: https://insights.sbomify.com/CVE-2026-22588/index.md)","id":"CVE-2026-22588","markdown":"https://insights.sbomify.com/CVE-2026-22588/index.md","name":"CVE-2026-22588","record":{"aliases":["GHSA-g268-72p7-9j6j"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Spree e-commerce platform","requires_auth":"low_privilege","summary":"Authenticated attackers can read other users' address information by manipulating order modification requests in the Spree e-commerce platform.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"spree","vendor":"spreecommerce"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/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. Prior to versions 4.10.2, 5.0.7, 5.1.9, and 5.2.5, an Authenticated Insecure Direct Object Reference (IDOR) vulnerability was identified that allows an authenticated user to retrieve other users’ address information by modifying an existing order. By editing an order they legitimately own and manipulating address identifiers in the request, the backend server accepts and processes references to addresses belonging to other users, subsequently associating those addresses with the attacker’s order and returning them in the response. This issue has been patched in versions 4.10.2, 5.0.7, 5.1.9, and 5.2.5.","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 API has Authenticated Insecure Direct Object Reference (IDOR) via Order Modification","id":"CVE-2026-22588","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":8,"n_references":5,"next":{"headline":"Spree API has Unauthenticated IDOR - Guest Address","id":"CVE-2026-22589"},"packages":[{"ecosystem":"RubyGems","fixed":["4.10.2"],"introduced":["3.7.0"],"last_affected":[],"package":"spree_api","purl":null,"source":"GHSA-g268-72p7-9j6j"},{"ecosystem":"RubyGems","fixed":["4.10.2"],"introduced":["3.7.0"],"last_affected":[],"package":"spree_api","purl":"pkg:gem/spree_api","source":"GHSA-g268-72p7-9j6j"},{"ecosystem":"RubyGems","fixed":["5.0.7"],"introduced":["5.0.0"],"last_affected":[],"package":"spree_api","purl":null,"source":"GHSA-g268-72p7-9j6j"},{"ecosystem":"RubyGems","fixed":["5.0.7"],"introduced":["5.0.0"],"last_affected":[],"package":"spree_api","purl":"pkg:gem/spree_api","source":"GHSA-g268-72p7-9j6j"},{"ecosystem":"RubyGems","fixed":["5.1.9"],"introduced":["5.1.0"],"last_affected":[],"package":"spree_api","purl":null,"source":"GHSA-g268-72p7-9j6j"},{"ecosystem":"RubyGems","fixed":["5.1.9"],"introduced":["5.1.0"],"last_affected":[],"package":"spree_api","purl":"pkg:gem/spree_api","source":"GHSA-g268-72p7-9j6j"},{"ecosystem":"RubyGems","fixed":["5.2.5"],"introduced":["5.2.0"],"last_affected":[],"package":"spree_api","purl":null,"source":"GHSA-g268-72p7-9j6j"},{"ecosystem":"RubyGems","fixed":["5.2.5"],"introduced":["5.2.0"],"last_affected":[],"package":"spree_api","purl":"pkg:gem/spree_api","source":"GHSA-g268-72p7-9j6j"}],"prev":{"headline":"Ideagen DevonWay Reports page stored XSS","id":"CVE-2026-22587"},"products":["spree"],"published":"2026-01-08","related":[{"cvss_score":10,"headline":"Spreecommerce \u003c 0.60.2 Search Parameter RCE","id":"CVE-2011-10019","kev_date_added":null,"published":"2025-08-13"},{"cvss_score":9.3,"headline":"Spreecommerce \u003c 0.50.x API RCE","id":"CVE-2011-10026","kev_date_added":null,"published":"2025-08-20"},{"cvss_score":7.7,"headline":"Unauthenticated Spree Commerce users can view completed guest orders by Order ID","id":"CVE-2026-25757","kev_date_added":null,"published":"2026-02-06"},{"cvss_score":7.7,"headline":"Spree allows unauthenticated users can access all guest addresses","id":"CVE-2026-25758","kev_date_added":null,"published":"2026-02-06"},{"cvss_score":7.7,"headline":"Authorization bypass in Spree","id":"CVE-2020-26223","kev_date_added":null,"published":"2020-11-13"},{"cvss_score":7.5,"headline":"Spree API has Unauthenticated IDOR - Guest Address","id":"CVE-2026-22589","kev_date_added":null,"published":"2026-01-10"}],"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":"US public information, NVD API terms","name":"NVD"},{"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-01-08","vendors":["spree"]},"summary":"Authenticated attackers can read other users' address information by manipulating order modification requests in the Spree e-commerce platform.","url":"https://insights.sbomify.com/CVE-2026-22588/"}