CVE-2024-28181 — Vulnerability in @turbo-boost/commands — CVE Details
TurboBoost Commands vulnerable to arbitrary method invocation
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.13%). Schedule for your next planned update.
Does your project use an affected @turbo-boost/commands version?
Paste your package-lock.json to check it for CVE-2024-28181 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
Impact
TurboBoost Commands has existing protections in place to guarantee that only public methods on Command classes can be invoked; however, the existing checks aren't as robust as they should be. It's possible for a sophisticated attacker to invoke more methods than should be permitted depending on the the strictness of authorization checks that individual applications enforce. Being able to call some of these methods can have security implications.
Details
Commands verify that the class must be a Command and that the method requested is defined as a public method; however, this isn't robust enough to guard against all unwanted code execution. The library should more strictly enforce which methods are considered safe before allowing them to be executed.
Patches
Patched in the following versions.
- 0.1.3
- 0.2.2
Workarounds
You can add this guard to mitigate the issue if running an unpatched version of the library.
class ApplicationCommand < TurboBoost::Commands::Command
before_command do
method_name = params[:name].include?("#") ? params[:name].split("#").last : :perform
ancestors = self.class.ancestors[0..self.class.ancestors.index(TurboBoost::Commands::Command) - 1]
allowed = ancestors.any? { |a| a.public_instance_methods(false).any? method_name.to_sym }
throw :abort unless allowed # ← blocks invocation
# raise "Invalid Command" unless allowed # ← blocks invocation
end
end
Advisory Timeline
- First published March 15, 2024 (986 days ago).
- Last revised September 10, 2026 — 908 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install @turbo-boost/commands@0.1.3
npm install @turbo-boost/commands@0.2.2
gem install turbo_boost-commands -v 0.2.2
gem install turbo_boost-commands -v 0.1.3
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 2 ecosystems: npm (1), RubyGems (1).
| Package | Fixed In |
|---|---|
| @turbo-boost/commands npm · Affected: All versions | 0.1.3 |
| @turbo-boost/commands npm · Affected: All versions | 0.2.2 |
| turbo_boost-commands RubyGems · Affected: 0.2.0, 0.2.1, 0.2.1.1 | 0.2.2 |
| turbo_boost-commands RubyGems · Affected: 0.0.1, 0.0.10, 0.0.11, 0.0.12 (+17 more) | 0.1.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-74
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/hopsoft/turbo_boost-commands/security/advisories/GHSA-mp76-7w5v-pr75WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-28181ADVISORY
- https://github.com/hopsoft/turbo_boost-commands/commit/337cda7d9222f1f449905454a7374222017a7477WEB
- https://github.com/hopsoft/turbo_boost-commands/commit/88af4fc0ac39cc1799d16c49fab52f6dfbcec9baWEB
- https://github.com/hopsoft/turbo_boost-commandsPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/turbo_boost-commands/CVE-2024-28181.ymlWEB
Frequently Asked Questions
- What is CVE-2024-28181?
- TurboBoost Commands vulnerable to arbitrary method invocation. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
- How do I check if my project is affected by CVE-2024-28181?
- CVE-2024-28181 affects @turbo-boost/commands and turbo_boost-commands. It has a 1.1% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-28181 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is an above-median EPSS score — 66.1% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-83816HIGH
CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE
- CVE-2026-83817HIGH
CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution