Skip to main content

CVE-2024-28181 — Vulnerability in @turbo-boost/commands — CVE Details

HIGH

TurboBoost Commands vulnerable to arbitrary method invocation

Published March 15, 2024Updated September 10, 2026Source: OSV

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.

Check my package-lock.json

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.

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
Update @turbo-boost/commands to 0.1.3 or later
npm install @turbo-boost/commands@0.1.3
npm
Update @turbo-boost/commands to 0.2.2 or later
npm install @turbo-boost/commands@0.2.2
Bundler
Update turbo_boost-commands to 0.2.2 or later
gem install turbo_boost-commands -v 0.2.2
Bundler
Update turbo_boost-commands to 0.1.3 or later
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).

PackageFixed In
@turbo-boost/commands npm · Affected: All versions0.1.3
@turbo-boost/commands npm · Affected: All versions0.2.2
turbo_boost-commands RubyGems · Affected: 0.2.0, 0.2.1, 0.2.1.10.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.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

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

CVSS Score
8.1

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
1.13%
EPSS percentile: 66.1

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

GHSA-mp76-7w5v-pr75

Related CVEs

  • CVE-2026-83816
    HIGH

    CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE

  • CVE-2026-83817
    HIGH

    CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my package-lock.json