CVE-2026-110205: Roo-Code through 3.54.0 Auto-Approve Bypass via Glob Token Discarding Command Substitution

Published Oct 13, 2026
·
Updated

Roo Code through 3.54.0 contains a command approval bypass vulnerability in parseCommandLine() that discards command substitutions placed next to or ? glob characters. Attackers using indirect prompt injection can craft commands like echo $(...) that match allowlisted prefixes, executing denied commands without user approval when auto-approval is enabled.

Affected Software

1 affected component
Roo Code Roo Code<=3.54.0

Event History

Oct 13, 2026
CVE Published
via MITRE·06:49 PM
Data Sourced
via MITRE·06:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Roo Code installations through version 3.54.0 are exposed when auto-approval is enabled. Exploitation is described in the context of an attacker delivering an indirect prompt injection.

2

What conditions are needed for exploitation?

The attacker needs to cause Roo Code to process a crafted command containing command substitution adjacent to a * or ? glob character, such as echo *$(...). The crafted command must match an allowlisted prefix so that it is auto-approved despite containing a command that would otherwise be denied.

3

Does this affect configurations without auto-approval enabled?

The described approval bypass occurs when auto-approval is enabled. The provided information does not state that commands execute without user approval when auto-approval is disabled.

4

What can be done while patching is not available?

Disable auto-approval or avoid allowlisting command prefixes that could be matched by crafted commands containing glob characters and command substitution. This prevents the described path from executing denied commands without user approval.

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