CVE-2026-30307
Last modified
CVE-2026-30307 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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 ...). EPSS estimates a 1.15% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Roocode | Roo Code | <= 3.46.1 |
References
- https://github.com/Secsys-FDU/LLM-Tool-Calling-CVEs/issues/7Third Party Advisory
- https://roocode.com/Product
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-30307?
How severe is CVE-2026-30307?
How do I fix CVE-2026-30307?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-30292An arbitrary file overwrite vulnerability in Docudepot PDF R…8.4
- CVE-2026-30302The command auto-approval module in CodeRider-Kilo contains …10
- CVE-2026-30303The command auto-approval module in Axon Code contains an OS…9.8
- CVE-2026-30304In its design for automatic terminal command execution, AI C…9.6
- CVE-2026-30305Syntx's command auto-approval module contains a critical OS …9.8
- CVE-2026-30306In its design for automatic terminal command execution, Saka…9.8
- CVE-2026-30308In its design for automatic terminal command execution, HAI …9.8
- CVE-2026-30309InfCode's terminal auto-execution module contains a critical…7.8
- CVE-2026-3031Image::EPEG versions through 0.15 for Perl embeds an unsuppo…9.8
- CVE-2026-30310In its design for automatic terminal command execution, Sixt…9.8
- CVE-2026-30311Ridvay Code's command auto-approval module contains a critic…9.8
- CVE-2026-30312DSAI-Cline's command auto-approval module contains a critica…9.8
Are you affected by CVE-2026-30307?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
