---
id: CVE-2025-58371
title: Roo Code is an AI-powered autonomous coding agent that lives in users' editors
summary: >-
  Roo Code is an AI-powered autonomous coding agent that lives in users'
  editors. In versions 3.26.6 and below, a Github workflow used unsanitized pull
  request metadata in a privileged context, allowing an attacker to craft
  malicious input…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
vendor: roocode
product: roo_code
affected:
  - roo_code < 3.26.7
patched:
  - roo_code 3.26.7
published: '2025-09-05'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T23:10:00.237'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-58371'
references:
  - url: >-
      https://github.com/RooCodeInc/Roo-Code/commit/a0384f35d5ae3b7f66506cc62dda25d9bb673f49
    label: security-advisories@github.com
  - url: >-
      https://github.com/RooCodeInc/Roo-Code/security/advisories/GHSA-xr6r-vj48-29f6
    label: security-advisories@github.com
tags:
  - nvd
  - exploit-available
epss: 0.00804
epssPercentile: 0.55083
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/pvharmo2/gha-lab-d14c91f1bb'
  checkedAt: '2026-09-30T23:30:07.495Z'
exploitAvailable: true
ingestedAt: '2026-09-30T23:29:32.369Z'
---

## Overview

Roo Code is an AI-powered autonomous coding agent that lives in users' editors. In versions 3.26.6 and below, a Github workflow used unsanitized pull request metadata in a privileged context, allowing an attacker to craft malicious input and achieve Remote Code Execution (RCE) on the Actions runner. The workflow runs with broad permissions and access to repository secrets. It is possible for an attacker to execute arbitrary commands on the runner, push or modify code in the repository, access secrets, and create malicious releases or packages, resulting in a complete compromise of the repository and its associated services. This is fixed in version 3.26.7.

## Affected

- `roo_code < 3.26.7`

## Remediation

Upgrade past the affected range:

- `roo_code 3.26.7`
