CVE-2026-110205

Roo-Code through 3.54.0 Auto-Approve Bypass via Glob Token Discarding Command Substitution

Published Oct 13, 2026 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Roo‑Code versions prior to 3.54.0 perform command approval through parseCommandLine() but discard command substitutions that appear adjacent to glob characters such as * or ?. This allows an attacker to craft input like echo *$(…); the glob token causes the command substitution to be stripped from the approval check while the resulting command still begins with an allowlisted prefix, thereby winning auto‑approval. The attacker can then execute arbitrary shell commands without user consent, resulting in full command execution on the underlying system. This weakness is an example of Command Injection via improper handling of glob tokens (CWE‑184).

Affected Systems

The vulnerability is present in all versions of Roo‑Code released by RooCodeInc through 3.54.0, inclusive. Any deployment of Roo‑Code 3.54.0 or older is affected, regardless of operating system or host configuration.

Risk and Exploitability

The CVSS score of 7.7 indicates a high severity. Exploitation requires the target to have auto‑approval enabled for command execution, and an attacker must be able to supply an indirect prompt that contains a glob token followed by a nested command substitution. The EPSS score of < 1% indicates a very low but non‑zero probability, and the vulnerability is not listed in CISA KEV, implying no known public exploits yet. While the attack vector is clear, these factors suggest that the likelihood of exploitation in the wild remains uncertain. Nonetheless, the impact of successful exploitation would be full system compromise via arbitrary command execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Roo‑Code to the latest released version that resolves the auto‑approval bypass; if an update is not yet available, use the vendor’s advisory to determine a valid patch release.
  • Disable the auto‑approval feature in the configuration settings to eliminate the vulnerability until a patch is applied; this prevents the bypass from granting execution privileges.
  • Implement strict input validation or sandboxing for any shell commands that may be constructed from user input, ensuring that glob expansions and command substitutions are either prohibited or properly escaped before approval.

Generated by OpenCVE AI on October 17, 2026 at 06:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Roocode roo-code
Vendors & Products Roocode roo-code
Type Values Removed Values Added
Description 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.
Title Roo-Code through 3.54.0 Auto-Approve Bypass via Glob Token Discarding Command Substitution
First Time appeared Roocode
Roocode roo Code
Weaknesses CWE-184
CPEs cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:*
Vendors & Products Roocode
Roocode roo Code
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-184

    Incomplete List of Disallowed Inputs

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 26, 2026, 7:00 PM
Reserved
Oct 13, 2026, 5:58 PM
Status
Modified
Published
Oct 13, 2026, 7:18 PM
Modified
Oct 26, 2026, 8:17 PM