Skip to content
AI AgentHigh

CVE-2026-30308: In its design for automatic terminal command execution, HAI Build Code Generator offers two options:…

Occurred
Mar 30, 2026
Published
Mar 30, 2026
Source
NVD CVE

Summary

In its design for automatic terminal command execution, HAI Build Code Generator 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.

Tags

  • CVE
  • CVE-2026-30308
  • cvss:CRITICAL
  • agent-fail:injection-direct
  • agent-cause:prompt-design

Classification

Category confidence: 95%
Severity confidence: 90%

Rationale: Agent framework vulnerability allows prompt injection to bypass safety controls and execute arbitrary commands.

Classifier: Qwen/Qwen3.5-35B-A3B-FP8

Visit source