RCE in Roocode Roo_code
CVE-2025-58371
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 a…
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.007 (50.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Roocode Roo_code
- Roocodeinc Roo-code — versions < 3.26.7
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
Frequently asked questions
- What is CVE-2025-58371?
- CVE-2025-58371 is a critical-severity vulnerability in Roocode Roo_code, classified under OS Command Injection. CVSS score: 9.8/10. Published 2025-09-05.
- How severe is CVE-2025-58371?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2025-58371 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.