{"id":"CVE-2011-10026","aliases":["EUVD-2011-5250","GHSA-x485-rhg3-cqr4"],"status":"published","title":"Spreecommerce \u003c 0.50.x API RCE","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.","severity":{"version":"4.0","score":9.3,"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","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-08","score":0.03756,"percentile":0.89961,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-78","CWE-94"],"published":"2025-08-20T15:41:40Z","modified":"2026-06-16T23:28:29Z","exploits":[{"source":"metasploit","id":"exploit/multi/http/spree_searchlogic_exec","title":"Spreecommerce Arbitrary Command Execution","type":"exploit","platform":"Linux,Unix","date":"2011-04-19","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/multi/http/spree_searchlogic_exec"}],"fixes":[{"ecosystem":"RubyGems","package":"spree","fixed_in":["0.50.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"spree","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.30.0.beta1"},{"fixed":"0.50.0"}]}]},{"source":"ghsa","ecosystem":"RubyGems","package":"rd_searchlogic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.0.1"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"spree","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.30.0.beta1"},{"fixed":"0.50.0"}]}],"versions":["0.30.0","0.30.0.beta1","0.30.1","0.30.2","0.40.0","0.40.1","0.40.2","0.40.3","0.40.4"]},{"source":"osv","ecosystem":"RubyGems","package":"rd_searchlogic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.0.1"}]}],"versions":["3.0.0","3.0.0.rc","3.0.0.rc2","3.0.0.rc3","3.0.0.rc4","3.0.1"]}],"products":[{"vendor":"spreecommerce","product":"spree"},{"vendor":"spreecommerce","product":"spreecommerce"}],"references":[{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/spree_searchlogic_exec.rb","tags":["exploit","Exploit","Third Party Advisory","web"]},{"url":"https://www.exploit-db.com/exploits/17199","tags":["exploit","Exploit","VDB Entry","web"]},{"url":"https://web.archive.org/web/20111120023342/http://spreecommerce.com/blog/2011/04/19/security-fixes","tags":["vendor-advisory","patch","Vendor Advisory","web"]},{"url":"https://github.com/spree","tags":["product","Product","web"]},{"url":"https://www.vulncheck.com/advisories/spreecommerce-api-rce","tags":["third-party-advisory","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-10026","tags":["advisory"]},{"url":"https://github.com/spree/spree/commit/0a9a360c590829d8a377ceae0cf997bbbbcc2df4","tags":["web"]},{"url":"https://github.com/spree/spree/commit/3b559e7219f3681184be409ad00cd34a34a37978","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rd_searchlogic/CVE-2011-10026.yml","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2011-10026.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-x485-rhg3-cqr4"},{"url":"https://github.com/spree/spree","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2011-10026","title":"Spreecommerce \u003c 0.50.x API RCE","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.","status":"published","published":"2025-08-20T15:41:40.151Z","modified":"2026-05-15T11:13:45.921Z","cvss":[{"version":"4.0","score":9.3,"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","level":"critical","assessor":"cna"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:35:36.252742Z"}],"euvd":[{"id":"EUVD-2011-5250","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.","status":"published","published":"2025-08-20T15:41:40Z","modified":"2026-05-15T11:13:45Z","cvss":[{"version":"4.0","score":9.3,"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","level":"critical"}],"updated_at":"2026-11-02T19:04:29.443212Z"}],"ghsa":[{"id":"GHSA-x485-rhg3-cqr4","title":"Spree Commerce is vulnerable to RCE through Search API","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.","status":"published","published":"2025-08-20T18:30:21Z","modified":"2025-12-01T16:04:55Z","cvss":[{"version":"4.0","score":9.3,"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","level":"critical"}],"cwes":["CWE-78","CWE-94"],"updated_at":"2026-11-02T14:39:10.178331Z"}],"nvd":[{"id":"CVE-2011-10026","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.","status":"published","published":"2025-08-20T16:15:35.44Z","modified":"2026-06-16T23:28:29.713Z","cvss":[{"version":"4.0","score":9.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"critical","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:02:12.945371Z"}],"osv":[{"id":"GHSA-x485-rhg3-cqr4","title":"Spree Commerce is vulnerable to RCE through Search API","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.","status":"published","published":"2025-08-20T18:30:21Z","modified":"2025-12-01T16:19:27.662393Z","cvss":[{"version":"4.0","score":9.3,"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","level":"critical"}],"cwes":["CWE-78","CWE-94"],"updated_at":"2026-11-02T15:46:59.484835Z"}]}}
