{"answers":{"affected":"4 open source packages ship an affected version, including rd_searchlogic and spree. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2011-10026 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2011-10026 is a critical command injection vulnerability in Spreecommerce, published on 20 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2011-10026 and fix it if it is affected.\n\nWhat it is: CVE-2011-10026 is a critical command injection vulnerability in Spreecommerce, published on 20 Aug 2025. 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-2011-10026 exists.\n\nAffected packages and fixed versions:\n- rd_searchlogic (RubyGems): affected all versions up to 3.0.1; no fix listed\n- rd_searchlogic (RubyGems): affected all versions up to 3.0.1; no fix listed\n- spree (RubyGems): affected from 0.30.0.beta1; fixed in 0.50.0\n- spree (RubyGems): affected from 0.30.0.beta1; fixed in 0.50.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-2011-10026/ (Markdown: https://insights.sbomify.com/CVE-2011-10026/index.md)","id":"CVE-2011-10026","markdown":"https://insights.sbomify.com/CVE-2011-10026/index.md","name":"CVE-2011-10026","record":{"aliases":["GHSA-x485-rhg3-cqr4"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"E-commerce platform","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary shell commands on the server via improper input sanitation in the API search functionality.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"spree","vendor":"spreecommerce"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"Spreecommerce versions prior to 0.50.x contain a remote command execution vulnerability in the API's search functionality. Improper input sanitation allows attackers to inject arbitrary shell commands via the search[instance_eval] parameter, which is dynamically invoked using Ruby’s send method. This flaw enables unauthenticated attackers to execute commands on the server.","ecosystems":["RubyGems"],"exploits":{"exploitdb":0,"first_seen":"2011-04-19","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2011-04-19","kind":"metasploit","ref":"exploit/multi/http/spree_searchlogic_exec","stars":null,"title":"Spreecommerce Arbitrary Command Execution"}],"tier":"weaponised"},"has_fix":true,"headline":"Spreecommerce \u003c 0.50.x API RCE","id":"CVE-2011-10026","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"command_injection","year":"2011"},"n_packages":4,"n_references":5,"next":{"headline":"AOL Desktop 9.6 RTX Stack-Based Buffer Overflow","id":"CVE-2011-10027"},"packages":[{"ecosystem":"RubyGems","fixed":[],"introduced":["0"],"last_affected":["3.0.1"],"package":"rd_searchlogic","purl":null,"source":"GHSA-x485-rhg3-cqr4"},{"ecosystem":"RubyGems","fixed":[],"introduced":["0"],"last_affected":["3.0.1"],"package":"rd_searchlogic","purl":"pkg:gem/rd_searchlogic","source":"GHSA-x485-rhg3-cqr4"},{"ecosystem":"RubyGems","fixed":["0.50.0"],"introduced":["0.30.0.beta1"],"last_affected":[],"package":"spree","purl":null,"source":"GHSA-x485-rhg3-cqr4"},{"ecosystem":"RubyGems","fixed":["0.50.0"],"introduced":["0.30.0.beta1"],"last_affected":[],"package":"spree","purl":"pkg:gem/spree","source":"GHSA-x485-rhg3-cqr4"}],"prev":{"headline":"Subtitle Processor 7.7.1 .m3u SEH Unicode Buffer Overflow","id":"CVE-2011-10025"},"products":["Spreecommerce"],"published":"2025-08-20","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":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"},{"cvss_score":6.5,"headline":"Spree API has Authenticated Insecure Direct Object Reference (IDOR) via Order Modification","id":"CVE-2026-22588","kev_date_added":null,"published":"2026-01-08"}],"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)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-15","vendors":["Spreecommerce"]},"summary":"Unauthenticated attackers can execute arbitrary shell commands on the server via improper input sanitation in the API search functionality.","url":"https://insights.sbomify.com/CVE-2011-10026/"}