# CVE-2026-110203: Roo Code command approval bypass via quote masking

Source: https://junglewise.ai/threats/cve-2026-110203-roo-code-through-3-54-0-contains-a-command-approval-bypass  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-13. Updated: 2026-10-16  
License: CC BY 4.0 with a link back

CVE-2026-110203 · Severity: high · CVSS 8.8 · Published 2026-10-13

Roo Code, an AI coding assistant, contains a flaw in its automatic command approval system when the "always approve execute" feature is enabled. Attackers can craft shell commands with escaped quotes or special quote syntax that bypass the command allowlist, causing the system to auto-approve dangerous commands like file deletion or system modification that should have been blocked.

Technologies: [Roocode Roo Code](https://junglewise.ai/threats/technologies/roocode-roo-code). Vendors: [Roocode](https://junglewise.ai/threats/vendors/roocode).

## Quick answers

**Is CVE-2026-110203 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-110203 being exploited in the wild.

**How severe is CVE-2026-110203?** High severity, with a CVSS score of 8.8, published 13 October 2026.

**Which products and versions are affected?** Roo Code through 3.54.0.

**Is there a fix for CVE-2026-110203?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-110203 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-110203?** Check whether you run Roo Code or Roocode Roo Code at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability lies in the parseCommand function's regex-based quote masking, which uses /"[^"]*"/ to remove quoted strings before command parsing. This regex does not implement bash quoting semantics: it fails to recognize escaped quotes (\"), single quotes, and ANSI-C quotes ($'…') as bash does. An attacker can use commands like echo \";touch /tmp/pwned;\" where bash treats the backslash-escaped quotes as literal characters (allowing the semicolon separator to execute), but the regex incorrectly pairs them and hides the separator in a placeholder, causing the full command to be treated as a single echo sub-command that matches the allowlist. The flaw allows arbitrary command injection when auto-approval is enabled.

## Affected products

- Roo Code through 3.54.0

## Timeline

- 2026-10-13: disclosed

## References

- [https://github.com/7rah/oss-cve/blob/6adb836d24ca446fd168c3acdc4c170beb77fe0f/roocode-quote-boundary.md](https://github.com/7rah/oss-cve/blob/6adb836d24ca446fd168c3acdc4c170beb77fe0f/roocode-quote-boundary.md)
- [https://github.com/RooCodeInc/Roo-Code/blob/v3.54.0/src/shared/parse-command.ts](https://github.com/RooCodeInc/Roo-Code/blob/v3.54.0/src/shared/parse-command.ts)

## Related threats

- [Roo Code command approval bypass via command substitution](https://junglewise.ai/threats/cve-2026-110206-roo-code-through-3-54-0-contains-a-command-approval-bypass)
- [Roo Code command approval bypass via glob character masking](https://junglewise.ai/threats/cve-2026-110205-roo-code-through-3-54-0-contains-a-command-approval-bypass)
- [Roo Code command approval bypass via bash funsub injection](https://junglewise.ai/threats/cve-2026-110204-roo-code-through-3-54-0-contains-a-command-approval-bypass)
- [Roo Code command approval bypass via shell redirect](https://junglewise.ai/threats/cve-2026-110202-roo-code-through-3-54-0-contains-a-command-approval-bypass)
- [Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Prior to version 3.26.7, Due to an…](https://junglewise.ai/threats/cve-2025-65946-roo-code-is-an-ai-powered-autonomous-coding-agent-that-lives-in)
