CVE-2026-63108CWE-184

Roo Code 3.54.0 Command Injection via Parameter Expansion Parsing

High · published July 20, 2026

CVSS v4.0
7.7
EPSS
2%
Percentile
77.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
7.7 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.01768 · 77.9th percentile
Weakness
CWE-184 · Incomplete List of Disallowed Inputs
Published
2026-07-20T18:24Z
EPSS history
Timeline
  • 20 JUL 18:24Z
    Roo Code 3.54.0 Command Injection via Parameter Expansion Parsing
    cvelistv5