Roo Code 3.54.0 Command Injection via Parameter Expansion Parsing
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| RooCodeInc | Roo-Code | up to 3.54.0 | — | No fix listed | CNA |
- Roo-Code VendorRooCodeInc Affected up to 3.54.0 Fixed in — No fix listed CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:* | — | — | RooCodeInc |
- cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:* Versions — — ·RooCodeInc
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-63108
- 2026-10-03 Alias added: GHSA-5xxh-cfjg-qm65
References
Exploit 1
More RooCodeInc vulnerabilities
- TI-2026-73422 Auto-approve bypass in Roo-Code via glob and command substitution CVSS 4.0HIGH 7.7
- TI-2026-73421 Auto-approve bypass in Roo-Code runs denied shell commands CVSS 4.0HIGH 7.7
- TI-2026-73419 Auto-approve bypass in Roo-Code via redirect operator stripping CVSS 4.0HIGH 7.7
- TI-2026-56894 Roo-Code 3.54.0 Auto-Approve Bypass via Shell Parser Word-Boundary Mismatch CVSS 4.0HIGH 7.7
- TI-2025-34186 Roo Code Lacks Line Break Validation in its Command Execution Tool CVSS 3.1HIGH 7.8
- TI-2026-56463 RooCodeInc Roo-Code OAuth Callback oauth.ts cleartext transmission CVSS 4.0MEDIUM 6.3
Sources
- CVE-2026-63108 · CVE Program
- CVE-2026-63108 · NVD
- FIRST EPSS
- GHSA-5xxh-cfjg-qm65 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences