Roo-Code potential remote code execution via auto-execute command parsing flaw
Published Aug 22, 2025
8.1
HIGHCVSS 3.1
EPSS 0.75%
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.
Affected products
-
- Version < 3.25.5StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| RooCodeInc | Roo-Code | n/a |
|
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
YesTechnical Impact
TotalDecision
n/aAssessed Aug 22, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2025–2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (3 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.75% (0.00747) | 53.18th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.70% (0.00703) | 48.25th | v5 (v2026.06.15) |
| Aug 23, 2025 | 0.07% (0.00072) | 22.32th | v4 (v2025.03.14) |
References (2)
- https://github.com/RooCodeInc/Roo-Code/commit/de359a465c67aefc67553aa2b464591b602c4bdc x_refsource_MISC
- https://github.com/RooCodeInc/Roo-Code/security/advisories/GHSA-wrh9-463x-7wvv x_refsource_CONFIRM
| Link | Providers | Tags |
|---|---|---|
| https://github.com/RooCodeInc/Roo-Code/commit/de359a465c67aefc67553aa2b464591b602c4bdc | x_refsource_MISC | |
| https://github.com/RooCodeInc/Roo-Code/security/advisories/GHSA-wrh9-463x-7wvv | x_refsource_CONFIRM |
Change history (0)
No recorded changes yet.