# CVE-2025-58371: Roo Code is vulnerable to command injection via GitHub actions workflow

- Severity: Critical 9.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.66%, higher than 77% of CVEs (2026-12-01)
- Published: 2025-09-05T22:42:59.876Z
- Modified: 2026-09-30T23:10:00.237Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- RooCodeInc Roo-Code: < 3.26.7
- roocode roo_code: before 3.26.7

## Every score

- GitHub_M: CVSS:4.0 9.9 Critical `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: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/RooCodeInc/Roo-Code/security/advisories/GHSA-xr6r-vj48-29f6> (vendor-advisory)
- <https://github.com/RooCodeInc/Roo-Code/commit/a0384f35d5ae3b7f66506cc62dda25d9bb673f49> (patch)

## Sources

- CVE List: [CVE-2025-58371](https://www.cve.org/CVERecord?id=CVE-2025-58371), CVE Terms of Use, modified 2025-09-08
- NVD: [CVE-2025-58371](https://nvd.nist.gov/vuln/detail/CVE-2025-58371), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2025-58371 · Whole record: https://cve.day/CVE-2025-58371.json · Rebuilt by cve.day 2026-11-25T22:59:04.293Z
