What’s Vulnerable › Vulnerabilities
CVE-2026-30308
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-30 · updated 2026-06-17
- Weakness: CWE-94
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.
Affected products
- Presidio Hai Build: through 3.13.3
References
- https://github.com/Secsys-FDU/LLM-Tool-Calling-CVEs/issues/10
- https://github.com/presidio-oss/hai-build
Get alerted when CVE-2026-30308 or the next vulnerability affects your stack