CVE-2026-81833RooCodeInc Roo-Code CodeIndexManager helpers.ts optimizeQuery code injection
Updated under an hour ago ()
Does this affect you?
It affects RooCodeInc Roo-Code. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- 5.5 MEDIUM (v3.1, 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
- Weakness (CWE)
- CWE-94, CWE-74
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- VulDB
- NVD analysis
- Deferred
- Record last updated
- Aug 31, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
RooCodeInc Roo-Code roocodeinc:roo-code | 3.51.0; 3.51.1 | CNA record |
References
- https://vuldb.com/vuln/396166vdb-entry, technical-description
- https://vuldb.com/vuln/396166/ctisignature, permissions-required
- https://vuldb.com/cve/CVE-2026-81833third-party-advisory
- https://vuldb.com/submit/864283third-party-advisory
- https://gist.github.com/tchen200311/d77f66ef70c88f7c55c84a3aaeecc100exploit
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.