CVE-2025-65946

Roo Code is Vulnerable to Potential Remote Code Execution via zsh Command Validation Bug

State
Published
Severity
8.1 High
Published
Nov 21, 2025
Updated
Nov 25, 2025
Reserved
Nov 18, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
Roo-CodeRooCodeInc
  • < 3.26.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.