CVE-2026-30308: In its design for automatic terminal command execution, HAI Build Code Generator offers two options: Execute s
CVE-2026-30308 is a critical-severity flaw (CVSS 9.8) affecting hai build. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 attac
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 55%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2026-03-30 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-30308?
hai build: upgrade to newer than 3.13.3. Exact commands for each OS are on this page.
Is CVE-2026-30308 being exploited?
CVE-2026-30308 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-30308 affect?
CVE-2026-30308 affects hai build. Severity is critical (CVSS 9.8). 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
How urgent is CVE-2026-30308?
Priority 50/100. Critical severity; Remotely exploitable, no login, no user action