# CVE-2026-30308: In its design for automatic terminal command execution, HAI Build Code Generator offers two options: Execute safe commands and Execute all…

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 49% of CVEs (2026-12-01)
- Published: 2026-03-30T00:00:00.000Z
- Modified: 2026-06-17T10:32:37.850Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- presidio hai_build: up to 3.13.3

## References

- <https://github.com/presidio-oss/hai-build> (product)
- <https://github.com/Secsys-FDU/LLM-Tool-Calling-CVEs/issues/10> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-30308](https://www.cve.org/CVERecord?id=CVE-2026-30308), CVE Terms of Use, modified 2026-04-01
- NVD: [CVE-2026-30308](https://nvd.nist.gov/vuln/detail/CVE-2026-30308), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-30308 · Whole record: https://cve.day/CVE-2026-30308.json · Rebuilt by cve.day 2026-11-25T22:59:17.534Z
