CVE-2026-63108

HIGH

Roo Code 3.54.0 Command Injection via Parameter Expansion Parsing

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Exploit technical-description exploit
Researcher Disclosure
https://github.com/geo-chen/oss/blob/main/Roo-Code.md

Scores

CVSS v3 8.8
EPSS 0.0192
EPSS Percentile 77.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-184
Status published
Products (1)
RooCodeInc/Roo-Code < 3.54.0
Published Jul 20, 2026
Tracked Since Jul 21, 2026