Skip to main content
VulnerabilityPublished

CVE-2026-30304: Improper Input Validation

Source CVE Database V5

0

Not known to be exploited · CVSS 9.6 Critical.

Data as of 26 Oct 2026, 12:55 UTC

CVSS 3.1 base score
9.6Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

To mitigate CVE-2026-30304, organizations should implement multiple layers of defense beyond relying solely on AI model classification. First, enhance the AI model's training and validation to better detect prompt injection patterns and malicious command structures. Incorporate heuristic and signature-based detection mechanisms to complement AI judgments. Second, enforce strict input validation and sanitization on all commands before execution, rejecting or flagging suspicious inputs regardless of AI classification. Third, restrict the automatic execution feature to minimal privilege environments and avoid running commands with elevated permissions. Fourth, require explicit multi-factor user approval for any command execution that could impact system integrity, even if classified as safe by the AI. Fifth, implement robust logging and monitoring to detect anomalous command execution patterns and enable rapid incident response. Finally, maintain up-to-date software versions and apply patches promptly once available. Organizations should also conduct security reviews of AI-assisted automation workflows to identify and remediate similar risks proactively.

Description

In its design for automatic terminal command execution, AI Code 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.

References

Community reviews

Loading reviews…