{"id":"CVE-2025-65946","state":"PUBLISHED","title":"Roo Code is Vulnerable to Potential Remote Code Execution via zsh Command Validation Bug","description":"Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Prior to version 3.26.7, Due to an error in validation it was possible for Roo to automatically execute commands that did not match the allow list prefixes. This issue has been patched in version 3.26.7.","publishedAt":"2025-11-21T22:11:12.163Z","updatedAt":"2025-11-25T18:56:33.525Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["RooCodeInc Roo-Code"],"affected":[{"vendor":"RooCodeInc","product":"Roo-Code","versions":[{"version":"< 3.26.7","status":"affected"}]}],"references":["https://github.com/RooCodeInc/Roo-Code/security/advisories/GHSA-hwm7-w97p-4h8p","https://github.com/RooCodeInc/Roo-Code/pull/7667","https://github.com/RooCodeInc/Roo-Code/commit/b50104cc5987ce64f5154309d967ae8c74cfd1f3"],"weaknesses":["CWE-77","CWE-20"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/65xxx/CVE-2025-65946.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-65946","state":"PUBLISHED","datePublished":"2025-11-21T22:11:12.163Z","dateUpdated":"2025-11-25T18:56:33.525Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-11-18T16:14:56.691Z"},"containers":{"cna":{"title":"Roo Code is Vulnerable to Potential Remote Code Execution via zsh Command Validation Bug","descriptions":[{"lang":"en","value":"Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Prior to version 3.26.7, Due to an error in validation it was possible for Roo to automatically execute commands that did not match the allow list prefixes. This issue has been patched in version 3.26.7."}],"affected":[{"vendor":"RooCodeInc","product":"Roo-Code","versions":[{"version":"< 3.26.7","status":"affected"}]}],"references":[{"url":"https://github.com/RooCodeInc/Roo-Code/security/advisories/GHSA-hwm7-w97p-4h8p","name":"https://github.com/RooCodeInc/Roo-Code/security/advisories/GHSA-hwm7-w97p-4h8p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/RooCodeInc/Roo-Code/pull/7667","name":"https://github.com/RooCodeInc/Roo-Code/pull/7667","tags":["x_refsource_MISC"]},{"url":"https://github.com/RooCodeInc/Roo-Code/commit/b50104cc5987ce64f5154309d967ae8c74cfd1f3","name":"https://github.com/RooCodeInc/Roo-Code/commit/b50104cc5987ce64f5154309d967ae8c74cfd1f3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-77","lang":"en","description":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-11-21T22:11:12.163Z"},"source":{"advisory":"GHSA-hwm7-w97p-4h8p","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-11-25T18:56:25.249260Z","id":"CVE-2025-65946","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-11-25T18:56:33.525Z"}}]}}}