Medium severity · published Aug 27, 2026
CVE-2026-81833
RooCodeInc Roo-Code CodeIndexManager helpers.ts optimizeQuery code injection
5.5
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 23% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RO
Roo-Code · RooCodeInc
3.51.0; 3.51.1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-81833
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-81833
gist.github.com
https://gist.github.com/tchen200311/d77f66ef70c88f7c55c84a3aaeecc100
vuldb.com
https://vuldb.com/cve/CVE-2026-81833
vuldb.com
https://vuldb.com/submit/864283
vuldb.com
https://vuldb.com/vuln/396166
vuldb.com
https://vuldb.com/vuln/396166/cti
More from Roo-Code
8.8
CVE-2026-110206
Roo-Code through 3.54.0 Auto-Approve Bypass via Command Substitution at Command Position
8.8
CVE-2026-110205
Roo-Code through 3.54.0 Auto-Approve Bypass via Glob Token Discarding Command Substitution
8.8
CVE-2026-110204
Roo-Code through 3.54.0 Auto-Approve Bypass via Funsub Command Substitution
8.8
CVE-2026-110203
Roo-Code through 3.54.0 Auto-Approve Bypass via Quote Masking Desynchronization
8.8
CVE-2026-110202
Roo-Code through 3.54.0 Auto-Approve Bypass via Redirect Operator Stripping
