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.
Published: 2026-10-13
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Command Execution via Auto-Approve Bypass
Action: Patch Immediately
AI Analysis

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.

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

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 yet.

History

Tue, 27 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 14 Oct 2026 09:15:00 +0000

Type Values Removed Values Added
First Time appeared Roocode roo-code
Vendors & Products Roocode roo-code

Tue, 13 Oct 2026 19:00:00 +0000

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'}


Subscriptions

Roocode Roo-code Roo Code
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-26T19:00:11.643Z

Reserved: 2026-10-13T17:58:35.346Z

Link: CVE-2026-110205

cve-icon Vulnrichment

Updated: 2026-10-26T18:59:50.509Z

cve-icon NVD

Status : Modified

Published: 2026-10-13T19:18:44.003

Modified: 2026-10-26T20:17:48.857

Link: CVE-2026-110205

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T06:45:05Z

Weaknesses
  • CWE-184

    Incomplete List of Disallowed Inputs