CVE-2026-30307
CVE-2026-30307 is a critical-severity vulnerability in Roocode Roo Code with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-94.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- EPSS exploit prediction: 1% (63rd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-17188
- Weakness: CWE-94
- Affected product: Roocode Roo Code
- Published:
- Last modified:
Description
Roo Code's command auto-approval module contains a critical OS command injection vulnerability that renders its whitelist security mechanism completely ineffective. The system relies on fragile regular expressions to parse command structures; while it attempts to intercept dangerous operations, it fails to account for standard Shell command substitution Roo Code (specifically$(...)and backticks ...). An attacker can construct a command such as git log --grep="$(malicious_command)", forcing Syntx to misidentify it as a safe git operation and automatically approve it. The underlying Shell prioritizes the execution of the malicious code injected within the arguments, resulting in Remote Code Execution without any user interaction.
Frequently asked questions
- What is CVE-2026-30307?
- Roo Code's command auto-approval module contains a critical OS command injection vulnerability that renders its whitelist security mechanism completely ineffective. The system relies on fragile regular expressions to parse command structures; while it attempts to intercept dangerous operations, it fails to account for standard Shell command substitution Roo Code (specifically$(...)and backticks ...). An attacker can construct a command such as git log --grep="$(malicious_command)", forcing Syntx to misidentify it as a safe git operation and automatically approve it. The underlying Shell prioritizes the execution of the malicious code injected within the arguments, resulting in Remote Code Execution without any user interaction.
- How severe is CVE-2026-30307?
- CVE-2026-30307 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-30307 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (63rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-30307?
- CVE-2026-30307 affects Roocode Roo Code. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-30307?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2026-30307 have an EU (EUVD) identifier?
- Yes. CVE-2026-30307 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-17188.
- When was CVE-2026-30307 published?
- CVE-2026-30307 was published on 2026-03-30 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:*
More vulnerabilities in Roocode Roo Code
- CVE-2025-58371 — Critical (CVSS 9.8): Roo Code is an AI-powered autonomous coding agent that lives in users' editors. In versions 3.26.6 and below, a Github…
- CVE-2025-65946 — High (CVSS 8.1): Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Prior to version 3.26.7, Due to an…
- CVE-2025-58372 — High (CVSS 8.1): Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Versions 3.25.23 and below contain a…
- CVE-2025-58370 — High (CVSS 8.1): Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Versions below 3.26.0 contain a…
- CVE-2025-53536 — High (CVSS 8.1): Roo Code is an AI-powered autonomous coding agent. Prior to 3.22.6, if the victim had "Write" auto-approved, an…
- CVE-2025-53098 — High (CVSS 8.1): Roo Code is an AI-powered autonomous coding agent. The project-specific MCP configuration for the Roo Code agent is…
All CVEs affecting Roocode Roo Code →
Other CWE-94 (Code Injection) vulnerabilities
- CVE-2026-57624 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Blocksy Companion Pro <= 2.1.46 versions.
- CVE-2026-10134 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 allows an attacker to read every secret available to the Langflow process, read…
- CVE-2026-53576 — Critical (CVSS 10.0): Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, the authentication filter…
- CVE-2026-10561 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 has an vulnerability due to an improper isolation of Python execution combined…
- CVE-2026-25470 — Critical (CVSS 10.0): Improper Control of Generation of Code ('Code Injection') vulnerability in ACPT ACPT (Pro) - Custom Post Types Plugin…
- CVE-2026-48836 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Easy Invoice <= 2.1.19 versions.