CVE-2011-10019 — Vulnerability in spree — CVE Details
Spree has Remote Command Execution vulnerability in search functionality
What Should I Do?
Low-to-Moderate Risk
Exploitation probability is 22.19% 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-10019 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.60.2 contains a remote command execution vulnerability in its search functionality. The application fails to properly sanitize input passed via the search[send][] parameter, which is dynamically invoked using Ruby’s send method. This allows attackers to execute arbitrary shell commands on the server without authentication.
Advisory Timeline
- First published August 13, 2025 (470 days ago).
- Last revised June 9, 2026 — 300 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install spree -v 0.60.2
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: RubyGems (1).
| Package | Fixed In |
|---|---|
| spree RubyGems · Affected: 0.0.5, 0.0.6, 0.0.7, 0.0.8 (+46 more) | 0.60.2 |
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-10019ADVISORY
- https://github.com/orgs/spreeWEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2011-10019.ymlWEB
- https://github.com/spree/spreePACKAGE
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/spree_search_exec.rbWEB
- https://web.archive.org/web/20111009192436/http://spreecommerce.com/blog/2011/10/05/remote-command-product-groupWEB
- https://www.exploit-db.com/exploits/17941WEB
- https://www.vulncheck.com/advisories/spreecommerce-search-parameter-rceWEB
Frequently Asked Questions
- What is CVE-2011-10019?
- Spree has Remote Command Execution vulnerability in search functionality. 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-10019?
- CVE-2011-10019 affects spree. It has a 22.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2011-10019 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 — 98.2% 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-2026-122006CRITICAL
Active Storage: Possible arbitrary file write and read in image analysis
- CVE-2011-10026CRITICAL
Spree Commerce is vulnerable to RCE through Search API
- 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