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

- Severity: High 7.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.92%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-20T18:24:14.583Z
- Modified: 2026-10-24T20:10:00.137Z
- Weaknesses: CWE-184
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- RooCodeInc Roo-Code: up to 3.54.0

## Every score

- VulnCheck: CVSS:4.0 7.7 High `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`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/geo-chen/oss/blob/main/Roo-Code.md> (exploit, technical-description)
- <https://www.vulncheck.com/advisories/roo-code-command-injection-via-parameter-expansion-parsing> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-63108](https://www.cve.org/CVERecord?id=CVE-2026-63108), CVE Terms of Use, modified 2026-07-28
- NVD: [CVE-2026-63108](https://nvd.nist.gov/vuln/detail/CVE-2026-63108), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-63108 · Whole record: https://cve.day/CVE-2026-63108.json · Rebuilt by cve.day 2026-11-25T22:59:29.276Z
