Vulnerability · Published Jul 20, 2026 · Assigned by VulnCheck
CVE-2026-63108Roo Code 3.54.0 Command Injection via Parameter Expansion Parsing
High 8.8
In plain English
A high-severity security flaw in Roo-Code from RooCodeInc. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 78% of all known vulnerabilities).
Official description
Roo Code through 3.54.0 contains a command injection vulnerability in the auto-approve execute feature that allows attackers to bypass allowlist/denylist enforcement by nesting command substitutions inside parameter expansion defaults. The command parser in parse-command.ts replaces parameter expansions with opaque placeholders before extracting command substitutions, causing the containsDangerousSubstitution guard to miss nested payloads, which are then auto-approved based on the outer allowlisted command prefix and executed by the shell via execa, enabling arbitrary command execution.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| RooCodeInc | Roo-Code | 0 – through 3.54.0 |
Weakness: CWE-184 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- Researcher Disclosure technical-description, exploit
- https://www.vulncheck.com/advisories/roo-code-command-injection-via-parameter-expansion-parsing third-party-advisory