Skip to main content
VulnerabilityPublished

CVE-2025-57771: RooCodeInc Roo-Code · OS Command Injection

Affects RooCodeInc Roo-CodeSource CVE Database V5

0

Not known to be exploited · CVSS 8.1 High : upgrade to 3.25.5 soon.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.25.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Aug 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade RooCodeInc Roo-Code to 3.25.5.

Affected software

ProductAffectedFixed in
RooCodeInc Roo-CodeAffected
  • <3.25.5
Fixed in
  • 3.25.5

AI-suggested

European organizations should immediately verify the Roo-Code versions deployed and upgrade all instances to version 3.25.5 or later, where the vulnerability is fixed. Until upgrades are completed, disable the auto-approved command execution feature to prevent automatic execution of potentially malicious commands. Implement strict input validation and sanitization on any user-submitted prompts or commands interacting with Roo-Code. Restrict access to Roo-Code agents to trusted users and networks to minimize the risk of attacker prompt submission. Monitor logs for unusual command executions or prompt submissions that could indicate exploitation attempts. Incorporate Roo-Code usage policies into security awareness training, emphasizing the risks of enabling auto-approved execution. Additionally, consider isolating development environments or using containerization to limit the impact of any potential compromise. Regularly audit and update third-party tools integrated into development workflows to ensure timely patching of vulnerabilities.

Description

Roo Code is an AI-powered autonomous coding agent that lives in users' editors. In versions prior to 3.25.5, Roo-Code fails to properly handle process substitution and single ampersand characters in the command parsing logic for auto-execute commands. If a user has enabled auto-approved execution for a command such as ls, an attacker who can submit crafted prompts to the agent may inject arbitrary commands to be executed alongside the intended command. Exploitation requires attacker access to submit prompts and for the user to have enabled auto-approved command execution, which is disabled by default. This vulnerability could allow an attacker to execute arbitrary code. The issue is fixed in version 3.25.5.

References

Community reviews

Loading reviews…