Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-58370— Roo Code: Potential Remote Code Execution via Bash Parameter Expansion and Indirect Reference

Quick assessment

Affected
RooCodeInc Roo-Code
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Roo Code是Roo Code公司的一款基于AI的自主编码代理。 Roo Code 3.26.0之前版本存在操作系统命令注入漏洞,该漏洞源于命令解析逻辑错误,可能导致执行任意命令。

CVSS 8.1 · High EPSS 0.44% · P36

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-58370

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Roo Code: Potential Remote Code Execution via Bash Parameter Expansion and Indirect Reference
Source: CVE Program / CVE List V5
Vulnerability Description
Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Versions below 3.26.0 contain a vulnerability in the command parsing logic where the Bash parameter expansion and indirect reference were not handled correctly. If the agent was configured to auto-approve execution of certain commands, an attacker able to influence prompts could abuse this weakness to execute additional arbitrary commands alongside the intended one. This is fixed in version 3.26.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Roo Code 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Roo Code是Roo Code公司的一款基于AI的自主编码代理。 Roo Code 3.26.0之前版本存在操作系统命令注入漏洞,该漏洞源于命令解析逻辑错误,可能导致执行任意命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
RooCodeInc Roo-Code < 3.26.0 -

II. Public POCs for CVE-2025-58370

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-58370

请登录查看更多情报信息。

Same Patch Batch · RooCodeInc · 2025-09-05 · 4 CVEs total

CVE-2025-58372 8.1 HIGH Roo Code: Potential Remote Code Execution via .code-workspace
CVE-2025-58373 5.5 MEDIUM Roo Code: Symlink-bypass of .rooignore can lead to unintended file disclosure
CVE-2025-58371 Roo Code is vulnerable to command injection via GitHub actions workflow

IV. Related Vulnerabilities

V. Comments for CVE-2025-58370

No comments yet


Leave a comment