Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-30308: n/a

0
Critical
VulnerabilityCVE-2026-30308cvecve-2026-30308
Published: Mon Mar 30 2026 (03/30/2026, 00:00:00 UTC)
Source: CVE Database V5

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/07/2026, 06:44:23 UTC

Technical Analysis

The HAI Build Code Generator includes an automatic command execution feature with two options: 'Execute safe commands' and 'Execute all commands.' The 'safe commands' option relies on a model to classify commands as safe or potentially destructive. Due to prompt injection vulnerabilities, attackers can manipulate the input to cause the model to misclassify malicious commands as safe, thereby bypassing the user approval step and allowing arbitrary command execution. This vulnerability is identified as CWE-94 (Improper Control of Generation of Code). The CVSS 3.1 base score is 9.8, reflecting network attack vector, low attack complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability.

Potential Impact

Successful exploitation allows remote attackers to execute arbitrary terminal commands on the affected system without user approval, potentially leading to full system compromise. The vulnerability affects confidentiality, integrity, and availability of the system. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid enabling the 'Execute safe commands' automatic execution mode or restrict its use to trusted inputs only. Monitoring for suspicious command execution and applying strict input validation where possible may reduce risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-03-04T00:00:00.000Z
Cvss Version
null
State
PUBLISHED

Threat ID: 69cae2bce6bfc5ba1d6c3e39

Added to database: 3/30/2026, 8:53:16 PM

Last enriched: 4/7/2026, 6:44:23 AM

Last updated: 5/14/2026, 3:16:22 PM

Views: 42

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses