CVE-2026-30307: Roo Code's command auto-approval module contains a critical OS command injection vulnerability that renders it
CVE-2026-30307 is a critical-severity flaw (CVSS 9.8) affecting roo code. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 gi
Why this priority
- Critical severity
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.2% (top 32%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2026-03-30 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-30307?
roo code: upgrade to newer than 3.46.1. Exact commands for each OS are on this page.
Is CVE-2026-30307 being exploited?
CVE-2026-30307 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-30307 affect?
CVE-2026-30307 affects roo code. Severity is critical (CVSS 9.8). 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 structure
How urgent is CVE-2026-30307?
Priority 59/100. Critical severity; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-110205 HIGH 8.8 UPGRADE Roo Code through 3.54.0 contains a command approval bypass vulnerability in parseCommandLine() that discards c
- CVE-2026-110206 HIGH 8.8 UPGRADE Roo Code through 3.54.0 contains a command approval bypass vulnerability in parseCommandLine() that allows att
- CVE-2026-110202 HIGH 8.8 UPGRADE Roo Code through 3.54.0 contains a command approval bypass vulnerability in getCommandDecision() that allows a
- CVE-2026-110203 HIGH 8.8 UPGRADE Roo Code through 3.54.0 contains a command approval bypass vulnerability that allows attackers to auto-approve
- CVE-2026-110204 HIGH 8.8 UPGRADE Roo Code through 3.54.0 contains a command approval bypass vulnerability that allows attackers to run denied s