CVE-2026-30312

OS Command Injection via Newline in DSAI‑Cline Auto‑Approval Module

Published Mar 31, 2026 CVSS 3.1 · 9.8 Critical EPSS 1.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title OS Command Injection via Newline in DSAI‑Cline Auto‑Approval Module
First Time appeared Necboy
Necboy dsaic-line
Vendors & Products Necboy
Necboy dsaic-line
Type Values Removed Values Added
Title Command Injection Vulnerability in DSAI-Cline Auto-Approval Module
Weaknesses CWE-20
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Command Injection Vulnerability in DSAI-Cline Auto-Approval Module
Weaknesses CWE-20
CWE-78
Type Values Removed Values Added
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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Apr 1, 2026, 6:37 PM
Reserved
Mar 4, 2026, 12:00 AM
Status
Awaiting Analysis
Published
Mar 31, 2026, 3:16 PM
Modified
Jul 25, 2026, 11:10 AM