RCE in Presidio Hai Build
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.
Vulnerability class: RCE (Remote Code Execution)
EPSS: 0.005 (40.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Presidio Hai_build
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Product)
- cve@mitre.org (Third Party Advisory)
Frequently asked questions
- What is CVE-2026-30308?
- CVE-2026-30308 is a critical-severity vulnerability in Presidio Hai Build, classified under Code Injection. CVSS score: 9.8/10. Published 2026-03-30.
- How severe is CVE-2026-30308?
- Critical severity. CVSS v3 base score is 9.8 out of 10.