CVE-2026-81833
published medium CVSS 4.0 · 5.1RooCodeInc Roo-Code CodeIndexManager helpers.ts optimizeQuery code injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| RooCodeInc | — | Roo-Code3.51.0 · 3.51.1 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | VulDB · cna | 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 | — |
| 3.0 | 5.5 | medium | VulDB · cna | 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 | — |
| 2.0 | 6.5 | medium | VulDB · cna | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| RooCodeInc | Roo-Code | 3.51.0 (affected)3.51.1 (affected) | VulDB · cna |
Weaknesses
2- CWE-94 Code Injection
- CWE-74 Injection
References
5- https://gist.github.com/tchen200311/d77f66ef70c88f7c55c84a3aaeecc100
- CVE-2026-81833 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-81833
- Submit #864283 | Roo-Code v3.51.1 Code Injection https://vuldb.com/submit/864283
- VDB-396166 | RooCodeInc Roo-Code CodeIndexManager helpers.ts optimizeQuery code injection https://vuldb.com/vuln/396166
- VDB-396166 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/396166/cti
Provider assertions
2VulDB · cna
RooCodeInc Roo-Code CodeIndexManager helpers.ts optimizeQuery code injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ca9b0ee65e15a2ea99a32aaee67714a6527f593c5dcc5e9de6146fa0e28b4b61
- Ingested
- 23 Sep 2026, 09:35:04 UTC
- Source record
- Official CVE record