ZeroDay Brief
CVE-2025-58370

Versions below 3.26.0 contain a vulnerability in the command parsing logic where the Bash parameter expansion and indirect reference were not handled correctly.

CVSS
8.1High
Chance of exploitation (EPSS)
0.44%
Published
Sep 5, 2025
In the news
Not yet
Vendor advisory More from this vendor

What to do

A serious command injection flaw in Roo Code that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.

Action: Apply the vendor's update or follow its advisory.

Affected versions
Roo-code
< 3.26.0

Description

Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Versions below 3.26.0 contain a vulnerability in the command parsing logic where the Bash parameter expansion and indirect reference were not handled correctly. If the agent was configured to auto-approve execution of certain commands, an attacker able to influence prompts could abuse this weakness to execute additional arbitrary commands alongside the intended one. This is fixed in version 3.26.0.

CWE-78

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2025-58370 published (CVSS 8.1) (Sep 5, 2025)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Fri, Sep 5, 2025

  1. CVECVE-2025-58370 published (CVSS 8.1)CVE Program · 23:15 UTC

References 1

  • github.com Vendor Advisory /RooCodeInc/Roo-Code/security/advisories/GHSA-2rm5-cvcm-7592

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”