# CVE-2026-30312: 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.94%, higher than 80% of CVEs (2026-12-01)
- Published: 2026-03-31T00:00:00.000Z
- Modified: 2026-07-25T11:10:00.100Z
- Weaknesses: CWE-78
- 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

## References

- <https://github.com/necboy/cline-DSAI>
- <https://github.com/Secsys-FDU/LLM-Tool-Calling-CVEs/issues/9>

## Sources

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

---

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