CVE-2026-81833
5.1medium
RooCodeInc Roo-Code CodeIndexManager helpers.ts optimizeQuery code injection
- Severity
- 5.1medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| RooCodeInc Roo-Code | 3.51.0, 3.51.1 | CVE List |
All scores
| VulDB | 5.1medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| VulDB | 5.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 5.5medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
Classification
References
| https://vuldb.com/vuln/396166 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/396166/cti | permissions-required, signature | |
| https://vuldb.com/cve/CVE-2026-81833 | third-party-advisory | |
| https://vuldb.com/submit/864283 | third-party-advisory | |
| https://gist.github.com/tchen200311/d77f66ef70c88f7c55c84a3aaeecc100 | exploit | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-81833 changed 2026-08-31 | CVE Terms of Use |
| NVD | CVE-2026-81833 changed 2026-08-31 | Public domain |