CVE-2011-10026 — Vulnerability in spree — CVE Details
Spree Commerce is vulnerable to RCE through Search API
What Should I Do?
Low-to-Moderate Risk
Exploitation probability is 15.44% in 30 days. Address in your next planned sprint.
Does your project use an affected spree version?
Paste your Gemfile.lock to check it for CVE-2011-10026 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published August 20, 2025 (463 days ago).
- Last revised December 1, 2025 — 103 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install spree -v 0.50.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: RubyGems (2).
| Package | Fixed In |
|---|---|
| spree RubyGems · Affected: 0.30.0, 0.30.0.beta1, 0.30.1, 0.30.2 (+5 more) | 0.50.0 |
| rd_searchlogic RubyGems · Affected: 3.0.0, 3.0.0.rc, 3.0.0.rc2, 3.0.0.rc3 (+2 more) | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
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
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-10026ADVISORY
- https://github.com/spree/spree/commit/0a9a360c590829d8a377ceae0cf997bbbbcc2df4WEB
- https://github.com/spree/spree/commit/3b559e7219f3681184be409ad00cd34a34a37978WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rd_searchlogic/CVE-2011-10026.ymlWEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2011-10026.ymlWEB
- https://github.com/spreeWEB
- https://github.com/spree/spreePACKAGE
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/spree_searchlogic_exec.rbWEB
- https://web.archive.org/web/20111120023342/http://spreecommerce.com/blog/2011/04/19/security-fixesWEB
- https://www.exploit-db.com/exploits/17199WEB
- https://www.vulncheck.com/advisories/spreecommerce-api-rceWEB
Frequently Asked Questions
- What is CVE-2011-10026?
- Spree Commerce is vulnerable to RCE through Search API. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2011-10026?
- CVE-2011-10026 affects spree and rd_searchlogic. It has a 15.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2011-10026 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 5% of EPSS-scored vulnerabilities — 97.4% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2026-130001CRITICAL
Mustache for Ruby: RCE using built-in method access
- CVE-2011-10019CRITICAL
Spree has Remote Command Execution vulnerability in search functionality
- CVE-2026-122006CRITICAL
Active Storage: Possible arbitrary file write and read in image analysis
- CVE-2020-15269HIGH
Ensure that doorkeeper_token is valid when authenticating requests in API v2 calls
- GHSA-xf4v-w5x5-pv79MEDIUM
Spree: CSV Formula Injection in Customer Export