{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-63108","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-07-15T15:45:44.602Z","datePublished":"2026-07-20T18:24:14.583Z","dateUpdated":"2026-07-28T01:05:29.570Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-07-28T01:05:29.570Z"},"title":"Roo Code 3.54.0 Command Injection via Parameter Expansion Parsing","descriptions":[{"lang":"en","value":"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."}],"tags":["x_open-source","unsupported-when-assigned"],"datePublic":"2026-07-18T00:00:00.000Z","problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-184","description":"Incomplete List of Disallowed Inputs","type":"CWE"}]}],"affected":[{"defaultStatus":"affected","vendor":"RooCodeInc","product":"Roo-Code","packageURL":"pkg:github/RooCodeInc/Roo-Code","repo":"https://github.com/RooCodeInc/Roo-Code","versions":[{"status":"affected","version":"0","versionType":"semver","lessThanOrEqual":"3.54.0"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:*","versionEndIncluding":"3.54.0"}]}]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":7.7,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","version":"3.1","baseSeverity":"HIGH","baseScore":8.8,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}}],"references":[{"url":"https://github.com/geo-chen/oss/blob/main/Roo-Code.md","name":"Researcher Disclosure","tags":["technical-description","exploit"]},{"url":"https://www.vulncheck.com/advisories/roo-code-command-injection-via-parameter-expansion-parsing","tags":["third-party-advisory"]}],"credits":[{"lang":"en","value":"George Chen","type":"finder"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"vulncheck"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-20T21:42:38.177300Z","id":"CVE-2026-63108","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-07-20T21:42:44.955Z"}}]}}