RCE in Roocodeinc Roo-Code
CVE-2026-81833
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.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L.
Affected products
- Roocodeinc Roo-code — versions 3.51.0, 3.51.1
Weakness classification (CWE)
References
- cna@vuldb.com (exploit)
- cna@vuldb.com (third-party-advisory)
- cna@vuldb.com (third-party-advisory)
- cna@vuldb.com (technical-description, vdb-entry)
- cna@vuldb.com (signature, permissions-required)
Frequently asked questions
- What is CVE-2026-81833?
- CVE-2026-81833 is a medium-severity vulnerability in Roocodeinc Roo-Code, classified under Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection). CVSS score: 5.5/10. Published 2026-08-27.
- How severe is CVE-2026-81833?
- Medium severity. CVSS v3 base score is 5.5 out of 10.