CVE-2026-81833: Code Injection in RooCodeInc Roo-Code
Description
CVE-2026-81833 is a code injection vulnerability in RooCodeInc Roo-Code versions 3.51.0 and 3.51.1. The flaw exists in the optimizeQuery function within the CodeIndexManager component, allowing remote attackers to inject code. The product is no longer supported or maintained by the vendor, and no official patch or remediation is available. Exploit code has been publicly released, but there are no confirmed reports of active exploitation in the wild. The vulnerability has a medium severity rating with a CVSS score of 5.1.
CVSS v4.0
Score 5.1medium
Affected software
RooCodeInc
Roo-Code
cpe:2.3:a:roocodeinc:roo-code:*:*:*:*:*:*:*:*AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability affects the optimizeQuery function in the src/utils/helpers.ts file of the CodeIndexManager component in RooCodeInc Roo-Code up to versions 3.51.1. It allows remote attackers to perform code injection by manipulating inputs to this function. The vendor has archived the project and does not support it anymore, advising against its use. No official fix or patch has been provided, and the vulnerability remains unmitigated in the affected versions. Public exploit code is available, increasing the risk for users who continue to run these versions.
Potential Impact
Successful exploitation of this vulnerability allows remote attackers to inject and execute arbitrary code within the affected application. This can lead to unauthorized actions, data compromise, or further system compromise depending on the environment where Roo-Code is deployed. Since the product is no longer supported, affected users cannot rely on vendor patches or updates to mitigate this risk.
Mitigation Recommendations
No official fix or patch is available as the vendor has archived the project and does not support it. Users are strongly advised to discontinue use of Roo-Code versions 3.51.0 and 3.51.1. If continued use is necessary, consider isolating the application and applying custom mitigations to limit exposure, but note that no vendor-supported remediation exists.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-08-27T14:49:14.322Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a909d01acd9273b49b2d3c2
Added to database: 08/27/2026, 20:24:33 UTC
Last enriched: 09/07/2026, 15:15:34 UTC
Last updated: 10/11/2026, 06:48:19 UTC
Views: 92
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.