High severity · published Jul 20, 2026
CVE-2026-63108
Roo Code 3.54.0 Command Injection via Parameter Expansion Parsing
8.8
CVSS
1.8%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.8% · higher than 78% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RO
Roo-Code · RooCodeInc
through 3.54.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-63108
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-63108
github.com
https://github.com/geo-chen/oss/blob/main/Roo-Code.md
www.vulncheck.com
https://www.vulncheck.com/advisories/roo-code-command-injection-via-parameter-expansion-parsing
More from Roo-Code
8.8
CVE-2026-110206
Roo-Code through 3.54.0 Auto-Approve Bypass via Command Substitution at Command Position
8.8
CVE-2026-110205
Roo-Code through 3.54.0 Auto-Approve Bypass via Glob Token Discarding Command Substitution
8.8
CVE-2026-110204
Roo-Code through 3.54.0 Auto-Approve Bypass via Funsub Command Substitution
8.8
CVE-2026-110203
Roo-Code through 3.54.0 Auto-Approve Bypass via Quote Masking Desynchronization
8.8
CVE-2026-110202
Roo-Code through 3.54.0 Auto-Approve Bypass via Redirect Operator Stripping
