Skip to content
MediumVulnerability

CVE-2026-81833: RooCodeInc Roo-Code code injection in optimizeQuery function

Identifier
CVE-2026-81833
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

A flaw in RooCodeInc Roo-Code up to 3.51.1 lets remote attackers achieve code injection through the optimizeQuery function in src/utils/helpers.ts, part of the CodeIndexManager component. A public exploit exists. The maintainer says the project is no longer supported and its repository was archived, so the vulnerability affects only unsupported products.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.