Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. spree
  4. ›
  5. CVE-2011-10026

CVE-2011-10026: Spree Commerce is vulnerable to RCE through Search API

August 20, 2025 (updated December 1, 2025)

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.

References

  • github.com/advisories/GHSA-x485-rhg3-cqr4
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/rd_searchlogic/CVE-2011-10026.yml
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2011-10026.yml
  • github.com/spree
  • github.com/spree/spree
  • github.com/spree/spree/commit/0a9a360c590829d8a377ceae0cf997bbbbcc2df4
  • github.com/spree/spree/commit/3b559e7219f3681184be409ad00cd34a34a37978
  • nvd.nist.gov/vuln/detail/CVE-2011-10026
  • raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/spree_searchlogic_exec.rb
  • web.archive.org/web/20111120023342/http://spreecommerce.com/blog/2011/04/19/security-fixes
  • www.exploit-db.com/exploits/17199
  • www.vulncheck.com/advisories/spreecommerce-api-rce

Code Behaviors & Features

Detect and mitigate CVE-2011-10026 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.30.0.beta1 before 0.50.0

Fixed versions

  • 0.50.0

Solution

Upgrade to version 0.50.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

gem/spree/CVE-2011-10026.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:16 +0000.