CVE-2026-63108
JSON

7.7high

Roo Code 3.54.0 Command Injection via Parameter Expansion Parsing

Severity
7.7high CVSS:4.0 by VulnCheck
Exploit likelihood
1.92% (higher than 80% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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

Product or packageVersionsReported by
RooCodeInc Roo-Codeup to 3.54.0CVE List

All scores

VulnCheck7.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-184

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Roo Code hasta la versión 3.54.0 contiene una vulnerabilidad de inyección de comandos en la función de ejecución de aprobación automática que permite a los atacantes eludir la aplicación de listas de permitidos/denegados anidando sustituciones de comandos dentro de los valores predeterminados de expansión de parámetros. El analizador de comandos en parse-command.ts reemplaza las expansiones de parámetros con marcadores de posición opacos antes de extraer las sustituciones de comandos, lo que hace que el mecanismo de protección containsDangerousSubstitution pase por alto las cargas útiles anidadas, las cuales son luego aprobadas automáticamente basándose en el prefijo de comando externo en la lista de permitidos y ejecutadas por el shell a través de execa, lo que permite la ejecución arbitraria de comandos.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-63108 changed 2026-07-28CVE Terms of Use
NVDCVE-2026-63108 changed 2026-10-24Public domain