目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2025-53098— Roo Code 命令注入漏洞

一分钟漏洞结论

影响对象
RooCodeInc Roo-Code
利用判断
存在公开或 AI PoC,应优先验证
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Roo Code是Roo Code公司的一款基于AI的自主编码代理。 Roo Code 3.20.3之前版本存在命令注入漏洞,该漏洞源于.roo/mcp.json文件配置允许执行任意命令,可能导致任意命令执行。

CVSS 8.1 · High EPSS 0.67% · P50
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2025-53098 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Roo Code Vulnerable to Potential Remote Code Execution via Model Context Protocol
来源: CVE Program / CVE List V5
Vulnerability Description
Roo Code is an AI-powered autonomous coding agent. The project-specific MCP configuration for the Roo Code agent is stored in the `.roo/mcp.json` file within the VS Code workspace. Because the MCP configuration format allows for execution of arbitrary commands, prior to version 3.20.3, it would have been possible for an attacker with access to craft a prompt to ask the agent to write a malicious command to the MCP configuration file. If the user had opted-in to auto-approving file writes within the project, this would have led to arbitrary command execution. This issue is of moderate severity, since it requires the attacker to already be able to submit prompts to the agent (for instance through a prompt injection attack), for the user to have MCP enabled (on by default), and for the user to have enabled auto-approved file writes (off by default). Version 3.20.3 fixes the issue by adding an additional layer of opt-in configuration for auto-approving writing to Roo's configuration files, including all files within the `.roo/` folder.
来源: 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
来源: CVE Program / CVE List V5
Vulnerability Type
在命令中使用的特殊元素转义处理不恰当(命令注入)
来源: CVE Program / CVE List V5
Vulnerability Title
Roo Code 命令注入漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Roo Code是Roo Code公司的一款基于AI的自主编码代理。 Roo Code 3.20.3之前版本存在命令注入漏洞,该漏洞源于.roo/mcp.json文件配置允许执行任意命令,可能导致任意命令执行。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
RooCodeInc Roo-Code < 3.20.3 -

二、漏洞 CVE-2025-53098 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 已实测靶场 高级
Qwen3.6-35B-A3B · 6353 chars
Pro+ 专属包含:
漏洞复现靶场录像(真实沙箱构建 + 触发,独家)
漏洞原理深度分析
触发条件与影响面
完整可执行 POC 代码
利用链与缓解建议
POC 打包下载
每月 100+ 条 AI 生成额度

三、漏洞 CVE-2025-53098 的情报信息

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

CVE-2025-53098 补丁与修复 (1)

CVE-2025-53098 厂商安全公告 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-53098

暂无评论


发表评论