CVE-2026-30313: Command Injection
DSAI-Cline's command auto-approval module contains a critical OS command injection vulnerability that renders its whitelist security mechanism completely ineffective. The system relies on string-based parsing to validate commands; while it intercepts dangerous operators such as ;, &&, ||, |, and command substitution patterns, it fails to account for raw newline characters embedded within the input. An attacker can construct a payload by embedding a literal newline between a whitelisted command and malicious code (e.g., git log maliciouscommand), forcing DSAI-Cline to misidentify it as a safe operation and automatically approve it. The underlying PowerShell interpreter treats the newline as a command separator, executing both commands sequentially, resulting in Remote Code Execution without any user interaction.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-30313?
The severity of CVE-2026-30313 is critical with a CVSS score of 9.8.
What are the main vulnerabilities associated with CVE-2026-30313?
CVE-2026-30313 is associated with OS command injection and code injection vulnerabilities.
How do I fix CVE-2026-30313?
To fix CVE-2026-30313, it is recommended to update the DSAI-Cline command auto-approval module to the latest patched version.
What systems are affected by CVE-2026-30313?
The affected systems are those running the DSAI-Cline command auto-approval module.
How does CVE-2026-30313 impact security?
CVE-2026-30313 impacts security by allowing attackers to bypass the whitelist security mechanism through command injection.