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.
Metrics
Affected Vendors & Products
References
History
Fri, 03 Apr 2026 10:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Prompt Injection Enables Arbitrary Command Execution in HAI Build Code Generator | |
| First Time appeared |
Presidio-oss
Presidio-oss hai Build |
|
| Vendors & Products |
Presidio-oss
Presidio-oss hai Build |
Thu, 02 Apr 2026 20:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Auto Command Execution Enables Remote Code Execution via Prompt Injection | |
| Weaknesses | CWE-77 |
Wed, 01 Apr 2026 23:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-94 | |
| Metrics |
cvssV3_1
|
Wed, 01 Apr 2026 02:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Auto Command Execution Enables Remote Code Execution via Prompt Injection | |
| Weaknesses | CWE-77 |
Tue, 31 Mar 2026 03:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| References |
|
Status: PUBLISHED
Assigner: mitre
Published: 2026-03-30T00:00:00.000Z
Updated: 2026-04-01T18:00:06.982Z
Reserved: 2026-03-04T00:00:00.000Z
Link: CVE-2026-30308
Updated: 2026-04-01T17:59:52.782Z
Status : Awaiting Analysis
Published: 2026-03-30T21:17:09.107
Modified: 2026-04-01T19:16:30.133
Link: CVE-2026-30308
No data.