CVE-2026-30308
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.
Published:Mar 30, 2026
Last Modified:Apr 8, 2026
EPS:Mar 30, 2026
EPSS Score:0.00085
CVSS Score:9.8
Affected Products
Vendor
Product
Action
Vendor
Presidio
Product
Hai Build
Presidio
Hai Build
Vendor
Presidio-oss
Product
Hai Build
Presidio-oss
Hai Build
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
