# CVE-2026-30313: DSAI-Cline's command auto-approval module contains a critical OS command injection vulnerability that renders its whitelist security mechan…

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.33%, higher than 71% of CVEs (2026-12-01)
- Published: 2026-03-30T00:00:00.000Z
- Modified: 2026-06-17T10:32:38.640Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

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 malicious_command), 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- cline cline: up to 1.1.2

## References

- <https://github.com/necboy/cline-DSAI> (product)
- <https://github.com/Secsys-FDU/LLM-Tool-Calling-CVEs/issues/9> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-30313](https://www.cve.org/CVERecord?id=CVE-2026-30313), CVE Terms of Use, modified 2026-04-01
- NVD: [CVE-2026-30313](https://nvd.nist.gov/vuln/detail/CVE-2026-30313), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-30313 · Whole record: https://cve.day/CVE-2026-30313.json · Rebuilt by cve.day 2026-11-25T22:59:17.535Z
