CVE-2026-30304

CRITICAL EPSS 34.9%
Published Mar 27, 20263mo ago · Modified Jun 17, 20262w ago
9.6 CVSS 3.1
Critical
Find Similar
Published Mar 27, 2026 3mo ago
Last Modified Jun 17, 2026 2w ago

Description

In its design for automatic terminal command execution, AI Code offers two options: Execute safe commands and execute all commands. The description for the former states that commands determined by the model to be safe will be automatically executed, whereas if the model judges a command to be potentially destructive, it still requires user approval. However, this design is highly susceptible to prompt injection attacks. An attacker can employ a generic template to wrap any malicious command and mislead the model into misclassifying it as a 'safe' command, thereby bypassing the user approval requirement and resulting in arbitrary command execution.

CVSS Details

Base Score
9.6
Exploitability
2.8
Impact
6.0
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Changed
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
34.9% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 1

CWE-20 Improper Input Validation Validation

Affected Products 1

VendorProductVersionRange
tianguaduizhangai_code* ≤3.12.4

References 2

  • github.com https://github.com/Secsys-FDU/LLM-Tool-Calling-CVEs/issues/2
    Issue Tracking
  • marketplace.visualstudio.com https://marketplace.visualstudio.com/items?itemName=tianguaduizhang.claude-dev-china
    Product

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.