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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-81833— RooCodeInc Roo-Code CodeIndexManager helpers.ts optimizeQuery code injection

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.

在 RooCodeInc 的 Roo-Code(版本最高至 3.51.1)中发现了一个安全漏洞。该漏洞影响组件 CodeIndexManager 中文件 src/utils/helpers.ts 里的 optimizeQuery 函数。对受影响函数进行操纵可导致代码注入。该漏洞可被远程利用,且相关利用方式已向公众披露,可用于发动攻击。此前已有多个问题报告提交给了供应商。供应商回应称:“这些问题均涉及 Roo Code,这是一个我们已不再支持的项目——该仓库早已被归档,我们不鼓励任何人继续使用它。” 该漏洞仅影响维护

CVSS 5.5 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-81833

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
RooCodeInc Roo-Code CodeIndexManager helpers.ts optimizeQuery code injection
Source: CVE Program / CVE List V5
Vulnerability Description
A security flaw has been discovered in RooCodeInc Roo-Code up to 3.51.1. Affected by this vulnerability is the function optimizeQuery of the file src/utils/helpers.ts of the component CodeIndexManager. Performing a manipulation results in code injection. Remote exploitation of the attack is possible. The exploit has been released to the public and may be used for attacks. Multiple isses were reported to the vendor beforehand. They explain, that "they all apply to Roo Code, a project we no longer support - the repository was archived a while ago, and we don't encourage anyone to use it." This vulnerability only affects products that are no longer supported by the maintainer.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
RooCodeInc Roo-Code 3.51.0 cpe:2.3:a:roocodeinc:roo-code:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-81833

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-81833

登录查看更多情报信息。

Vendor Advisories for CVE-2026-81833 (1)

Other References for CVE-2026-81833 (3)

Same Patch Batch · RooCodeInc · 2026-08-27 · 5 CVEs total

CVE-2026-81834 6.3 MEDIUM RooCodeInc Roo-Code README File ExecaTerminalProcess code injection
CVE-2026-81837 6.3 MEDIUM RooCodeInc Roo-Code ApplyPatchTool ApplyPatchTool.ts path.resolve path traversal
CVE-2026-81835 5.5 MEDIUM RooCodeInc Roo-Code MCP Integration Trust Model malicious_mcp_server.py fetch_instructions
CVE-2026-81836 3.7 LOW RooCodeInc Roo-Code OAuth Callback oauth.ts cleartext transmission

IV. Related Vulnerabilities

V. Comments for CVE-2026-81833

No comments yet


Leave a comment