RooCodeInc Roo-Code CodeIndexManager helpers.ts optimizeQuery code injection
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| RooCodeInc | Roo-Code | 3.51.0; 3.51.1 | — | No fix listed | CNA |
- Roo-Code VendorRooCodeInc Affected 3.51.0; 3.51.1 Fixed in — No fix listed CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:roocodeinc:roo-code:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:roocodeinc:roo-code:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-81833
- 2026-10-03 Alias added: GHSA-88j7-xhq4-rhh3
References
More RooCodeInc vulnerabilities
- TI-2026-73422 Auto-approve bypass in Roo-Code via glob and command substitution CVSS 4.0HIGH 7.7
- TI-2026-73421 Auto-approve bypass in Roo-Code runs denied shell commands CVSS 4.0HIGH 7.7
- TI-2026-73419 Auto-approve bypass in Roo-Code via redirect operator stripping CVSS 4.0HIGH 7.7
- TI-2026-56894 Roo-Code 3.54.0 Auto-Approve Bypass via Shell Parser Word-Boundary Mismatch CVSS 4.0HIGH 7.7
- TI-2026-45057 Roo Code 3.54.0 Command Injection via Parameter Expansion Parsing CVSS 4.0HIGH 7.7
- TI-2025-34186 Roo Code Lacks Line Break Validation in its Command Execution Tool CVSS 3.1HIGH 7.8
Sources
- CVE-2026-81833 · CVE Program
- CVE-2026-81833 · NVD
- FIRST EPSS
- GHSA-88j7-xhq4-rhh3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences