CVE-2026-81833: RooCodeInc Roo-Code CodeIndexManager helpers.ts optimizeQuery code injection

Published Aug 27, 2026
·
Updated

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 Software

1 affected component
RooCodeInc Roo-Code<=3.51.1

Event History

Aug 27, 2026
CVE Published
via MITRE·07:45 PM
Data Sourced
via MITRE·07:45 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

RooCodeInc Roo-Code versions up to and including 3.51.1 are affected. The maintainer states that Roo Code is no longer supported and that its repository has been archived.

2

What does an attacker need to exploit this issue?

The issue is remotely exploitable and involves manipulating the optimizeQuery function in CodeIndexManager. The provided severity vector indicates that the attacker needs low privileges and user interaction.

3

Is exploit code available?

Yes. Public exploit code has been released and may be used in attacks.

4

What should teams do if they still use Roo-Code?

Prioritize removing or replacing Roo-Code, since the affected product is no longer supported by its maintainer. The provided information does not identify a fixed version or an interim mitigation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203