Description
Roo Code through 3.54.0 contains a command approval bypass vulnerability that allows attackers to auto-approve denied shell commands by abusing quote-masking regex in parseCommandLine(). Attackers can use indirect prompt injection with escaped or single-quoted double quotes to hide command separators behind allowlisted prefixes like echo, executing commands without user approval.
Published: 2026-10-13
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote command execution via auto‑approve bypass
Action: Patch Pending
AI Analysis

Impact

Roo‑Code versions through 3.54.0 contain an auto‑approve bypass that allows attackers to inject shell commands by abusing the quote‑masking regex in parseCommandLine(). The flaw permits malicious input to be accepted as safe, enabling execution of arbitrary commands without user approval. The vulnerability aligns with CWE‑436, which relates to improper neutralization of input that can lead to code execution.

Affected Systems

All releases of Roo‑Code produced by RooCodeInc up to and including version 3.54.0 are vulnerable. The issue is present in the core command‑parsing module shared across the product line, so any deployment using a vulnerable version is affected.

Risk and Exploitability

The CVSS score of 7.7 indicates a high severity, while the EPSS score of less than 1% suggests a low probability of active exploitation at present. The vulnerability is not listed in the CISA KEV catalog. Attackers must supply crafted input via the command interface, which may be accessible locally or remotely depending on the deployment. Failure to mitigate can lead to compromise of confidentiality, integrity, and availability of the system.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest Roo‑Code release that includes the command‑parsing fix once a vendor patch is available.
  • Restrict the command interface to trusted users and enforce least‑privilege access so that only authorized personnel can trigger command parsing.
  • Validate or sanitize user‑supplied commands to neutralize potential injection vectors; consider filtering or escaping quotes and command separators before passing them to parseCommandLine().

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 18:30:00 +0000

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

Wed, 14 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


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 that allows attackers to auto-approve denied shell commands by abusing quote-masking regex in parseCommandLine(). Attackers can use indirect prompt injection with escaped or single-quoted double quotes to hide command separators behind allowlisted prefixes like echo, executing commands without user approval.
Title Roo-Code through 3.54.0 Auto-Approve Bypass via Quote Masking Desynchronization
First Time appeared Roocode
Roocode roo Code
Weaknesses CWE-436
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-14T15:58:18.991Z

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

Link: CVE-2026-110203

cve-icon Vulnrichment

Updated: 2026-10-14T14:52:12.425Z

cve-icon NVD

Status : Analyzed

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

Modified: 2026-10-15T19:06:19.323

Link: CVE-2026-110203

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses