CVE-2025-58371: RooCodeInc Roo-Code · OS Command Injection
Affects RooCodeInc Roo-CodeSource CVE Database V5
Not known to be exploited · CVSS 9.9 Critical : upgrade to 3.26.7 as a priority.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 1.5% chance of exploitation in 30 days – higher than 74% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.26.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade RooCodeInc Roo-Code to 3.26.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RooCodeInc Roo-Code | Affected
| Fixed in
|
AI-suggested
European organizations should immediately upgrade Roo-Code to version 3.26.7 or later to remediate this vulnerability. Additionally, organizations should audit their GitHub Actions workflows to ensure that all inputs, especially those derived from external sources like pull request metadata, are properly sanitized and validated before use in privileged contexts. Restrict permissions of GitHub Actions workflows to the minimum necessary, avoiding broad access to repository secrets unless absolutely required. Implement secrets management best practices such as using environment-specific secrets and rotating them regularly. Monitor CI/CD pipeline logs for unusual activity or unexpected command executions. Employ network segmentation and runner isolation to limit the blast radius of potential compromises. Consider implementing runtime detection mechanisms to identify anomalous behavior in CI/CD environments. Finally, educate development teams about the risks of unsanitized inputs in automation workflows and enforce secure coding and DevSecOps practices.
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.