9.9critical
Roo Code is vulnerable to command injection via GitHub actions workflow
- Severity
- 9.9critical CVSS:4.0 by GitHub_M
- Exploit likelihood
- 1.66% (higher than 77% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Roo Code is an AI-powered autonomous coding agent that lives in users' editors. In versions 3.26.6 and below, a Github workflow used unsanitized pull request metadata in a privileged context, allowing an attacker to craft malicious input and achieve Remote Code Execution (RCE) on the Actions runner. The workflow runs with broad permissions and access to repository secrets. It is possible for an attacker to execute arbitrary commands on the runner, push or modify code in the repository, access secrets, and create malicious releases or packages, resulting in a complete compromise of the repository and its associated services. This is fixed in version 3.26.7.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| RooCodeInc Roo-Code | < 3.26.7 | CVE List |
| roocode roo_code | before 3.26.7 | NVD |
All scores
| GitHub_M | 9.9critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:N |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
Roo Code is an AI-powered autonomous coding agent that lives in users' editors. In versions 3.26.6 and below, a Github workflow used unsanitized pull request metadata in a privileged context, allowing an attacker to craft malicious input and achieve Remote Code Execution (RCE) on the Actions runner. The workflow runs with broad permissions and access to repository secrets. It is possible for an attacker to execute arbitrary commands on the runner, push or modify code in the repository, access secrets, and create malicious releases or packages, resulting in a complete compromise of the repository and its associated services. This is fixed in version 3.26.7.
NVD (es)
Roo Code es un agente de codificación autónomo impulsado por IA que reside en los editores de los usuarios. En las versiones 3.26.6 e inferiores, un flujo de trabajo de Github utilizaba metadatos de solicitudes de extracción no saneados en un contexto privilegiado, lo que permitía a un atacante crear una entrada maliciosa y lograr la ejecución remota de código (RCE) en el ejecutor de Actions. El flujo de trabajo se ejecuta con amplios permisos y acceso a los secretos del repositorio. Es posible que un atacante ejecute comandos arbitrarios en el ejecutor, envíe o modifique código en el repositorio, acceda a secretos y cree lanzamientos o paquetes maliciosos, lo que resulta en un compromiso completo del repositorio y sus servicios asociados. Esto se corrige en la versión 3.26.7.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-58371 changed 2025-09-08 | CVE Terms of Use |
| NVD | CVE-2025-58371 changed 2026-09-30 | Public domain |