CVE-2026-63108: Roo Code 3.54.0 Command Injection via Parameter Expansion Parsing

Published Jul 20, 2026
·
Updated

Roo Code through 3.54.0 contains a command injection vulnerability in the auto-approve execute feature that allows attackers to bypass allowlist/denylist enforcement by nesting command substitutions inside parameter expansion defaults. The command parser in parse-command.ts replaces parameter expansions with opaque placeholders before extracting command substitutions, causing the containsDangerousSubstitution guard to miss nested payloads, which are then auto-approved based on the outer allowlisted command prefix and executed by the shell via execa, enabling arbitrary command execution.

Affected Software

1 affected component
Roo Code Roo Code<=3.54.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Roo Code to a version that resolves this vulnerability.

    Fixed in 3.54.0
  2. Compensating control

    Disable or restrict the Roo Code 'auto-approve execute' feature until the command injection issue is patched, to prevent auto-approval and shell execution of injected commands.

Event History

Jul 20, 2026
CVE Published
via MITRE·06:24 PM
Data Sourced
via MITRE·06:24 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-63108?

The severity of CVE-2026-63108 is rated high with a score of 8.8.

2

How do I fix CVE-2026-63108?

To fix CVE-2026-63108, update Roo Code to version 3.54.1 or later.

3

What type of vulnerability is CVE-2026-63108?

CVE-2026-63108 is classified as a command injection vulnerability.

4

What can attackers do with CVE-2026-63108?

Attackers can exploit CVE-2026-63108 to bypass allowlist and denylist enforcement through nested command substitutions.

5

In which versions of Roo Code is CVE-2026-63108 present?

CVE-2026-63108 is present in Roo Code versions up to and including 3.54.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203