{"id":"GHSA-x485-rhg3-cqr4","summary":"Spree Commerce is vulnerable to RCE through Search API","details":"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.","aliases":["CVE-2011-10026"],"modified":"2025-12-01T16:19:27.662393Z","published":"2025-08-20T18:30:21Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2025-11-26T00:04:31Z","nvd_published_at":"2025-08-20T16:15:35Z","cwe_ids":["CWE-78","CWE-94"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2011-10026"},{"type":"WEB","url":"https://github.com/spree/spree/commit/0a9a360c590829d8a377ceae0cf997bbbbcc2df4"},{"type":"WEB","url":"https://github.com/spree/spree/commit/3b559e7219f3681184be409ad00cd34a34a37978"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rd_searchlogic/CVE-2011-10026.yml"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2011-10026.yml"},{"type":"WEB","url":"https://github.com/spree"},{"type":"PACKAGE","url":"https://github.com/spree/spree"},{"type":"WEB","url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/spree_searchlogic_exec.rb"},{"type":"WEB","url":"https://web.archive.org/web/20111120023342/http://spreecommerce.com/blog/2011/04/19/security-fixes"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/17199"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/spreecommerce-api-rce"}],"affected":[{"package":{"name":"spree","ecosystem":"RubyGems","purl":"pkg:gem/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-x485-rhg3-cqr4/GHSA-x485-rhg3-cqr4.json"}},{"package":{"name":"rd_searchlogic","ecosystem":"RubyGems","purl":"pkg:gem/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-x485-rhg3-cqr4/GHSA-x485-rhg3-cqr4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}