CVE-2026-30308

CriticalCVSS 9.8/10Last modified Jun 17, 2026

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.

Metrics

CVSS 3.1 9.8/10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Mar 30, 2026
Last modified
Jun 17, 2026
NVD status
Analyzed

Related CVEs from 2026

CVE-2026-303097.8InfCode's terminal auto-execution module contains a critical command filtering vulnerability that renders its blacklist security mechanism cCVE-2026-30319.8Image::EPEG versions through 0.15 for Perl embeds an unsupported version of the Epeg library. Image::EPEG includes Epeg 0.9.0 that was lastCVE-2026-303109.8In its design for automatic terminal command execution, Sixth offers two options: Execute safe commands and Execute all commands. The descriCVE-2026-303119.8Ridvay Code's command auto-approval module contains a critical OS command injection vulnerability that renders its whitelist security mechanCVE-2026-303129.8DSAI-Cline's command auto-approval module contains a critical OS command injection vulnerability that renders its whitelist security mechaniCVE-2026-303139.8DSAI-Cline's command auto-approval module contains a critical OS command injection vulnerability that renders its whitelist security mechaniCVE-2026-303149.8Ridvay Code's command auto-approval module contains a critical OS command injection vulnerability that renders its whitelist security mechanCVE-2026-303327.5A Time-of-Check to Time-of-Use (TOCTOU) race condition vulnerability in Balena Etcher for Windows prior to v2.1.4 allows attackers to escalaCVE-2026-30346.4The OoohBoi Steroids for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the _ob_spacerat_link, _ob_bbad_linCVE-2026-303457.5A zip slip vulnerability in the Admin import functionality of CTFd v3.8.1-18-gdb5a18c4 allows attackers to write arbitrary files outside theCVE-2026-303464.3An open redirect in the /api/google/authorize endpoint of hunvreus DevPush v0.3.2 allows attackers to redirect users to malicious sites via CVE-2026-30355.5GitLab has remediated an issue in GitLab EE affecting all versions from 11.3 before 19.1.7, 19.2 before 19.2.5, and 19.3 before 19.3.1 that,